Repository navigation
ci: keep Linux required checks reporting when Linux is unchanged - #363
Conversation
A skipped matrix job posts as 'Linux ${{ matrix.arch }}', so mobile-only
PRs never satisfied the required Linux x64/arm64 and Fedora RPM checks.
Run the Linux job always and gate each step on the linux change area;
skip the RPM job at the job level so it reports under its real name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hermes Review BotConfidence: 5 Engine: SummaryGitHub Actions evaluates matrix dimensions only after a job starts; skipping a matrix job at the job level leaves the matrix unexpanded and posts a single check titled Confidence Score: 5/5The GitHub Actions workflow execution paths, matrix evaluation semantics, step conditions, and policy regression tests were fully traced and verified. 📁 Important Files Changed
FindingsNo findings. Sequence DiagramsequenceDiagram
participant GH as GitHub Actions Engine
participant Changes as changes Job
participant LinuxX64 as Linux x64 Runner
participant LinuxARM as Linux arm64 Runner
participant RPM as linux-rpm Job
participant Status as GitHub Status Checks
GH->>Changes: Run change detection
Changes-->>GH: outputs.linux = 'false'
GH->>LinuxX64: Start matrix job (x64)
GH->>LinuxARM: Start matrix job (arm64)
Note over LinuxX64,LinuxARM: All steps skipped (gate is false)
LinuxX64-->>Status: Report "Linux x64" (success)
LinuxARM-->>Status: Report "Linux arm64" (success)
GH->>RPM: Evaluate if (outputs.linux == 'true')
RPM-->>Status: Report "Linux x64 · Fedora RPM" (skipped)
[]
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes in the Linux required-check reporting workflow and its CI-policy coverage, including the active branch ruleset and GitHub Actions skip semantics.
- Matrix check reporting: Linux x64 and arm64 jobs now expand even when Linux is unchanged, with ordinary steps gated on the Linux area output and x64-only work retaining its architecture condition.
- Fedora gating: The fixed-name RPM job directly depends on changed-area detection and skips when Linux is unselected, avoiding a missing-artifact download.
- Policy coverage: Workflow assertions reflect the new gating.
npm run test:ci-policypassed all 55 tests locally. Full hosted CI was still running; its Linux-selected path does not exercise the non-Linux no-op case.
gpt-6.1-sol | 𝕏

Mobile-only PRs stay BLOCKED forever: the
linuxmatrix job is skipped at the job level, so GitHub posts it asLinux ${{ matrix.arch }}and the requiredLinux x64,Linux arm64andLinux x64 · Fedora RPMchecks never report.linuxnow always starts; every step is gated onneeds.changes.outputs.linux == 'true', so an unrelated PR finishes in seconds under the real check names. Linux-relevant PRs and main pushes run exactly as before.linux-rpmneeds[changes, linux]and skips at the job level (non-matrix, so the skip posts under its real name).check-ci-policy.test.mjsasserts the new invariant on the parsed workflow.npm run test:ci-policy: 55 pass.🤖 Generated with Claude Code