test(sweep): make completion-order regression deterministic - #2033
test(sweep): make completion-order regression deterministic#2033seonghobae wants to merge 3 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Exact-head receipt:
No predecessor evidence, bypass, auto-merge, or synthetic status is used. |
|
Exact-head verification receipt for |
|
CodeQL exact-head follow-up: run |
Preserve protected-main base/run receipt binding while moving multilingual wake authority to one post-matrix failed-jobs request. Record live #2033 HTTP 403 reproduction and focused contract evidence.
|
Exact RCA handoff: dispatch run |
|
Restack onto protected
Left Draft. Fresh exact-head checks required. |
Status
Proposed / Draft. This bounded successor preserves the remaining agent-mention sweep test delta from historical #1231 without restacking its conflicted multi-owner branch.
Root cause
list_recent_pull_requestsalready submits bounded repository fetches concurrently and yields withconcurrent.futures.as_completed. The current-main regression instead claimed results remain repository ordered and assertedfirst, secondwithout controlling completion. It therefore tested thread scheduling and contradicted the latency boundary: a completed repository must not wait behind a slow sibling.RED → GREEN
570da463b0ce7f4837727a91557187624a7b37db: introduce a deterministic two-repository fixture that blocksfirstwhile retaining the obsoletefirst, secondexpectation. Production necessarily yieldssecondfirst.de96b8b46143fe63d8fec1929b5739a4babee8c4: assertsecond, first, rename the test to the completion-order contract, and update CHANGELOG, doctoring, anddocs/product-technical-gap-baseline.md.Boundary
Verification authority
Branch was created from protected
main@78a4937c684a54ca8e415822c913742f41c6efc4; both commits are normal descendants. Predecessor-head evidence is not inherited.