Repository navigation
fix(qa): exercise a real config restart boundary - #127285
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 23, 2026, 5:04 PM ET / 21:04 UTC. ClawSweeper reviewWhat this changesThe PR makes the QA restart scenario toggle Regression provenancePossible regression — suspected (failure trace). No predecessor PR is attributed. Merge readinessNo blocking correctness finding: the scenario now mutates a Gateway path that current code explicitly classifies as restart-owned, and restores the prior terminal subtree. This maintainer-authored PR remains necessary because current main lacks these additions; exact-head CI is still in progress. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherQA Lab executes declarative Gateway scenarios that patch configuration, wait for a restart wake message, then verify the same agent session works afterward. This scenario exercises the boundary between configuration mutation, Gateway restart planning, session wake delivery, and cleanup. flowchart LR
A[Saved Gateway config] --> B[QA scenario setup]
B --> C[Apply config patch]
C --> D[Gateway restart planner]
D --> E[Wake marker delivery]
E --> F[Capability probe]
F --> G[Cleanup restores config]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +19, Other +18. Total +37 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the focused QA scenario once the exact head has green required CI, retaining the terminal subtree restoration rather than returning to hot-reload-only mutations. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main classifies the prior scenario's tool/model changes as hot reload, while the PR adds the explicitly restart-owned terminal leaf before waiting for the restart wake marker. Is this the best way to solve the issue? Yes: exercising AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3b1c8f229d9c. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
775260d to
980106d
Compare
|
@clawsweeper re-review Addressed the current-head finding by snapshotting and restoring the complete |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
980106d to
3323855
Compare
|
@clawsweeper re-review Addressed the new current-head merge-patch finding from exact-review artifact run 32508169827: cleanup now distinguishes (1) absent terminal parent → delete parent, (2) present terminal with |
|
🦞🧹 I asked ClawSweeper to review this item again. |
3323855 to
0d3a697
Compare
|
@clawsweeper re-review The prior review misread |
|
🦞🧹 I asked ClawSweeper to review this item again. |
0d3a697 to
48ace49
Compare
|
Merged via squash.
|
Summary
Root cause
config-restart-capability-fliprestoredtools.denyandagents.defaults.mediaModels, but both surfaces now hot reload. The scenario nevertheless waited for a restart sentinel that could never be emitted. Run 32444623691 timed out twice at 360 seconds; Gateway logs show onlyconfig hot reload applied (tools.deny)and no restart.Validation
config-restart-capability-flip, run 32444623691, two 360-second sentinel waits.git diff --checkLOC
No config schema/default or public runtime contract changes.