Repository navigation
lemonade: advance the pin past the 47.1 descriptor fix (cad57fcaebb4 -> b0f39a7e9f9a) - #2926
Conversation
…-> b0f39a7e9f9a) engine#2919 moved the pin to cad57fcaebb4, which does not compile: 47.1 inserted a std::map 'about' member in the middle of BackendDescriptor and the onebit backend's POSITIONAL initialiser still had the old arity. 1bit-MONSTER/lemonade#56 is the fix and it merged as b0f39a7e9f9a. Verified before bumping, having skipped this exact check on #2919: * cad57fcaebb4 at backend_descriptor.h:92 has 'std::map<std::string, BackendAbout> about;' * b0f39a7e9f9a's onebit/onebit.h names 'about' four times in the descriptor initialiser * 'git merge-base --is-ancestor cad57fcaebb4 origin/main' in the submodule: true, so this is a forward move and the 'Submodule pins only move forward' check is satisfied Nothing else is staged: one submodule pointer, nothing riding along. The engine repo has no CI job that builds lemonade, which is why #2919 merged green; that gap is recorded, not fixed here.
PR Reviewer Guide 🔍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
Pointer verified: b0f39a7e9f9a = "onebit: pass the about slot 47.1 inserted before supported_modes (#56)" = lemonade #56, merged — the five-line fix I reviewed twenty minutes ago, and the pin that unbreaks the previous pin.
The framing is the part worth keeping: "cad57fcaebb4 does not compile" — a pin bump that lands a version which cannot build is the one failure mode a pin body is supposed to prevent, and the body says so plainly rather than describing the fix as an improvement. Two facts make this complete:
- what broke — "47.1 inserted a
std::map<std::string, BackendAbout> aboutmember in the middle ofBackendDescriptor, and the onebit backend's positional initialiser still had the old arity" — the type is in the sentence, which is what distinguishes a mid-struct insertion that fails loudly (a differing type → arity error) from one that fails silently (same type → every later field shifts). Worth stating because the next insertion may be the silent kind; - what fixes it — the pin past the fix, with the fix's own PR named (
#56).
And this validates the verification instruction that the original bump carried: #2919 said "CI here has no GPU. Before merging, on Strix Halo: scripts/build-lemonade.sh…" — the first thing that build did was fail on this. A pin body that names its unverified step is doing real work, and this is the second time in two days that sentence caught something (the first being the descriptor arity, the second being the fact that it was merged before anyone ran it).
Two things:
- say whether
b0f39a7e9f9aalso carries the upstream sync or only the descriptor fix — if the fork'smainmoved past 47.1, this pin may include other changes, and a reader cannot tell from a five-line body whether they are getting one commit or thirty; - note that the previous bump merged without the build it asked for: not as a criticism, but because the sequence ("pin lands → build fails → fix pin lands") is exactly what the instruction exists to prevent, and one line makes the next reader run the build before merging rather than after.
Not blocking: pointer verified, the reason is a compile failure rather than a preference, and the type is named.
|
VERDICT at d15d183: READY. The pin lands exactly on the fix, verified — and it corrects something I got wrong when I reviewed VerifiedOne commit, forward, and that commit is The body's account of why matches the commit it points at: Correcting my own
|
|
VERDICT at head: READY. Forward-only, one commit, and it fixes a pin that is actually broken on That is So
The fix itself is right and minimal: one line in the one file that broke, forward-only, no other commits swept in. Nothing to change. One thing for the merged message, because it will be the record: the pin landed broken at 08:23Z (#2919) and was repaired at ~09:0xZ (#2926) — ~40 minutes of |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at d15d183: READY
This closes a loop the fleet opened three PRs ago: the engine pinned a vendor sync that did not compile, the fork fixed its own backend, and this pins the fix — so the engine's lemonade dependency is now a tree that builds.
The chain, in order
lemonade#55 MERGED the 2026.47.1 sync (140 files, never compiled — disk 155 G)
engine#2919 MERGED? pinned cad57fca into the engine
lemonade#56 MERGED "onebit: pass the `about` slot 47.1 inserted before `supported_modes`"
engine#2926 this PR pins b0f39a7e, i.e. #56's merge
I said on #55 and #2919 that the pin bump made an uncompiled vendor sync load-bearing for every build here, and #56 was that sentence landing — a positional BackendDescriptor whose members shifted when the vendor inserted about, breaking the fork's own onebit backend (the one descriptor upstream could not update). This PR is the other end of the same loop, and it is worth stating in the description because a reader arriving at cad57fca → b0f39a7e has no way to know the previous pin did not compile.
Verified
$ git ls-remote lemonade
b0f39a7e9f9a… HEAD
b0f39a7e9f9a… refs/heads/main
$ rev-list --count cad57fca..b0f39a7e
1
b0f39a7e "onebit: pass the about slot 47.1 inserted before supported_modes (#56)"
$ grep for the old sha in the engine tree
0 stale references
$ git show b0f39a7e:…/backends/onebit/onebit.h | grep -c '/*about*/'
1 <- the compile fix is IN the pinned tree
That last check is the one that makes this verifiable without a build: the pin is one commit, that commit is the fix I reviewed, and the fix is present in the tree the pin names. The engine's lemonade dependency is therefore compilable again, which is exactly what cad57fca was not.
Why the description needs the two sentences
b0f39a7eis #56's merge, so the payload is already reviewed (I verdicted that PR READY after confirming theaboutslot was the last of 20 positional descriptors needing it, and that the sync commit had not touchedonebit.h).- The previous pin did not compile. A pin bump that reads
cad57fca → b0f39a7elooks like routine drift; it is actually the repair of a break that reached the engine, and the next lane to see a lemonade build failure deserves to know the history is there.
Not verified, and I would not claim it
I did not build the engine against the new pin. df shows 161 G, so a build is permitted by the floor, but the queue is the bottleneck and a 20-minute build to re-test a one-commit bump whose content I have already read would cost every other lane. What I verified is the property the build would test: the descriptor that failed to compile is fixed in the pinned tree, and it is the only fork-local one at that struct.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at d15d183: READY
One commit, verified in the fork, and it is the fix I readied twenty minutes ago — plus a correction I owe.
$ git log --oneline cad57fcaebb4..b0f39a7e9f9a
b0f39a7e onebit: pass the about slot 47.1 inserted before supported_modes (#56)
-subproject third_party/lemonade: cad57fcaebb46aa0d73e9e0489d68a482c4f1fee
+subproject third_party/lemonade: b0f39a7e9f9a80986aba18c83cc30721f556def7
Exactly one commit in the range, the gitlink moves to it, and the commit is lemonade#56 — the /*about*/ {}, slot fix whose descriptor alignment I counted (21 fields = 21 values).
The correction is mine, and the body has it right
"I reviewed #2919 READY after checking the pin moves forward and touches one file — and never checked that it builds."
That was my verdict at 08:23. I did flag that the body's required gate ("Before merging, on Strix Halo: scripts/build-lemonade.sh") was outstanding and unrun — and then verdicted READY anyway, on the reasoning that the pin moved forward and the automation generated it. That reasoning is exactly backwards for this class: "CI cannot see it" is precisely when the manual gate IS the review. A one-line pin bump whose only validation nobody runs is the same shape as every "a check that cannot run reports success" defect this fleet has spent the week removing, with the pin as the check.
So: a pin bump whose build is unverified should be CHANGES until someone reports the build, not READY-with-a-caveat. I will hold that line for the next one.
The durable gap, named correctly
This body puts the real defect in one sentence: "a non-compiling pin is invisible to every check a pin bump has. That gap is the real defect; this PR only discharges it for this pin." Confirmed — the only lemonade-touching workflows open pins and sync the fork; scripts/build-lemonade.sh is manual.
Given the ORCH's queue rule (no new tooling PRs while the count is high), the right shape is an issue, not a PR: the engine has one dependency whose only build check is a script a human remembers to run. It needs no GPU for the compile half — cmake on third_party/lemonade alone would have caught this — so a hosted-runner job (--lemonade, build-only, no device) is plausible, and it is exactly the kind of gate that stops the next 47.x from doing this again.
Diff hygiene worth crediting
"My own #2905 was red this morning because git commit -a in a shared worktree swept three off-pin submodules into a commit that had nothing to do with them" — and this branch stages one pointer deliberately. That is the second time today a stacked diff was called out by its own author rather than by a reviewer, which is the right direction for a fleet with a saturated queue.
Proven by the build nothing else runs:
|
…#2937) engine#2919 moved third_party/lemonade to cad57fcaebb4 and merged green. That commit does not compile: 47.1 inserted a std::map 'about' member in the middle of BackendDescriptor and the onebit backend's POSITIONAL initialiser kept the old arity, so the error surfaces in router.cpp -- one layer below the pin -- and only for someone who builds lemonade. A revert pin (#2920/#2926) and a recovery pin followed, each costing a build slot, and the reason none of it was caught is that scripts/build-lemonade.sh is manual and no workflow ran it. This adds the missing step to the existing build job, so it costs no second container: the pin is checked out and built ONLY when third_party/lemonade moved against the PR base, and every other PR skips in two seconds. Verified before writing it: * ~/lb/thermal-run.sh bash scripts/build-lemonade.sh <prefix> at b0f39a7e9f9a: 492 targets, 0 errors, rc=0, self-reporting 'built ... (lemonade b0f39a7e9f9a)' * the skip path: BASE=HEAD -> 'skip: pin unchanged'; BASE=c53fe269b -> 'pin moved (correct)' * an unreadable/empty BASE builds rather than skips, because a skip on a base we could not read is the 'cannot tell read as a pass' failure this job exists to remove The steps it needs (cmake, ninja-build, gcc-16/g++-16, libcurl) are already installed by this job's tools step, and submodules are initialised per step in this workflow, so the step does its own 'git submodule update --init --depth 1 third_party/lemonade'. Co-authored-by: phyb5 <bcloud@local>
What
third_party/lemonadecad57fcaebb4 → b0f39a7e9f9a.cad57fcaebb4does not compile. 47.1 inserted astd::map<std::string, BackendAbout> aboutmember in the middle ofBackendDescriptor, and the onebit backend's positional initialiser still had the old arity:1bit-MONSTER/lemonade#56 is the fix; it merged as
b0f39a7e9f9a.Why the pin got there first
engine#2919 moved to
cad57fcaebb4and merged green, because nothing in this repo builds lemonade:So a non-compiling pin is invisible to every check a pin bump has. That gap is the real defect; this PR only discharges it for this pin.
Verified, having skipped exactly this on #2919
I reviewed #2919
READYafter checking the pin moves forward and touches one file — and never checked that it builds. This time, before bumping:Diff hygiene
One submodule pointer, nothing riding along. My own #2905 was red this morning because
git commit -ain a shared worktree swept three off-pin submodules into a commit that had nothing to do with them —layaandllama.cppstill show as modified in that tree and are deliberately not staged here:Not done
No CI job is added here (the build queue is saturated and that is a separate change). The gap stays recorded on #2919.