Repository navigation
ci: pin coverage workflows to gitlink-aware cache helper - #493
Conversation
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep review of eb29ec6b1fd91075fa7f6c50f759507c68c4aa2b: no blocking findings. All six helper checkouts across the five workflows consistently select the merged #492 revision (7a8cf185), without changing the legacy route, worker contracts, or collection/merge logic. On the exact MatrixOne #33347 checkout, the previous helper failed while generating the native cache key and the new helper produced a stable key with the Sirius gitlink represented by its pinned commit. The 101 local coverage tests, two targeted native cache key tests, and this head's Check Yaml passed.
Rollout is not yet validated: update the MatrixOne default-branch coordinator and both worker references together, then verify both #33347 coverage groups reach UT and publish profiles that are merged in the same run.
## What changed Pin the coverage coordinator and both standby workers to the workflow revision merged in matrixorigin/CI#493. The workers use the helper from matrixorigin/CI#492, which includes each submodule’s pinned commit in the native compile cache key. Both coverage groups for #33347 failed before running tests when the old helper tried to hash the Sirius submodule directory as a file. The pull_request_target coordinator reads the trusted MatrixOne entrypoint from the default branch, so this rollout needs to land on main before a fresh coverage run can exercise the fix. ## Validation Parsed both caller workflows and checked all three calls against the merged upstream YAML, including supplied and required inputs and the helper SHA. git diff --check passed. Approved-by: XuPeng-SH <[email protected]>
Select the merged helper from #492 in all coverage workflow checkouts. This allows native cache configuration to handle the Sirius submodule in matrixorigin/matrixone#33347. The previous helper stopped both coverage groups before unit tests started.
The new helper SHA also includes the intervening private-workspace capacity commit f5daaf4. The workflow edits change only checkout references and the expected pin in the contract test.
Validation included 17 coverage entrypoint tests and 52 standby tests. After merge, MatrixOne can update its default-branch coordinator and worker references to this workflow revision.