test(smoke): assert agent-browser EXECUTES — it was the discarded amd64 proof
Second instance of the same bug class as the node line, in the same file, found the same way. The agent-browser guard captured the version inside an echo with 2>/dev/null: echo "resolved=[$r] version=[$(agent-browser --version 2>/dev/null|head -n1)]" >&2 so the exit code was discarded and a binary that could not execute at all still PASSED, printing version=[]. Verified two-sided: a stub exiting 127 passes the old form and is caught by the new one. Why this exit code matters more than most: smoke runs platforms: linux/amd64 on an x86 runner, i.e. NATIVE amd64, so this line is the fleet's only recurring amd64 runtime proof for agent-browser's linux-x64 ELF. NO DEVBOX CAN EVER SUPPLY THAT PROOF. Every machine in the pi fleet is an Apple Silicon Mac: mbp-m1-2020; tor-ms22 = Mac Studio Mac13,1 M1 Max (fleet-ops hosts/tor-ms22.md, verified 2026-08-17 with system_profiler); emb-7kj4vr4g = Apple Silicon, verified 4 routes 2026-09-07. The open "amd64 runtime proof still needed" ask sent to two devices was asking for the impossible, and emb's reply naming tor-ms22 as "the only remaining candidate" is wrong for the same reason. CI had the answer all along and was throwing it away. Dockerfile.base:607 DOES assert it (`agent-browser --version && \`), but only when the base rebuilds, and v1.8.13's base was cached — so smoke is where the recurring gate belongs.
This commit is contained in:
@@ -56,6 +56,29 @@ retraction of the earlier false "0.36.0 requires node >= 24" alert.
|
||||
No image content changes: `NODE_VERSION` still 22, no pins moved. This is a test
|
||||
and a docs correction only.
|
||||
|
||||
**The same bug class, twice in one file — and the second one was throwing away a
|
||||
proof the fleet cannot obtain any other way.** `scripts/smoke-test.sh`'s
|
||||
agent-browser guard captured the version *inside an `echo`, with `2>/dev/null`*:
|
||||
|
||||
```sh
|
||||
echo "resolved=[$r] version=[$(agent-browser --version 2>/dev/null | head -n1)]" >&2
|
||||
```
|
||||
|
||||
The exit code was discarded, so a binary that could not execute at all still
|
||||
**passed**, printing `version=[]`. Verified two-sided: a stub exiting 127 passes
|
||||
the old form and is caught by the new one.
|
||||
|
||||
Why that exit code matters more than most: smoke runs `platforms: linux/amd64` on
|
||||
an x86 runner, i.e. **native amd64**, making this line the fleet's only recurring
|
||||
amd64 runtime proof for agent-browser's `linux-x64` ELF. **No devbox can ever
|
||||
supply one** — every machine in the pi fleet is an Apple Silicon Mac
|
||||
(`mbp-m1-2020`; `tor-ms22` = Mac Studio `Mac13,1` M1 Max, verified 2026-08-17 by
|
||||
`system_profiler`; `emb-7kj4vr4g` = Apple Silicon, verified 4 ways 2026-09-07).
|
||||
The "amd64 runtime proof still needed" item that was sent to two devices was
|
||||
therefore asking for the impossible, while CI already had the answer and was
|
||||
discarding it. `Dockerfile.base:607` does assert it (`agent-browser --version &&`),
|
||||
but only when the base actually rebuilds — and v1.8.13's base was cached.
|
||||
|
||||
---
|
||||
|
||||
## v1.8.13 — 2026-09-06
|
||||
|
||||
Reference in New Issue
Block a user