Skip to content

fix(gateway): reset stale runtime status on startup - #6

Merged
f-trycua merged 1 commit into
mainfrom
codex/reset-stale-platform-status
Aug 22, 2026
Merged

f-trycua merged 1 commit into
mainfrom
codex/reset-stale-platform-status

Conversation

@f-trycua

Copy link
Copy Markdown

What changed

  • reset process-scoped runtime status when a new gateway process starts
  • prevent stale fatal adapter entries, active-agent counts, and restart flags from surviving a restart
  • cover the process-identity transition in the gateway status suite

Verification

  • scripts/run_tests.sh tests/gateway/test_status.py tests/gateway/test_profile_resolution.py
  • uv run ruff check gateway/status.py tests/gateway/test_status.py
  • 68 focused tests passed

Observed during the multi-bot Slack deployment: the new process connected only the default Slack adapter, but gateway_state.json still exposed duplicate-credential failures written by its predecessor.

@github-actions

github-actions Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

૮ >ﻌ< ა ci review

ran on 0dafca4 — fix(gateway): reset stale runtime status on startup

⚠️ Warnings

OSV vulnerability scan · View job

5 known vulnerabilities found in pinned dependencies.

How to fix:

Review the findings in the Security tab. Update the affected dependencies if a patched version is available.


debug info

CI timings

CI timings · View report · View job

Wall time 3m6s vs 3m16s (-5.1%). 12 job(s) slower, 10 faster, 2 unchanged.

  • Python tests / Run tests slice 2/12: -48.0s
  • Python tests / Run tests slice 11/12: -45.0s
  • Python tests / Run tests slice 3/12: -33.0s
  • OS-specific tests / Windows-only tests: -30.0s
  • Python tests / Run tests slice 6/12: +12.0s

@f-trycua
f-trycua merged commit 4149ad5 into main Aug 22, 2026
44 checks passed
@f-trycua
f-trycua deleted the codex/reset-stale-platform-status branch August 22, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant