Skip to content

ci: let Coverage UT proceed when old cache producers are missing - #485

Merged
XuPeng-SH merged 1 commit into
mainfrom
codex/coverage-cache-producer-404
Nov 24, 2026
Merged

XuPeng-SH merged 1 commit into
mainfrom
codex/coverage-cache-producer-404

Conversation

@Ariznawlll

Copy link
Copy Markdown
Collaborator

Problem

The MatrixOne production canary failed before scheduling either CS worker: the hosted cache preflight aborted when an old producer run returned HTTP 404.

Change

Only a 404 from the exact MatrixOne producer run being checked is non-fatal. The preflight logs missing run IDs and continues checking other entries. Errors from the revocation registry or approval issuer, explicit revocations, and provenance mismatches remain blocking. The existing worker still independently validates cache sources and does not load unverifiable entries; missing objects build locally. No worker, cache publication, PR trust, routing, or token permission changes.

Verification

  • 39 focused Python tests and actionlint passed.
  • Read-only test against the pinned production catalog and GitHub metadata: the original preflight reproduced 404; the new preflight passed and reported four unavailable producers. The unchanged MTY worker selector excluded the missing entry and retained three compatible approved entries.
  • No production UT rerun yet. After this is merged and MatrixOne pins the merged CI commit, use the existing canary to verify both workers and coverage feedback. Keep this PR unmerged pending review.

@XuPeng-SH
XuPeng-SH merged commit a965971 into main Nov 24, 2026
1 check passed
@XuPeng-SH
XuPeng-SH deleted the codex/coverage-cache-producer-404 branch November 24, 2026 15:29
XuPeng-SH pushed a commit to matrixorigin/matrixone that referenced this pull request Nov 24, 2026
## What type of PR is this?

- [x] Test and CI

## Which issue(s) this PR fixes:

No separate issue. The production failure is recorded in [the #33174
preflight
job](https://github.com/matrixorigin/matrixone/actions/runs/45420083928/job/138537094465).
The implementation was reviewed and merged in
[matrixorigin/CI#485](matrixorigin/CI#485).

## What this PR does / why we need it:

Pin the default-branch Coverage UT entrypoint to the actual merged CI
commit, a96597119b51dab81ede8b084ab44d2427830625. The current pin aborts
both groups before dispatch when a previously reviewed cache producer is
no longer reachable. The new pin allows scheduling in that case; workers
still validate cache provenance and do not consume unverifiable entries.

Only the caller pin changes. Both worker pins, PR trust checks, runner
pools, permissions and cache writes are unchanged.

Validated with actionlint and git diff --check. The [isolated #33174
run](https://github.com/matrixorigin/matrixone/actions/runs/45424603920)
passed the updated preflight with the production CI read credential and
both CS groups entered Coverage UT. This is not a validation of the
main-branch wiring. After review and merge, trigger a fresh #33174 run
and verify both groups and coverage feedback through the default branch.
No four-site rerun needed.
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.

2 participants