Repository navigation
ci: enable Coverage standby for 4.2-dev pull requests - #33399
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
This pull request is merged. |
23d0a79 to
53c1bb7
Compare
|
mo-bot review · Commit: "interrupted" |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: a907941085ade8aa9a8c910c7c29881f047b45d0
Assessment: approve
The 4.2-dev opt-in reuses the existing coverage dispatcher and CS/Shanghai workers with a consistent companion revision. The prior review’s routing conclusions remain supported, and the updated companion pin was reviewed and validated separately. No actionable defects were found.
Model: gpt-6.1-terra / max
Session: 01a21d47-1533-7fb1-84e0-377223542f45 · slot 0 · generation 25
Validation:
-
68 Node routing, identity and cancellation tests passed: node-contracts.log and checks/1795793222220567249-3.json.
-
103 Python tests passed against companion revision dba6695aaa8d55c7071ef7af90a04c29c4435b54: companion-python-tests.log and checks/1795793418946197875-3.json.
-
The cross-repository retry and cancellation contract passed: pinned-contract-test.log and checks/1795793419230834877-3.json.
-
All four approved release fixture blobs matched their frozen source tree: release-fixture-blobs.log and checks/1795793582083547263-3.json.
-
Preflight and git diff --check passed. The frozen CI snapshot also reports successful pinned-contract and identity-marker checks.
-
The default-branch routing is consistent with GitHub’s documented pull_request_target behavior: https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target
Limitations:
-
A live 4.2-dev run covering both standby groups, the restricted-account S3 smoke and a failed-only rerun was not available in the supplied evidence.
-
The PR’s two coverage group jobs were still in progress in the frozen CI snapshot and are not counted as passes.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: f06640a7ef2b6a182cfb324ac22eb42e94ae4bfa
Assessment: approve
The 4.2-dev opt-in reuses the existing coverage dispatcher and workers. The new companion pin has the same Git tree as the previously reviewed revision, and the advanced target branch does not alter the affected CI files. No actionable defects were found.
Model: gpt-6.1-terra / max
Session: 01a21d47-1533-7fb1-84e0-377223542f45 · slot 0 · generation 25
Validation:
-
68 Node routing, identity and cancellation tests passed: node-contracts.log and checks/1795794529887491344-3.json.
-
103 Python tests passed against companion revision b6918ac5f423a32c610ddef8842bceddc2bd6f5d: companion-python-tests.log and checks/1795794529957668380-3.json.
-
The pinned cross-repository retry and cancellation contract passed: pinned-contract.log and checks/1795794529787423821-3.json.
-
The new and previously reviewed companion commits have identical trees: companion-trees.log and checks/1795794529494483712-3.json.
-
The four release fixture blobs match their referenced frozen commit: release-fixture-blobs.log and checks/1795794582799363750-3.json.
-
git diff --check passed. The frozen CI snapshot reports successful pinned-contract and identity-marker checks.
Limitations:
-
A live 4.2-dev run covering both standby groups, the restricted-account S3 smoke and a failed-only rerun was not available. The PR’s coverage group jobs were still in progress in the supplied snapshot.
-
The supplied evidence does not independently identify the current 4.2-dev tip, so the claim that its fixture blobs still match was not verified.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 2d85f47a797cc79857ad4f0a479f3b1c665b06ae
Assessment: request_changes
The 4.2-dev route reuses the existing coverage dispatcher and workers, but the new companion pin shortens recovery from transient errors during failed-group reruns. Earlier approvals covered older companion revisions and do not establish this behavior.
Model: gpt-6.1-terra / max
Session: 01a21d47-1533-7fb1-84e0-377223542f45 · slot 0 · generation 25
- P2
.github/workflows/entrypoint.yaml:143: A failed-group rerun checks its previous worker while the Actions attempt-metadata endpoint returns HTTP 404 for 40 seconds.
Impact: The pinned selector gives up after 35 seconds and fails the rerun without dispatching a replacement, although the prior implementation successfully retries at 40 seconds. This affects main PRs as well as the newly enabled 4.2-dev route.
Evidence: In companion revision ebde1c76, scripts/coverage_standby.py:615-636 uses exponential delays of 5, 10 and 20 seconds, then rejects the next 30-second delay because it reaches the 65-second previous-grant deadline. The retained retry-window-probe.log demonstrates the failure against the prior pin, with a 20-second recovery control passing on both revisions. Preserve the previous retry horizon for temporarily unavailable or unindexed worker metadata while respecting server-imposed retry delays.
Validation:
-
69 Node routing, identity, cancellation and pinned cross-repository contract tests passed; node-contracts.log and checks/1795796787988385873-3.json.
-
103 selected companion Python tests passed against ebde1c76; companion-tests.log and checks/1795796787661624724-3.json.
-
The baseline-versus-candidate retry probe reproduced the regression; retry-window-probe.log, checks/1795797069337479122-3.json and baseline provenance checks/1795796971423428697-3.json.
-
All four approved release fixture blobs matched their referenced frozen commit; release-fixture-blobs.log and checks/1795797006709009739-3.json. git diff --check passed in checks/1795796787577209663-3.json.
Limitations:
-
A live 4.2-dev run, restricted S3 smoke and failed-only rerun were unavailable; both coverage groups were still in progress in the supplied CI snapshot.
-
The supplied evidence does not independently identify the current 4.2-dev tip, so the fixture match was verified against its pinned commit only.
-
The PR states that the current companion pin is the CI #500 head and will be updated after that change merges; this assessment applies to ebde1c76.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: e6eb3638c9bc62fdcad7b04f6e040a966329d527
Assessment: request_changes
The previously reported 404 retry regression is fixed, but the newly pinned companion workflow cannot merge the release-storage profile on eligible 4.2-dev coverage runs. The design reuses the existing dispatcher and worker pools; a separate storage job is needed because those workers do not receive the OSS and COS configurations.
Model: gpt-6.1-terra / max
Session: 01a21d47-1533-7fb1-84e0-377223542f45 · slot 0 · generation 25
- P1
.github/workflows/entrypoint.yaml:143: An eligible 4.2-dev PR reaches the coverage merge after both coverage groups and the release-storage job succeed.
Impact: The merge cannot find the downloaded storage profile, so the coverage workflow fails and the required CI check blocks the PR.
Evidence: The pinned companion workflow downloads the profile by artifact ID into raw/release-storage without setting merge-multiple. The pinned download action therefore extracts it beneath an artifact-name subdirectory, while the merge step reads raw/release-storage/ut-coverage.out directly. artifact-layout-final.log reproduces the failure using the action's compiled implementation with a mocked artifact service and the companion's merge script; setting merge-multiple to true passes the control. Fix the companion download layout, update the pin, and cover that layout in the existing contract test.
Validation:
-
The isolated-test preflight passed. The 69 selected Node routing, identity, cancellation, and pinned-contract tests passed; see node-contracts.log and checks/1795801097320488981-3.json.
-
113 selected companion Python tests passed against 0441134e; see companion-tests.log and checks/1795801097508958493-3.json.
-
The artifact-layout probe reproduced the failing default and passing flattened control; see artifact-layout-final.log and checks/1795801451148201865-3.json.
-
The 404 retry probe passed at 20 and 40 seconds on both the target baseline and current companion. The four release fixture blobs matched their pinned source tree and companion allowlist.
-
All 13 discussion entries are reconciled in discussion-assessment.json. The assigned source checkout and inspected dependency checkouts remained clean.
Limitations:
-
The artifact probe mocks the artifact service; it does not run a live GitHub Actions workflow. The supplied CI snapshot had both coverage groups still in progress.
-
Live Shanghai OSS and COS checks and a failed-only 4.2-dev rerun were unavailable. The assessment applies to companion revision 0441134e; the PR states that it plans to repin after the companion change merges.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 8f068061a3b7ab2519b1cd45384e37277ada09fa
Assessment: approve
The new companion pin fixes the release-profile download layout, and the earlier 404 retry regression remains fixed. The change retains the existing dispatcher and worker pools, with a separate provider-coverage job for the release branch. No actionable findings remain.
Model: gpt-6.1-terra / max
Session: 01a21d47-1533-7fb1-84e0-377223542f45 · slot 0 · generation 25
Validation:
-
The pinned download action replay reproduced the old nested-layout failure and passed with the current workflow’s flattening option; see artifact-layout.log and checks/1795802846490743670-2.json.
-
All 69 selected Node routing, identity, cancellation, and pinned-contract tests passed; see node-contracts.log and checks/1795802846741193919-2.json.
-
All 113 selected companion Python tests passed against 0d217341; see companion-tests.log and checks/1795802847003796330-2.json.
-
The selector and worker inputs underlying the prior 404 retry verification are unchanged. All four approved fixture blobs match the pinned fixture and release commit 96e18ab.
-
All 15 discussion entries are reconciled in discussion-assessment.json. The source and inspected dependency checkouts remained clean.
Limitations:
-
The artifact replay mocks the artifact service; it is not a live GitHub Actions run. The supplied CI snapshot had both coverage groups still in progress.
-
Live Shanghai OSS and COS checks and a failed-only 4.2-dev rerun were unavailable. The fixture comparison establishes the contents of release commit 96e18ab, not the current branch tip.
-
The assessment applies to companion revision 0d217341; the PR states that it plans to repin after the companion change merges.
What type of PR is this?
Which issue(s) this PR fixes:
Related to #33177 and #33176.
What this PR does / why we need it:
Enable the existing Coverage standby opt-in from the default-branch workflow for PRs targeting exactly
4.2-dev. Pin the dispatcher, both shared workers and the contract to a single CI revision with the approved release fixture, bounded retries for transient metadata reads, the selection deadline, and cleanup of accepted workers whose dispatch receipts arrive late. Coverage formainand4.2-devuses the same shared CS queue and Shanghai IDC fallback. Their legacy route also runs on Shanghai IDC. Eligible4.2-devPRs run OSS and COS checks in a focusedpkg/fileservicejob on Shanghai IDC. The job requires passing SDK and streaming-write tests for each provider's fixture before publishing its profile. The release report requires that profile and both selected group profiles. The selected OSS/COS artifact is downloaded by ID and extracted directly into the merge directory. The branch also includes the #32922 site-retry opt-in from #33401. CI #497 · CI #498 · CI #500All 69 Node tests passed against the current CI pin. The cross-repository contract recovers HTTP 503 during result polling and the prior-grant check, then dispatches one replacement and preserves other workers. The 127 Linux tests cover recovery after 40 seconds of HTTP 404 and 60 seconds of indexing delay. On release commit
96e18ab, the actual provider workflow command rejected malformed provider configs aftergo testreturned a passing package result. A cleanmake cgoand actionlint passed. An offline replay of the pinned download action selected the prior-attempt profile by ID and merged all three profiles using the workflow command.CI #497, #498 and #500 are merged. All four Coverage references use CI main commit
f64bda11be08c41efc47705acaa41dfe2795d5f5. Its tree matches the reviewed CI #500 head. The branch is synchronized with MatrixOne main864bceb. The four approved S3 fixture blobs match the current4.2-devtip.A fresh
4.2-devPR run after rollout will verify the live Shanghai OSS and COS checks, the combined profile, and failed-only retries. The Shanghai provider connections and end-to-end runtime have yet to be measured in the new route.