Repository navigation
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Contributor
Author
|
Closing as superseded by #139820, merged as d56a297. Current main already waits for the client-visible marker inside the existing queue-settlement wait, fixing the observed CI race while retaining the provider, queue, and durable-status assertions. The remaining differences here do not address a separate reproduced failure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The session-delivery clock-jump integration test could observe an empty durable queue and immediately check the Gateway client before its chat event arrived. CI hit that boundary with one successful provider request but an empty client event buffer.
Why This Change Was Made
Wait for queue removal, the client-visible reply, and durable completion together under the existing 15-second wait. Queue settlement does not acknowledge client receipt.
User Impact
Test-only repair: exactly-one-provider-request and prompt checks, the real scheduler/Gateway/client, clock-jump sequence, 90-second case timeout, and cleanup remain unchanged. No production changes, new mocks, or longer deadlines.
Evidence
The original failure is CI job 101433311322, at the immediate client marker assertion. The original local baseline and repaired real Gateway test both passed; no local failing reproduction is claimed. The canonical changed gate and independent P2 review passed on the original repair.
Rebased as one commit onto main
e19a7694cef6d38140033f798215103dd638fafb; the full-index patch and test bytes are identical to the reviewed repair. The direct queue/client-delivery owners are unchanged, but main updated dependencies. Frozen dependencies were refreshed in the task-owned worktree; the fresh real Gateway test passed onc502c952f9e05cb5e949300a763ca90f49e02447(one test, 68.66s).Production LOC: 0. Tests: +5/−4.