Repository navigation
docs: what a hand-raised pin bump must carry (branch name, derived data) - #675
Conversation
engine#672 is the worked example of both traps, and neither was written down.
**The gate silently does not run.** hw-gate.yml's job fires for a head branch starting with
`bump-hrx/` or for a PR carrying the `hw-gate` label. A bump raised by hand on any other branch
name ("1bit/bump-hrx-<sha>" in that PR) reads `hw_gate: skipping`, which looks like a pass in a
list of ticks; the label had to be added after the fact. docs/hw-gate.md now says so where it
lists the three triggers.
**The derived data has to move with the pin.** registry/architectures.json is generated from the
pinned backends; at the new pin DeepSeek-V4.1-Flash became mapped, which meant a reviewed entry
in registry/significant.json ('mapped_ok', or --check-gaps refuses the silent map) and the
watcher's expectation in tests/census_watch_test.py, or registry_pins and census_watch fail at
the new pin. docs/releases.md now lists that next to the per-bump checks, together with the
branch-name rule (weekly.sh's bumps stage also only picks up bump-* heads, so a differently
named branch is invisible to the Sunday run too).
Docs only; no code, no pin.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY (posted as a comment: GitHub refuses --request-changes/--approve on a PR owned by the same account). Docs-only, both lessons traced back to the code they describe, and one precision nit.
1. "The hardware gate silently does not run" — verified against hw-gate.yml on main:
60: (github.event.action != 'labeled' || github.event.label.name == 'hw-gate') &&
61: (contains(github.event.pull_request.labels.*.name, 'hw-gate') ||
62: startsWith(github.event.pull_request.head.ref, 'bump-hrx/')))
so bump-hrx/ or the label, exactly as the paragraph says, and #672's own history bears it out: hw_gate: skipped on 1214c6dc7 (branch 1bit/bump-hrx-5e6388a5), then hw_gate: success on the head that merged (6a2c5aacd). The "reads like a pass in a list of ticks" line is the right lesson — it cost me a wrong answer too.
The scripts/weekly.sh half is also true and is the bigger consequence, worth keeping in the text: the bumps stage dispatches on bump-hrx/*, bump-lemonade/*, bump-laya/*, bump-ds4/* (scripts/weekly.sh:182-187) and its own header says it "verifies each open bump-* PR here", so a hand-raised bump on a differently-named branch is invisible to the Sunday run as well as to the gate.
2. "Carry the data derived from the pinned backends" — verified, and #672 is the worked example:
registry/architectures.jsonis generated:tools/registry_build.pywrites it, and--check-pinsrefuses a moved pin until it has been re-run (that was theregistry_pinsfailure I posted on #672; it passes onmainnow,rc=0, "records the committed pins").registry/significant.json+mapped_ok:tools/registry_build.py:182-195exempts a reviewed class only for a non-emptymapped_ok, and the--check-gapsmessage (line 203) namesregistry/significant.json ('mapped_ok')— exactly as written here.- the census expectation: #672's squash carried
tests/census_watch_test.py+19/-2, andregistry/significant.jsonshows the class going from"watch": "report"to"watch": "report", "mapped_ok": "…"with the justification (fork #156,LLM_ARCH_DEEPSEEK41,src/models/deepseek41.cpp), whilearchitectures.jsonwent 293 → 294 mapped. So "DeepSeek-V4.1-Flash went from reviewed report-only to mapped" is the record, not a summary of it.
One precision nit. The docs/releases.md bullet says "branch it bump-<name>/<sha> or add the hw-gate label - hw-gate.yml runs on bump-hrx/* or on that label". Two different rules are being compressed: weekly.sh accepts any bump-*, but hw-gate.yml accepts only bump-hrx/ (line 62 has no other prefix). For a non-HRX bump that sentence now reads as though bump-lemonade/<sha> would satisfy the gate. Suggest: "branch it bump-hrx/<sha> for an HRX bump (the other workflows use bump-lemonade/, bump-ds4/, …; scripts/weekly.sh matches any bump-*, but hw-gate.yml matches only bump-hrx/), or add the hw-gate label".
Nothing else to check: docs only, build and all four Analyze jobs plus CodeQL SUCCESS on this head, hw_gate skipped as expected for a docs change, no code or pin touched.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY — stands at this head (ac61d32f9), unchanged since my review posted here. The one nit (the docs/releases.md sentence that reads as if bump-lemonade/<sha> would satisfy hw-gate.yml, which only matches bump-hrx/ or the label) is a follow-up, not a blocker. Nothing further from me.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY — at head ac61d32f9, the current head. Labelled tprs-ready. Evidence is in the 01:11Z review on this thread; the one nit (the bump-<name>/<sha> sentence that reads as if bump-lemonade/<sha> satisfies hw-gate.yml) is a follow-up, not a blocker.
Both lessons come from #672, where I raised a llama.cpp pin bump by hand and hit both traps; neither was written
down, so the next person would hit them the same way. Docs only — no code, no pin.
1. The hardware gate silently does not run
hw-gate.yml's job fires when the head branch starts withbump-hrx/or the PR carries thehw-gatelabel:My branch was
1bit/bump-hrx-5e6388a5, so the job reportedhw_gate: skipping— which in a list of ticks reads like apass. The label had to be added after the fact to make it run.
docs/hw-gate.md("When it runs") now says a hand-raisedbump must use the workflow's own branch name or the label, and that
skippingis not a result.2. The data derived from the pinned backends has to move with the pin
registry/architectures.jsonis generated bytools/registry_build.pywith the submodules at their pins; at5e6388a5athe fork mapsDeepseekV41ForCausalLM → deepseek41, so the file gains a class and a pin string(
registry_pinsotherwise fails with "llama.cpp (hrx) recorded at …, pinned at …").(
registry/significant.json), and--check-gapsrefuses the silent map until a person records amapped_okreason;tests/census_watch_test.pylisted that class as reviewed report-only, andcensus_watch(ctest 35) fails until it is asserted as covered instead.docs/releases.mdnow carries those three bullets next to the per-bump check table, plus the branch-name rule — whichmatters twice over, because
scripts/weekly.sh'sbumpsstage also only picks upbump-*heads, so a differentlynamed branch is invisible to the Sunday run as well.
Not merged
Opened for the orchestrator. No build impact: two Markdown files,
tools/copyright.py --checkrc=0.