Repository navigation
os: the release check names only the hardware rows that actually skipped - #814
Conversation
On the 2026-11-02 c20 live boot four of the five hardware-only rows (gpu, npu, models, chat-hrx) PASSED on the board, and the PASS footer still printed 'Hardware-only rows (SKIP here): gpu, npu, models, chat-hrx, chat-npu'. That sentence is the release evidence file's own summary of the run, so it claimed the rows that were the point of the test were skipped. skip() now records which of those five rows skipped and the footer names exactly those; a boot where none of them skipped prints no footer, and the VM case (all five skip) prints the previous line verbatim.
PR Reviewer Guide 🔍(Review updated until commit 49c26d2)Here are some key observations to aid the review process:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY at 01a9fbe (tprs-ready applied)
Ran it rather than read it. The footer now names only what actually skipped:
bash -n os/mini/release-check.sh→ rc 0;python3 tools/copyright.py --check→ rc 0.os/mini/release-check.sh --self-test→release-check self-test PASS, rc 0.- The footer driven through the real
say/pass/fail/skipdefinitions and the new footer statement, extracted from
the file itself (awk overROWS=0… the end ofskip(), plus the footer line — nothing re-typed), five cases. It
reproduces the body's table exactly:
skips footer
(none) (no line)
secureboot (no line — not a hardware row)
npu chat-hrx Hardware-only rows (SKIP here): npu, chat-hrx - they need the Strix Halo GPU and NPU.
secureboot chat-npu Hardware-only rows (SKIP here): chat-npu - they need … <- the c20 live set
sealed-sig sha256sums
gpu npu models chat-hrx Hardware-only rows (SKIP here): gpu, npu, models, chat-hrx, chat-npu - they need …
chat-npu (the old sentence, verbatim, for the VM case)
- The five
casenames are exactly the rows that callskipunder those names
(os/mini/release-check.sh:279,284,354,402,404,499,501,509,511), so no other row can enter the list. - The bug is in the release lane's own record as well:
TRELEASE-3-STATE.md:5517quotes
Hardware-only rows (SKIP here): gpu, npu, models, chat-hrx, chat-npufrom the 2026-11-02 live boot, in the same
transcript where four of the five PASSed on the board.
Not run, as the body says: a full 1bit-release-check on a booted appliance. The change is confined to the PASS
footer — no row verdict, count or exit code moves — and the VM sentence is byte-identical, which is what the
release-check ctest and the harness above both show.
Branch is one commit behind main (#811, which only adds npu/mtp/*) and this diff touches os/mini/release-check.sh
alone, so an update-branch is safe; say the word after it and I re-confirm at the new head in one line.
|
Persistent review updated to latest commit 49c26d2 |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY at 49c26d2de (post-update-branch head; tprs-ready already on)
49c26d2 is a merge of main 1346398 (#820) into this branch, so I checked the two things that matter after an
update-branch and re-ran the checks at the new head:
- the PR's own change is the same bytes: own diff is still only
os/mini/release-check.sh(+9/−2), and
git diffbetween the file at the head I reviewed (01a9fbe) and at49c26d2is empty; bash -n os/mini/release-check.shrc 0;os/mini/release-check.sh --self-test→release-check self-test PASS,
rc 0;python3 tools/copyright.py --checkrc 0;- footer harness through the file's own
say/pass/fail/skip+ footer statement, on the c20 live skip set
(secureboot chat-npu sealed-sig sha256sums) →Hardware-only rows (SKIP here): chat-npu - they need the Strix Halo GPU and NPU.— i.e. the four hardware rows that PASSed on the board are no longer named as skipped. - CI on this head:
build,CodeQL, all fourAnalyzejobs andpr_agentsuccess,hw_gateskipped (not a
hardware-touching change).mergeStateStatus=CLEAN.
Merge it whenever the waiter is ready; nothing outstanding from me.
What the hardware test caught
The c20 live USB boot on 2026-11-02 reported
RESULT: PASS (19 checks, no failures)— and, in the same transcript,gpu,npu,modelsandchat-hrxall PASSed on the board. The PASS footer then printed:/data/release-check.logis the release evidence file, and it claimed the four rows that are the entire point of ahardware run were skipped. The line was unconditional: written for the VM case, printed on every PASS.
The change
skip()records which of the five hardware-only rows (gpu,npu,models,chat-hrx,chat-npu) skipped, and thefooter names exactly those. Nothing else changes: no row's verdict, no count, no exit code, and the VM case prints the
previous sentence verbatim.
Verified
bash -nclean;tools/copyright.py --checkrc=0.say/pass/fail/skip+ footer code extracted from the file, five cases:no skips → no line ·
securebootonly (not a hardware row) → no line ·npu chat-hrx→npu, chat-hrx·secureboot chat-npu sealed-sig sha256sums(the actual c20 live set) →chat-npu· all five → the old line verbatim.os/mini/release-check.sh --self-test(therelease_check_rowctest) →release-check self-test PASS.Not run: a full
1bit-release-checkon a booted image (it needs the appliance); the fix is confined to the PASS footer.