… of nothing (engine#3023) (#3028)
* serve: a serve_e2e_npu row, so the NPU serve path is a CI row instead of nothing (engine#3023)
`serve_e2e` was registered for two devices only --
foreach(_dev hrx cpu)
add_test(NAME serve_e2e_${_dev} COMMAND tests/serve_e2e.sh … ${_dev})
-- so the NPU serve path had no row in any configure, and engine#3009 (a `--port 0` NPU route announcing
the port it was ASKED for, which made serve_e2e sleep out its 1200-tenths budget and timed out every
`npu` registry row) reached main with CI green on every PR. Nothing in CI would notice a regression
tomorrow either.
The row is registered OUTSIDE the GGUF/HRX guards, which is the point: `serve_e2e_hrx`/`_cpu` live
inside if(ONEBIT_SERVE_TEST_GGUF), so a machine without that cache variable has no row to report a
skip. The NPU route takes a Q4NX PACK DIRECTORY rather than a GGUF, so it gets its own
ONEBIT_SERVE_TEST_NPU_PACK; with none set the script prints why and exits 77, and the row exists in
every configure.
$ cmake -S . -B build # no pack
$ ctest -R ^serve_e2e_npu
1/1 Test #184: serve_e2e_npu ....***Skipped 0.00 sec
$ cmake -S . -B build -DONEBIT_SERVE_TEST_NPU_PACK=~/.config/flm/models/LFM3-1.7B-NPU2 # this box
$ ctest -R ^serve_e2e_npu
1/1 Test #184: serve_e2e_npu .... Passed 38.14 sec
100% tests passed, 0 tests failed out of 1
The passing run is one npu-hold ticket with 0 new IO_PAGE_FAULT lines (10 before, 10 after), and it is
the same script whose own output is `ok npu: /health 200`, `/v1/models names e2e-model`,
`said: Paris`, `33 chunks`, `PASS` -- so the row exercises the assertions, not just the load.
`model=${2:?}` became `model=${2-}` plus an explicit check, because a registration with an empty cache
variable must reach the skip rather than die in parameter expansion; a non-NPU device with no model
still exits 2 with the usage line.
* ci: baseline the new serve_e2e_npu skip, so the census can see it (engine#3023)
The build job failed on the first run, and correctly: `tools/ci/ctest_skips.py` requires every
row that skips in CI to be named in tools/ci/ctest_skips.txt with a reason ("a test that does not
run cannot fail", engine#2876). The new row skips because ONEBIT_SERVE_TEST_NPU_PACK is unset there
-- the same fixture reason as the audio rows -- so it goes in the list with the measurement that
shows it does run where the fixture exists (one npu-hold ticket, `Passed 38.14 sec`, 0 new
IO_PAGE_FAULT lines).
That census is the reason the row is worth having: a row that skips silently is the defect this
issue is about, and a row that skips *and says why in a list someone reviews* is a row whose
absence from a run is visible.
---------
Co-authored-by: bong-water-water-bong <[email protected]>
coder-llm on the Strix Halo box serves Qwen3-Coder-30B-A3B Q4_K_M under the alias
qwen3-coder, the house model (owner's call, 2026-09-28). The workflow,.pr_agent.tomland CONTRIBUTING still namedzaya1-8b. The server answers any model name, so this is naming only: the readiness probe, the review log and the docs now say what actually runs.No permission, trigger or runner change; the workflow diff is the model name and its comment.
Context: #183's review failed with a connection error while coder-llm was restarting during the model switch; it was rerun once the server was up.
🤖 Generated with Claude Code