Skip to content

ci: per-PR Alpha vms.ko modpost smoke check (vms-5af) - #848

Open
baron-3dl wants to merge 1 commit into
mainfrom
work/vms-5af-alpha-modpost-smoke
Open

ci: per-PR Alpha vms.ko modpost smoke check (vms-5af)#848
baron-3dl wants to merge 1 commit into
mainfrom
work/vms-5af-alpha-modpost-smoke

Conversation

@baron-3dl

Copy link
Copy Markdown
Contributor

Closes the arch-convergence hole (vms-1d6) that let #835/vms-0cd red the whole Alpha runtime lane for a day: its tracepoint use broke ONLY the Alpha vms.ko cross-build (undefined tracepoint_probe_register/for_each_kernel_tracepoint on Alpha), and because the heavy Alpha gates (alpha-boot-login, alpha-syssvc-suite) are schedule-only, it slipped past the PR wall and only surfaced in the nightly (fixed in #847).

New job alpha-vmsko-modpost-smoke — runs on every PR touching the kernel paths (needs.changes.outputs.kernel: src/kernel/**, src/kernel-core/**, src/libvms/syssvc/**) and on push/schedule:

  • Cross-builds the Alpha vms.ko and asserts modpost is clean (RESULT vms.ko: BUILT) — the grep is the gate, because build-vmsko-alpha.sh exits 0 even on a vms.ko FAILED.
  • NO qemu boot — the ~25-min boot stays in the nightly alpha-boot-login gate. This is the cheap half.
  • The kernel build is gha-cached keyed on the build script + patches (not the module source), so a src/kernel change is a cache hit and only vms.ko + modpost re-run — a few minutes after the first run.

Would have caught #835 at PR time. Verified locally: the assertion PASSes on a real BUILT log and FAILs on a FAILED log; the workflow YAML parses and the job gates on the existing changes.kernel output.

🤖 Generated with Claude Code

The heavy Alpha gates (alpha-boot-login, alpha-syssvc-suite) are schedule-only,
so a shared kernel-core TU that breaks ONLY the Alpha vms.ko cross-build slips
past the PR wall and reds the whole Alpha runtime lane until the nightly catches
it -- exactly what vms-0cd/#835's tracepoint use did (undefined tracepoint_probe_
register on Alpha; fixed in #847). This is the arch-convergence hole (vms-1d6).

New job alpha-vmsko-modpost-smoke runs on every PR that touches the kernel paths
(needs.changes.outputs.kernel: src/kernel/**, src/kernel-core/**, src/libvms/
syssvc/**) and on push/schedule: cross-build vms.ko + assert modpost is clean --
NO qemu boot (that stays in the nightly boot-login gate). The kernel build is
gha-cached keyed on the build script + patches (NOT the module source), so a
src/kernel change is a cache hit and only vms.ko + modpost re-run (a few min).
The grep assertion -- not the exit code -- is the gate, because build-vmsko-
alpha.sh exits 0 even on a vms.ko FAILED.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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