Repository navigation
test(ci): admit reusable-workflow jobs in the release preflight check - #2741
kaoru0822-kitauji wants to merge 1 commit into
Conversation
d13c9f8 made the release `qualification` job call a reusable workflow, so it declares `uses` and no `steps`. The release checkpoint test parsed every job with required `steps`, so all four preflight cases failed with a ZodError on main and in every PR's boundary shard. Only the inspected release-please and merged-release jobs need steps; make the field optional per job. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
|
Superseded by 747e729 on main, which fixes the same preflight test. Closing. |
|
Thanks, @kaoru0822-kitauji, for finding that the release preflight test rejected unrelated reusable-workflow jobs. Main now validates only the job selected for preflight and keeps the execution checks (main). |
Problem
tests/boundary/filesystem/releaseCheckpoint.test.tsfails onmainat d13c9f8 (reproduced locally). It also fails the boundary shard of open PRs, e.g. #2690 and #2720. All fourthe actual $job preflight admits the next action only for valid metadatacases fail:Cause
d13c9f8 (
ci: reduce redundant compatibility and qualification work) turned the release workflow'squalificationjob into a reusable-workflow call (uses:), so it has nosteps. The test parses.github/workflows/release.ymlwith a schema that requiresstepson every job, although it only reads the steps ofrelease-pleaseandmerged-release.Fix
Make
stepsoptional per job in the test's workflow schema and look up steps with?.. If either inspected job loses its validation step, the test still fails: thez.string().parse(...)of the step'srunrejectsundefined.Validation
releaseCheckpoint.test.ts: 39 passed (4 failed on main).ciRequiredLanes,releaseWorkflow,ciTestReports,ciChangeScope,ciQualification,realGhidraWindowsWorkflow) already pass on main: 175 passed.npm run check:fastpasses.🤖 Generated with Claude Code