J149: verify quick pre-check and shared sccache on build VMs #329
Open
opened 2026-11-03 16:38:42 +00:00 by kayg
·
13 comments
No Branch/Tag specified
main
j470b-server-mesh-rejoin
mesh-compat-382
j444b-d381-key-wins-flood
j461b-macos-utun-reader-thread
j475b-remove-host-motion
fix-reconnect-new-link
j481-d380
dev
j479-mesh-soak
fix/j476-host-facts
j475-motion-pill-split
j470-mac-node-join
root-upgrade-d376
j474-review-merge
latency-targets-120hz
nightly-suite-shards
gotatun-pin-j469
macos-utun-reader-thread
fix-flood-echo-stall
wip/j416
motion-fast-ease-out
mesh-addhost-j259
takeover-close-terminals-d368
kbd-instant-followups
fix-trust-key-double-click
nightly-suite-partial-report
appwin-icons-j207
rusqlite-slice1
swipe-content-first-d374
mesh-mtu-381
addhost-instant-open
glass-contrast-d365-mock
glass-contrast-d365
signout-followups-442
fix-startup-toast-red
research-gotatun-matrix-j317
themes-sync-j304
fix-load-flakes
fix-nix-zig-patch
fix-compute01-browser-baseline
ratchet-size-baseline-419
predict-auto-d130
revoke-coverage-d367
nightly-suite-queue-timeout
nightly-browser-suite
fix-rustsec-2026-0459
fonts-ioskeley-obel
log-retention-d375
fix-kbd-no-anim-427
fix-dev-red-specs-2
takeover-proof-305-j205
wip/j410-server-pump
ui-consistency-d372
fix-osc52-clipboard
libghostty-vt-1.0
forget-retired-host-d369
j404-merge-426
fix-setup-lock-race
fix-touch-select-426
revoke-access-report-ui
fix-predictive-echo-specs
fix-selinux-agent-exec
wip/j395-checkpoint2
wip/j395
j391-review-scratch
ui-consistency-j195-deferred-rebased
fix-rustc-paths-421
decisions-wording-341
fix-install-suite-red
fix-dev-rtt-specs
fix-pending-removal-align
fix-privileged-skip
fix-install-suite-404
review-j368
mesh-dns-j254
revoke-access-report-d356b
revoke-privilege-round5
fix-removal-confirm
review-j360
gotatun-rotation-367
deps-refresh-340
review-j354
review-J351
review-j350
addhost-takeover-d359
revoke-report-items-347
revoke-end-sessions-d362
review-j348
size-mesh-ssh-346
size-trim-337
revoke-access-diff-d356
j259-pre-rebase-b06c5a6
j305-ended-at-start-spec
addhost-sudo-consent
fix-layout-real-specs-411
fix-shell-open-411
fix-console-hosts-373
fix-shell-exit
fuzz-host-name-353
fix-host-details-410
macos-filter-j197
research-gotatun-tricks
revoke-p3-j216l
stale-state-pill
revoke-followups-j216k
revoke-progress-j216e
backup/macos01-20261106/lume/j197
backup/macos01-20261106/lume/appwin-icons-j207-stash0
backup/macos01-20261106/claude/stash-0
backup/macos01-20261106/claude/stash-1
backup/macos01-20261106/claude/J80-macos-s1
backup/macos01-20261106/claude/J80
backup/macos01-20261106/claude/J80-slice1-20261102
backup/macos01-20261106/claude/J16b-appwin-on-dev
backup/macos01-20261106/claude/appwin-launch-idle-146
backup/macos01-20261106/claude/J80-s1-run
wip/j259
trust-285-p3c
runtime-lock-j216f
mesh-ssh-p3-j175
tun-proof-p3b
trust-285-p3
terminal-polish-j271
tun-proof-p3
ssh-install-flakes-j216i
fuzz-fixes-j264
trust-285-a
trust-285-b
restart-oversized-fixture-j198
backup/macos01-20261106/lume/appwin-icons-j207
restart-bound-j216h
up-preflight-p3-j198
backup/macos01-20261106/lume/j251
up-preflight-j198
wip/up-preflight-j198-j245-p2
wip/up-preflight-j198-j245-p1
agent-fsync-offloop-j196
wip/up-preflight-j198-j245
settings-offscreen-j231
wip/up-preflight-j198-j226-inspection
wip/j103f
themes-j206
wip/up-preflight-j198-j226
flakes-j216c
backup/macos01-20261106/claude/j197
flakes-j216b
backup/macos01-20261106/claude/j197-red
wip/up-preflight-j198-review
flakes-j216
backup/macos01-20261106/claude/appwin-icons-j207
engineering-j208b
appwin-mock-j209
toast-stack-j165
engineering-j208
decisions-d351
decisions-d350
decisions-d349
appearance-presets-mock-j129
decisions-d348
docs-audit-spec
doc-coverage-baseline-raise
decisions-d347
decisions-d346b
decisions-d346
j88h-profile
ui-consistency-j195-deferred
ui-consistency-j195
engineering-practices-j194
preferred-login-ui-j166
signin-pools-263-j174
macos-node-265-s1
decisions-d345
decisions-d344
proxy-cgroup-j164
verify-quick-fuzz-329
proxy-start-io-j168
timing-flakes-j163
up-263-s1
mcp-events-j147
verify-quick-fuzz-j158
proxy-p3-j159
agent-resource-j157-detect
wip/j103d-final
remote-cancel-hang-j155
proxy-traefik-281-j62d
j149-verify-quick
proxy-traefik-281-j62b
j150-drop-unnamed
wip/j79d-red-r4
wip/j103d-d332
rootless-toast-j142
wip/j103d-head
wip/j103d
j125c-mcp
macos-build-j136
backup/macos01-20261106/claude/j136
wip/j79d-red-cli
wip/j79d-red-server
j121-link-liveness
j118c-tracer-failures
wip/j79c-head
release-desktop-j131
j124c-signed-macos
wip/j79c-red-p3
wip/j79c-red-p23
wip/j79c-red-p22
merge-j128-check
perf-deferred-j128
sidebar-toggle-260
j127-shortcut-changed-dot
j125-mcp
j118-tracer-failures
j126-account-summary
settings-sections-mock-j92
j120-pinch-lock
sidebar-292
backup/macos01-20261106/claude/j120
taste-2026-11-03
row-actions-242-215
backup/macos01-20261106/claude/stash-0-untracked
backup/macos01-20261106/claude/J80-265-s1-run
backup/macos01-20261106/claude/J80-macos-s1-20261102
j112-canvas-commands
ui-no-overshoot-scroll
fix-recovery-restart
backup/macos01-20261106/claude/stash-1-untracked
taste-2026-11-02
size-baseline-ratchet
machine-cards-structure-j108
j109-boot-copy-mockups
fix-dev-red
wip/up-263-s1
j95b-settings-rows
proxy-traefik-281
j95-option-rows
docs-human-j91
docs-keys-palette
fix-flood-1013-270-j38d
mesh-ssh-s1
mesh-ssh-s0
addhost-d291-tunnel
test-stability-load
mesh-relay-220
repro-296
shim-thp-off-24
mesh-pins-258-v2
mesh-dns
signin-d311-merged
docs-pages
ui-size-283
fix-ui-batch-specs
wip/j12b-edge-update
gate-on-arm
fix-rename-sync-293
trust-285-j60b
fix-focus-ring-clip
integ-ui-1101
edge-update-v2
signin-d311
taste-2026-11-01
layout-per-tab-250
ui-approved-splitopt-224
ui-approved-splitopt-224-on-dev
icon-text-centre-282
ui-approved-189-212-216
research-reverse-proxy
transfer-budget-320
review-mesh-pins-258-r2
sidebar-pill-259
review-mesh-relay-220
wip/j12-edge-update-v2
nix-package
status-crash-loop-237
fix-dev-test-failures
fix-fixture-socket-path
wip/mesh-relay-220-pre-dev-advance-rebase
fix-canvas-side-clip
research-head-to-head
frosted-real-256
review-mesh-pins-258
wip/mesh-relay-220-pre-final-rebase
review-layout-per-tab-250-r2
broad-suite-triage
nix-devshell
review-status-crash-loop-237-r3
wip/nix-devshell-pre-p3
taste-frosted-real
wip/code-serve-demo-2026-10-30
wip/code-serve-glass-2026-10-30
wip/code-serve-clusters-2026-10-30
wip/code-merge-release94-dev-2026-10-30
wip/rproxy-delta-scratch-2026-10-30
wip/stale-note-257-staged-2026-10-30
wip/d241-size-staged-2026-10-30
review-broad-suite-207
wip/mesh-pins-258-pre-split
wip/mesh-relay-220-pre-rebase
mesh-measure-220
plan-211-update
review-edge-autoupdate-r3
perf24-reconnect
review-stale-note-r2
release-prod-live
d241-shell-marker
review-mesh-pins-server-258
review-revocation-r3
review-setup-token-r2
review-sync-journal-r3
wip/review-mesh-pins-258-prune-review-1995fee46
frosted-scroll-256
sync-journal-r3
revocation-per-account-wip
review-tokio-asyncfd-0386
review-sync-p3s
wip/stash-8by64-stash0-2026-10-30
mesh-drag-r2
setup-token-data-wip
release-9-4
auth-busy-1013
mesh-view-overlap
sync-p3s
review-auth-busy-wake
review-readd-r8-wip
mesh-drag-bounds
audit-auth-93
app-windows-stream-start
review-authority-cap-r3
app-windows-r7-measure
readd-minimal-r6
readd-minimal-r5
app-windows-r7-soak
readd-minimal-r4
app-windows-r7
app-windows-r6
readd-minimal-r3
readd-minimal-r2
readd-minimal
merge-release8-dev
review-busy-page-liveness-r2
review-busy-page-liveness
mesh-view-trim
review-authority-read-retry-r2
review-remove-uninstall-r2
release-retry-reattach
release-retry
review-remove-uninstall
review-authority-read-retry
app-windows-ship
mesh-autoswitch-p2
mesh-ssh
mesh-relay
mesh-macos-node
screen-and-control
session-labels
review-real-logins-r5
review-real-logins-r4
review-real-logins-r3
shim-memory-r2
review-real-logins-r2
shim-memory
shadow-addhost-instant
shadow-real-logins
shadow-same-session-flood
shadow-prod-perf-fix
hosts-from-server
app-windows-real
app-windows-transport
release-prod-6w
mesh-policy-verify
quiet-close-toast
dev-merge-r4
review-mesh-agent-transport
review-app-windows-transport
settings-roundtrip
review-release-pipeline-r4
mesh-agent-transport
ended-strip-fix
review-audit-ca-update-d244
settings-rows
phone-width
signout-clear
fix-restart-tests
dev-merge-rp
signer-hardening
review-audit-ca-update
terminal-fidelity
review-audit-ca-update-wip
mesh-integrate
review-mesh-agent-transport-515d3712
review-mesh-dataplane-feec1988
mesh-dataplane
signout
research-canvas-node
wip/review-renderer-cost
wip/review-terminal-fidelity
padlock-glyph
review-release-pipeline-2e95b689
phone-polish
sidebar-polish
inbox-generic
review-mesh-dataplane-378d4055
prod-batch
ui-inbox
ui-ca-unlock
ui-machine-sections
review-mesh-dataplane-a5f744fb
tls-session-prod
session-bounds-prod
fix-dead-session
session-bounds
tls-session
palette-polish
shortcuts-d222
research-appmeta
phone-gutter
ui-centre-button
wip/ui-centre-button
wip/tls-session
review-addhost-breakit
ui-platform
renderer-cost
remote-agents
mesh-api
ssh-bootstrap
prod-hotfix2
prod-fixes
review-remote-agents
review-mesh-dataplane
session-life
research-browser
review-mesh-api
research-capture
review-mesh-api-round3
review-mesh-api-round1
gate-stability
review-gate-stability
review-relay-direct
review-mesh-api-findings
proto-sessions
font-picker
proto-addhost
proto-windows
mesh-core
latency-gate
research-bsd
research-discovery
keytray-mods
mock-core
ui-tweaks
fix-motion-sel
fix-motion
integrate2
fix-robust
t-web
t-server
vt-ghostty
fix-snap-echo
t-web-auth
review-vt2
t-agent
lane-protocol
lane-shim
lane-auth
s1-base
s1-contracts
s1-workspace
No results found.
No labels
launch-qa
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/infraternal#329
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Job J149. Problem:
scripts/verify fasttakes 20-40 min and every job builds a 25-40 GB target from scratch; 6 build slots, 4-5 queued, many jobs re-run the gate only to find a fmt/clippy error.Plan (shortest safe path, no framework), estimate ~3 h:
scripts/verify quick: fmt, clippy + unit tests of crates changed vs merge-base with origin/dev, tracer typecheck when TS changed. Never replacesfast. Document in docs/PROCESS.md; BRIEF-COMMON lines posted here for the orchestrator.Branch:
j149-verify-quick, base7e1cb858f(origin/dev).Progress 1:
scripts/verify quick(branchj149-verify-quick, commits pushed; base7e1cb858f)Run on dev-02 (aarch64, load ~15-40 from other jobs, warm shared target), through build-slot,
nix develop -c scripts/verify quick:infraternal-statuschangedapps/tracerTS changedinfraternal(bin) +infraternal-statuschangedinfraternalcrate's unit tests alone: 570 s, 118 s of it test run)Finding (evidence): my first version ran
cargo clippy -p <changed>. Forinfraternal-statusit failed inside an UNTOUCHED crate:crates/infraternal-shim/src/child.rs:114: unnecessary_wraps(-D clippy::pedantic). Cargo unifies features over the selected packages only, so a narrower set makes a feature-dependent lint fire that the gate (with workspace features) never reports. Fix: clippy always runs--workspace --all-targets --locked -D warnings(the gate's own flags, so the gate then reuses those artifacts in a shared target); only the unit tests (--lib --bins) are limited to changed packages. This is a deviation from "clippy on the changed crates", chosen to avoid false failures. Cold workspace clippy is the main cost of a first quick run.Not covered by quick (it says so when it passes): dependents of a changed crate, integration tests, static builds, cargo-deny, repository checks. Documented in docs/PROCESS.md (section 2, Definition of Done item 2).
Infra finding (for the orchestrator): compute01's build-slot queue sat stuck for 33+ min with slots 3 and 4 free: the head ticket is
bash /root/j145-run.sh(pid 535918, started 17:07 CET), a root process that loaded the OLD build-slot before the 17:27 fix, so it still reads/root/infraternal-ops/slots(default 2) and waits for slot 1 or 2 while everything queues behind it. A running bash reads its script incrementally, so editing build-slot while waiters exist is unsafe as well. It resolves itself when slot 1 or 2 frees; killing that waiter (as root) frees the queue now.Next: sccache measurement (static release build, no cache vs cold cache vs warm cache from a second worktree; SHA-256 of the binary; wall + CPU).
Progress 2: sccache measurements (dev-02, aarch64, 10 cores, shared with ~9 other jobs; loadavg before each run in the receipts). Branch
j149-verify-quick, head056e80153(2 commits one81eb5bb4).Setup:
INFRATERNAL_SCCACHE_DIR=<throwaway dir>through the new dev-shell opt-in; wall =timearoundnix develop -c …; CPU = client children (user+sys) + the sccache server's own user+sys (the server runs rustc on a miss, so a client-onlytimewould hide it). Each run starts from an empty target dir.Static release (
scripts/static-cargo build --locked --release --package infraternal --target aarch64-unknown-linux-musl, plus auth-toolchain):a06d5ce1d3a60a16cccd4ccda2f2c3bf28b6b78c4ab1021861eca7f1c3a1b48ca06d5ce1…1b48c(identical)~/worktrees/j149b), own targeta06d5ce1…1b48c(identical)SHA-256 is identical in all three: the cache does not change the bytes (and a second checkout root gives the same bytes, as #246 intends).
Gate-shaped dev build (
cargo clippy --workspace --all-targets --locked -- -D warnings && cargo test --workspace --locked --no-run):Finding: as shipped by the opt-in, a second job gets no Rust hits. Isolated on one leaf registry crate (
slab, throwaway cache):CARGO_TARGET_DIR: missCARGO_TARGET_DIR: hit--target-dirwithCARGO_TARGET_DIRunset: hitSo the key differs because sccache hashes every
CARGO_*environment variable and each job sets its ownCARGO_TARGET_DIR(the repo,scripts/verifyand the brief all require a per-job target). Static builds have a second reason:scripts/static-cargoputs the checkout, Cargo-home and target roots into rustc's flags on purpose (#246), so they are in the key.Consequence: today's opt-in only helps a job that rebuilds into the same target path (after
rm -rf targetor the 6 h sweep). It costs +10..25% CPU on a cold fill and gains nothing across jobs. Making it share across jobs needsCARGO_TARGET_DIRhidden from sccache (a wrapper that moves it to another variable) and a matching one-line read in.cargo/rustc.sh,.cargo/musl-cc.shandscripts/static-cargo(the release path), and static builds would still miss because of the root remaps. I did not do that: it touches the release scripts, which the brief says must stay unchanged. Owner decision needed (see final report). A same-target second-checkout run (upper bound of what a fix would give) is queued; numbers follow.Gate
scripts/verify faston compute01 is queued at head056e80153; output follows.Finish: branch
j149-verify-quick, head056e80153bf14867e323554285f02c02cdad262c(2 commits on origin/deve81eb5bb4). Not merged, not deployed.Commits:
4be6fe493verify: addquick, a few-minute pre-check before the full gate056e80153flake: opt-in machine-local sccache in the dev shellGate (
scripts/verify quick && scripts/verify fastin one slot, compute01 x86_64, load 14-17, cold target, 20:36 to 21:39 CET):QUICK_EXIT=0,VERIFY_EXIT=0. Final Rust gate table, verbatim:Static size rows (report only; my change touches no shipped code, deltas are against the stale hard-coded baseline in rust.sh): x86_64 22479856 B (+61600), aarch64 20496104 B (+42824). Per-row times: CLI plugin compile-out 727 s, clippy 214 s, test 1284 s, shim process-per-user 248 s, static builds 1135 s. Full log:
compute01:~/.cache/codex-scratch/j149-gate/gate.log.Real-environment proof: this change is repo tooling (shell, a helper script, the dev shell). It ran for real on both build VMs through build-slot:
quickin five scenarios (Progress 1), the sccache opt-in through the realnix developwith real static builds (Progress 2), the full gate above. No server/user flow or root-only path is touched, so the test server and a root clone do not apply.Last measurement: upper bound of a cross-job fix (second checkout
j149b, SAME target path as the cache-filling run, warm cache; gate-shaped clippy + test build, dev-02): wall 535 s, CPU 825 s (client 764 + server 61), 1920 of 1990 requests hit (Rust 91.8%, C/C++ and assembler 100%). Against no cache (657 s, 1024 s CPU) that is -19% wall and -19% CPU; clippy of workspace crates, linking and build scripts are not cached, so that is about the ceiling. The static release build cannot reach it at all (roots are in its keys by design, #246).Summary table (dev-02 aarch64, shared host, loadavg in receipts):
SHA-256 of the static release binary: identical (
a06d5ce1d3a60a16cccd4ccda2f2c3bf28b6b78c4ab1021861eca7f1c3a1b48c) with no cache, cold cache and from a second checkout.Exact lines for BRIEF-COMMON.md (replace rule 5 "Gate" with, or add under it):
Not changed (VM infra, yours): the opt-in variable is NOT set anywhere yet, so nothing is cached today. I did not edit
build-slot(editing a script that waiters are running broke the queue earlier). If you decide to enable it, the exact line to add near the top of build-slot isexport INFRATERNAL_SCCACHE_DIR=$HOME/.cache/sccache(cap defaults to 30G; optionalINFRATERNAL_SCCACHE_SIZE). Per the measurements above I recommend NOT enabling it as is.Owner decisions for the morning:
CARGO_TARGET_DIR) and costs +10..25% CPU on a cold fill. Making it share needs a wrapper that hidesCARGO_TARGET_DIRfrom sccache plus a matching one-line fallback read in.cargo/rustc.sh,.cargo/musl-cc.shandscripts/static-cargo(the release path, which this job was told to keep unchanged). Best case measured: -19% wall/CPU on the clippy+test build, nothing on static builds. My view: not worth touching the release scripts;quickis the bigger win. Say if you want the wrapper anyway.quickclippy is workspace-wide, not-p <changed>as asked (the-pform gave false failures in untouched crates, see Progress 1). Cost: a first quick run on a cold target pays a workspace clippy (214 s in the gate above).mv-ing it in.Cleanup: my target dirs, caches and measurement artifacts are deleted; logs and receipts stay under
dev-02:~/.cache/codex-scratch/j149/{keep,evidence-*}andcompute01:~/.cache/codex-scratch/j149-gate/gate.log.J158 started. Branch
verify-quick-fuzz-j158, baseorigin/devatb0eb5237c.Plan (about 45 min):
scripts/verify quickon a scratch commit that touches a comment incrates/infraternal-server, on compute01 through build-slot. Check which test binaries are built and whetherinfraternal-fuzz/auth_cookieruns.scripts/verify.d/quick.sh: skip the fuzz package and its targets in the test step, matching howfasttreats the fuzz workspace. Smallest change.quickfinishes on the scratch-commit branch, still fails on a deliberate fmt error, then onescripts/verify fastverbatim on a VM with the head SHA.Note:
changed-scope.pyselects onlyinfraternal-serverfor a server edit, so the fuzz package is reached some other way. The reproduction in step 1 decides the fix.J158 finding:
scripts/verify quickdoes NOT run the fuzz target on current dev. I could not reproduce the hang the J94e note describes (#303, comment 77237). No code change is needed for this.Evidence:
origin/devb0eb5237c.scripts/verify.d/quick.shandchanged-scope.pyare identical on946b196f1(the SHA J94e reported), so the reported version and dev run the same quick code.changed-scope.pyfor a comment-only edit incrates/infraternal-serverselectspackage infraternal-serveronly (no workspace, no tracer, no fuzz).5d58382b9(comment ininfraternal-server), run throughnix develop -c scripts/verify quickon compute01 under build-slot:fmt PASS,clippy (workspace) PASS(clippy only CHECKSinfraternal-fuzz),unit tests (changed) PASS(infraternal_serverlib: 484 passed, 26 ignored, 712 s). Log: compute01~/j158-quick.log,VERIFY_EXIT=0. The log has noauth_cookie, no libFuzzer output, and noinfraternal-fuzztest run.[[bin]]infuzz/Cargo.tomlsetstest = false, socargo test --lib --binsskips them. The fuzz package has no lib target.Still open: if the hang happened on another tree, it is not in
origin/dev. Kayg or the orchestrator should say which tree and command produced the libFuzzer loop, so I can reproduce it instead of guessing.Fmt-failure proof: scratch commit
f3a7efce1with a deliberate fmt error.quickon compute01 (~/j158-fmt.log):fmt FAIL (1),VERIFY_EXIT=1.Branch
verify-quick-fuzz-j158now has no product change (07a5f417e, tree equal tob0eb5237c). The scratch commits are reverted.verify fastis running on dev-02 for that head; its output will follow.J158 finish. Head
07a5f417eonverify-quick-fuzz-j158(baseb0eb5237c, tree identical to base: no product change). Note thatorigin/devhas since moved to91112e9da.Result:
scripts/verify fastexited 1 on dev-02 (VERIFY_EXIT=1). The one failing row istest. Full log: dev-02~/j158-fast.log.Verbatim gate table:
Failing test, verbatim excerpt:
Analysis: the tree is identical to
b0eb5237c, so this failure is in the base as well. It is not caused by this branch. Rerunning that one test alone on dev-02 (cargo test --locked -p infraternal --test agent_queues,~/j158-rerun.log) givestest result: ok. 1 passedandVERIFY_EXIT=0. So it is intermittent under the full-gate load (resource_unavailable), not deterministic. I did not rerun the whole gate, since the task asked for one run. The owner should decide whether to rerunfast.Static builds row: PASS (x86 +102400 accepted delta, aarch64 +45896 report-only).
Fuzz hang: not reproduced, and no code change was needed (see my earlier comment on this issue).
quick proofs:
5d58382b9):quickfinished,VERIFY_EXIT=0(compute01~/j158-quick.log).f3a7efce1):fmt FAIL (1),VERIFY_EXIT=1(compute01~/j158-fmt.log).Scratch commits are reverted on the branch. Nothing merged, nothing deployed. Target dirs on both VMs are being deleted.
Orchestrator: J158 could not reproduce the endless fuzz loop on dev. Every fuzz
[[bin]]setstest = false, soquicknever runsauth_cookie. The fix is dropped. If a job seesquickrun a fuzz target again, post the tree SHA and exact command here. The branchverify-quick-fuzz-j158has no changes and can be deleted.J79e:
verify quickran a fuzz target and never finished (answering the orchestrator's request in the J158 note).d4bdb99cee5674264a4924d451707e96639f61ba(commit81bbeed7c, branchup-263-s1rebased onto origin/devf14e4309a). Host compute01,nix develop -c scripts/verify quickunder build-slot, cargo 1.99.0.CARGO_MANIFEST_DIR=.../fuzzandCARGO_PKG_NAME=infraternal-fuzz, so it is the fuzz package's[[bin]] auth_cookie, which hastest = falseinfuzz/Cargo.toml(the same on origin/dev).changed-scope.pyselected-p infraternal-server. This branch changesCargo.lockand several crates, so the scope is--workspace. With--workspace --lib --bins, cargo seems to treat the explicit--binsas overridingtest = falseand builds and runs every fuzz bin as a test. Each runs libFuzzer with no run limit.quicknever exits for a workspace-wide change. A first run on the same tree failed earlier, on three unrelatedinfraternal-agenttiming tests (host load about 10 on 10 cores), so it never reached the fuzz binary. The rerun reached it.verify fast. Logs on compute01:~claude/.cache/codex-scratch/j79e/gate-quick-hang.log. I did not change the gate (out of scope for #263).J173 start — branch
verify-quick-fuzz-329, basedf3e69727(origin/dev).Root cause (evidence).
cargo test --workspace --lib --bins --locked --no-run --unit-graphlists all 35infraternal-fuzzbins (auth_cookie, wire_frame_decode, …) asmode: testunits: an explicit--binsoverridestest = false, and each bin links libFuzzer'smain, which never returns.quickhits this when it picks the whole workspace (rootCargo.toml/Cargo.lockchanged: J79e'sup-263-s1changesCargo.lock) or the fuzz package itself (a file underfuzz/changed). J158 looked at default targets only, wheretest = falseholds.Plan (~1.5 h). (1)
changed-scope.pyfinds cargo-fuzz packages fromcargo metadata, printsexclude <name>, neverpackage <fuzz>; (2)quick.shpasses--exclude, still clippys a fuzz-only change, and wraps the test step intimeout(default 1500 s,VERIFY_QUICK_TEST_TIMEOUT) so any other endless test fails with 124; (3)scripts/test-verify-quick-scope.pyguards the selection and runs at the start ofquick.fastis not touched. Proof:quickwall time onup-263-s1@81bbeed7candapikey-actions-303@21d4f71c9, thenfast.J173 progress — fix pushed (
72171941donverify-quick-fuzz-329), proof ofquickon both trees (dev-02, cold shared target, fixed scripts overlaid).up-263-s1@81bbeed7c(basef14e4309a)Cargo.lockchanged →--workspaceapikey-actions-303@21d4f71c9(base origin/dev)The tree-b failure is
restart::tests::reload_reopens_install_path_when_the_running_inode_was_replacedin theinfraternalcrate: its own 60 s watchdog fired (exceeded 60s; status=SIGKILL) while dev-02 was fully loaded (142 passed, 1 failed). It is unrelated to fuzz; I am re-running it alone to see whether it is load flake or real.Old behaviour reproduced (same VM, 90 s cap,
cargo test -p infraternal-fuzz --bin auth_cookie): libFuzzer output#4194304 pulse … exec/s: 699050, killed by the cap,OLD_EXIT=124. Without the cap this never ends.Cause (also from
--unit-graph):cargo test --workspace --lib --binslists all 35 fuzz bins asmode: test, because explicit--binsoverridestest = false.Next:
scripts/verify faston the branch head;fastis not touched by the diff (the guard runs fromquickonly).J173
scripts/verify fast— head72171941dd, dev-02 (aarch64), verbatim summary. NOT green: thetestrow failed (101) on two tests this diff cannot influence.All other rows PASS, including
gate architectureandstatic builds(aarch64 +791408 bytes vs baseline, report only). The diff touches onlyscripts/verify.d/{changed-scope.py,quick.sh}and a newscripts/test-verify-quick-scope.py, none run byfast, sofastis unchanged.Failures in the
testrow:restart::tests::deleted_path_review::relative_recovery_after_atomic_install_keeps_live_install_path:replaced-path child did not complete(restart_deleted_path_review_tests.rs:74), a timing test under dev-02 load (the similarreload_reopens_install_path…timed out the same way in the tree-bquickrun and passed alone in 0.48 s).saved_shell_automation_uses_an_owner_only_socket_directory(tests/cli_sessions.rs:139): agent fixture exited early, the known AF_UNIX socket-path fixture failure (worktree path/home/claude/worktrees/j173-fast/...is long).Re-running both alone with a short
INFRATERNAL_TEST_STATE_ROOT; result to follow.J173 finish. Branch
verify-quick-fuzz-329, head72171941dd(pushed). Fix + guard as described above;fastresult posted above (NOT green: two unrelatedtestfailures).Not done: the isolated re-run of the two failing
fasttests sat in dev-02's queue (position 9) for ~50 min, so I cancelled it by PID. Evidence for "unrelated" is therefore indirect: the diff touches no Rust and nothingfastruns; a sibling timing test (reload_reopens_install_path…) that failed under load in the tree-bquickrun passed alone in 0.48 s; the socket-directory test is the known AF_UNIX fixture failure. I did not run them on unmodified origin/dev. Someone with a free slot should, or the orchestrator can accept the above.Cleanup: dev-02 target dir and the three VM worktrees deleted.
J173 finish. Branch
verify-quick-fuzz-329, head72171941dd(pushed). Fix + guard as described above;fastresult posted above (NOT green: two unrelatedtestfailures).Not done: the isolated re-run of the two failing
fasttests sat in dev-02's queue (position 9) for ~50 min, so I cancelled it by PID. Evidence for "unrelated" is therefore indirect: the diff touches no Rust and nothingfastruns; a sibling timing test (reload_reopens_install_path…) that failed under load in the tree-bquickrun passed alone in 0.48 s; the socket-directory test is the known AF_UNIX fixture failure. I did not run them on unmodified origin/dev. Someone with a free slot should, or the orchestrator can accept the above.Cleanup: dev-02 target dir and the three VM worktrees deleted.