Skip to content

fix(ci): recover Coverage grant checks and late reservations - #500

Merged
XuPeng-SH merged 5 commits into
mainfrom
codex/coverage-admission-retry
Nov 27, 2026
Merged

XuPeng-SH merged 5 commits into
mainfrom
codex/coverage-admission-retry

Conversation

@XuPeng-SH

@XuPeng-SH XuPeng-SH commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Keep Coverage retries recoverable and preserve OSS and COS checks for eligible release PRs. MatrixOne #33399

  • Reuse the bounded metadata reader before worker admission and redispatch. Missing or unindexed metadata polls at the existing cadence through the recovery window. Transport errors and GitHub throttling retain their backoff. A replacement still requires terminal status for the previous worker.
  • Revoke late ungranted reservations using the verified run, attempt and ticket. Grants require the expected workflow revision.
  • Move the legacy Coverage route for main and 4.2-dev to Shanghai IDC. The release pkg/fileservice job uses make cgo on its clean checkout. It preserves the configured specs and publishes a profile after Go reports passing SDK and streaming-write tests for each provider's fixture. The release report requires that profile and both selected group profiles. The downloader extracts the selected provider artifact by ID directly into the merge directory.

All 127 selected CI tests passed on Linux, including recovery after 40 seconds of 404s and after 60 seconds of delayed identity indexing. Actionlint, the profile compactor and the 69 MatrixOne tests also passed locally. On the current 4.2-dev tip, make cgo succeeded and the actual workflow command rejected malformed provider specs despite a passing Go package result. An offline replay with the pinned download-action code confirmed the old nested layout failed and the new layout merged all three profiles. The replay selected the exact prior-attempt artifact ID from a mixed inventory. Live Shanghai provider access and end-to-end runtime are pending a fresh release run. Workflow check

@XuPeng-SH
XuPeng-SH merged commit f64bda1 into main Nov 27, 2026
1 check passed
@XuPeng-SH
XuPeng-SH deleted the codex/coverage-admission-retry branch November 27, 2026 18:07
XuPeng-SH added a commit to matrixorigin/matrixone that referenced this pull request Nov 27, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [x] Test and CI
- [ ] Code Refactoring

## 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 for `main` and `4.2-dev` uses the same
shared CS queue and Shanghai IDC fallback. Their legacy route also runs
on Shanghai IDC. Eligible `4.2-dev` PRs run OSS and COS checks in a
focused `pkg/fileservice` job 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](matrixorigin/CI#497) · [CI
#498](matrixorigin/CI#498) · [CI
#500](matrixorigin/CI#500)

All 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
after `go test` returned a passing package result. A clean `make cgo`
and 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
main `864bceb`. The four approved S3 fixture blobs match the current
`4.2-dev` tip.

A fresh `4.2-dev` PR 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant