Gateway: harden singleton lock startup with stale recovery telemetry#29118
Gateway: harden singleton lock startup with stale recovery telemetry#29118cfregly wants to merge 3 commits intoopenclaw:mainfrom
Conversation
Greptile SummaryEnhanced gateway singleton lock startup behavior with comprehensive telemetry and hardened stale-lock recovery. Key improvements:
Code quality:
Confidence Score: 5/5
Last reviewed commit: 4525a5a |
4525a5a to
8d28087
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8d28087940
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Rebased this PR onto current Local re-validation on rebased branch:
Fresh CI run is now in progress. |
8d28087 to
d1c16d6
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
Summary
acquireGatewayLock.AGENTS.local.mdto.gitignoreso local guardrails are never staged.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Security Impact (required)
No)No)No) (existing localhost port probe behavior only)No)No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
pnpm format:check -- .gitignore src/infra/gateway-lock.ts src/infra/gateway-lock.test.ts src/cli/gateway-cli/run-loop.ts src/cli/gateway-cli/run-loop.test.tspnpm test -- src/infra/gateway-lock.test.ts src/cli/gateway-cli/run-loop.test.tspnpm buildExpected
Actual
21/21).Evidence
Attach at least one:
Evidence included via new/updated tests:
src/infra/gateway-lock.test.tssrc/cli/gateway-cli/run-loop.test.tsHuman Verification (required)
What you personally verified (not just CI), and how:
Compatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
3c4533239and4525a5a23.gitignoresrc/infra/gateway-lock.tssrc/infra/gateway-lock.test.tssrc/cli/gateway-cli/run-loop.tssrc/cli/gateway-cli/run-loop.test.tsRisks and Mitigations
AI-assisted: Yes (Codex). Author reviewed resulting code and behavior.
Testing level: Fully tested for touched units + build.