verify fast static-build path check fails with symlinked target on origin/dev #421
Open
opened 2026-11-07 09:43:50 +00:00 by kayg
·
15 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#421
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?
The
verify faststatic-build row'sscripts/test-rustc-paths.pycheck fails on a clean, unmodifiedorigin/devcheckout whenCARGO_TARGET_DIRpoints through the symlinked worktree target used by the gate. The same control passes when the target is a physical directory, so this is a gate path-resolution bug independent of mesh changes in #381.Control results:
origin/devat3644950b8e4b5dddeefba350f97a3892189ca193, symlink target/home/claude/worktrees/j288/target: fails atscripts/test-rustc-paths.py:28, where the executable's embedded path is asserted to equal/infraternal/source.rs.origin_dev_rustc_paths_exit=0).36e7a6308f5561181b56cf44b67f479a33d6d0f6:verify fastreaches the static-build row and fails at the same assertion. All other rows passed.The wrapper scripts, remap flags and toolchain are unchanged from
origin/dev. The three attached logs are the gate run, the symlink-target baseline failure, and the physical-target baseline control. Related feature work: #381.J288 control logs attached: the final fast gate at
36e7a630, the unmodified origin/dev symlink-target reproduction, and the physical-target passing control. SHA-256 values are in the local evidence manifest; the raw outputs are attached here.J385 started on fix-rustc-paths-421, base
a894dd877(origin/dev). Plan: reproduce physical and symlinked targets, add a red regression, fix the path boundary without weakening the embedded-path assertion, run quick then compute01 fast and prove any unrelated reds on unmodified dev. Estimated 90 minutes plus build-slot queue time. Production remains read-only.Finding from code inspection: .cargo/rustc.sh derives its remap source root with pwd -P, but test-rustc-paths.py creates an absolute source argument under the uncanonicalized CARGO_TARGET_DIR. A target symlink therefore gives rustc a different prefix spelling than the remap. The static reproducibility harness already resolves its environment paths. New regression driver exercises the unchanged control with physical and symlinked targets; baseline is queued through compute01 build-slot (PID 3616143), evidence /home/claude/j385-evidence/baseline.log. Note: this checkout records path normalization under D243; D317 is the user-docs decision, so no decision text will change.
Red reproduced on unmodified
a894dd877scripts with the new regression driver: physical target PASS (identical stripped artifacts); symlink target fails the original /infraternal/source.rs assertion at line 28, RED_EXIT=1. Evidence: compute01:/home/claude/j385-evidence/red.log. Root cause is the gate harness passing a lexical symlink prefix while rustc.sh maps pwd -P. Minimal fix resolves the harness scratch root before constructing checkout/source arguments, as the existing static reproducibility harness does. The static row now always runs both target layouts through that original assertion; no compiler flags or assertions are relaxed.Green proof: the exact same regression driver now passes physical and symlink targets, each comparing two differently named checkout roots byte-for-byte and requiring file!() == /infraternal/source.rs. Gate architecture tests also pass for x86_64/aarch64 dispatch. Evidence: compute01:/home/claude/j385-evidence/green-quick.log (quick pre-check continuing). This is a gate fixture path-construction fix only: release compiler flags and shipped binary code are unchanged, so there is no release size/runtime delta from this diff.
The initial quick pre-check passed (QUICK_EXIT=0), evidence compute01:/home/claude/j385-evidence/green-quick.log. Fetched dev and updated the branch base to
9965911c8a, which includes J376’s #432 fixture fix. Re-running quick on that base, then full fast. Target remains /home/claude/worktrees/j385/target -> /home/claude/.cache/codex-scratch/j385/target.Checkpoint: pushed atomic commit
5f49cb562on fix-rustc-paths-421 (base9965911c8). Red/green and quick receipts are retained in /home/claude/j385-evidence/{red,green-quick,quick}.log on compute01; local copies are /home/kayg/Developer/Worktrees/infraternal-J385-evidence/. Full fast is still running (PID 3848555), output /home/claude/j385-evidence/fast.log, CARGO_TARGET_DIR points through the worktree target symlink. No gate success is claimed yet.Full gate finding (not yet baseline-qualified): workspace install suite has four failures with SetupRunning / exit_status 73 at install.rs:563,1269,1327,1718: negotiated_retry_reuses_only_a_verified_cache_after_activation_refusal; interrupted_rollback_never_deletes_already_restored_state_on_retry; interrupted_restore_recreates_links_without_deleting_the_original; interrupted_upgrade_after_acknowledged_stop_restarts_the_previous_service. 104 passed, 4 failed, 2 ignored. Evidence compute01:/home/claude/j385-evidence/fast.log. The full run continues toward static builds; afterward I will reproduce these cases on unmodified dev
9965911c8using the same target before calling them unrelated. No SSH code is changed in this branch.Progress: full gate reached static builds, and its own output now shows both physical and symlink target controls PASS with the original exact path/byte-identity checks. First release compile has completed; remaining release work is still running. Current head stays
5f49cb562a. Evidence remains compute01:/home/claude/j385-evidence/fast.log. After the slot is released, I will run the prepared clean-dev install-suite reproduction and scan both shipping images for logical and physical build-root prefixes.Static-build row PASS in the completed full compute01 gate with the live symlinked target (layout.log records CARGO_TARGET_DIR and its symlink destination). Full FAST_EXIT=1, with only test FAIL (101), the four install failures already listed. Both shipping images passed an extra byte scan for the logical checkout/target and physical target prefixes: x86_64 28171984 bytes, aarch64 25305312 bytes; no prefix present. Gate-reported historical-baseline deltas are +5753728 / +4852032 bytes. Evidence: compute01:/home/claude/j385-evidence/{fast,release-paths,layout}.log. Clean-dev install-suite reproduction is starting now before final qualification.
Baseline qualification update: clean dev
9965911c8is confirmed (BASELINE_TREE_CLEAN=1). The four already-built cases pass individually, and the same install test binary passes directly at normal parallelism (108 passed, 0 failed, 2 ignored). Therefore these direct executions do not qualify the Cargo-launched gate red; I am retaining the queued Cargo reproduction to preserve launch context. Evidence compute01:/home/claude/j385-evidence/{baseline-focused,baseline-parallel,baseline-install}.log. The static-build row and both release-prefix scans are PASS; no gate failure is being hidden or waived.J385 gate receipt for
5f49cb562a. compute01 used the worktree target symlink; layout.log records the live process environment. Static builds PASS. The four install failures are not yet baseline-qualified: direct execution on clean dev passed, so the exact Cargo workspace test row is queued on clean9965911c8.Full gate summary, verbatim:
Both shipping images also exclude the physical target prefix:
Raw receipts are attached. The final baseline qualification will follow.
J385 qualification update: the complete clean-dev install suite through Cargo passed (108 passed, 2 ignored), as did the focused tests. The clean-dev full workspace test row failed earlier at rootless_sessions::tests::stale_probe_discovery_removes_its_readiness_marker (ConnectionReset), so it did not reach the install suite. This does not prove the four SSH failures in the first fast gate were baseline failures; I am not classifying them as such.
A final full fast rerun is queued on compute01 at exact head
5f49cb562a, with the worktree target symlink retained. Queue position 8. Log: /home/claude/.cache/codex-scratch/j385/evidence/fast-final.log. The previous full gate's static-build row passed and its raw receipt remains attached above. No repository code changed since that gate.J385 implementation handoff: branch
fix-rustc-paths-421, head5f49cb562a24c3b0905dd8cdb6b349837c9d9de8, base9965911c8ac2848168f5947f623488c75631c320. One atomic commit, pushed. No merge or deployment.Root cause: the wrapper remaps its physical
pwd -Pcheckout root, while the control passed absolute source arguments containing the target symlink spelling; rustc compares prefixes literally. The control now resolves its scratch root before constructing source arguments. The gate exercises both physical and symlinked targets. The exact/infraternal/source.rsand stripped-artifact byte-equality assertions are unchanged. Red-first receipt and green physical/symlink controls are in the attached earlier receipts. No compiler flags or dependencies changed (duplicate dependency delta 0).Validation gap: the full fast gate passed static builds but failed four SSH install tests with
SetupRunning/ exit 73. Those exact failures were NOT reproduced on clean dev. Clean-dev focused cases and the complete Cargo install suite passed (108 passed, 2 ignored). The clean-dev workspace test row instead failed earlier inrootless_sessions::tests::stale_probe_discovery_removes_its_readiness_markerwith ConnectionReset. This demonstrates a separate clean-dev test failure, not a baseline reproduction of the four SSH failures. The requirement to baseline-qualify those exact failures remains unmet; do not treat the full gate as green. A redundant full rerun was cancelled while queued, by its recorded PID 1394404, before it acquired a slot.Quick pre-check receipt, verbatim:
compute01 used the worktree target symlink; layout.log records the live process environment. The remote source tree is now clean at the head SHA; source-head.log and gated-content.hashes record the source identity.
Full gate summary, verbatim:
Both shipping images also exclude the physical target prefix:
Shipping sizes: x86 28,171,984 bytes (+5,753,728 against the gate historical baseline); arm 25,305,312 bytes (+4,852,032). These historical deltas are not attributed to this scripts-only change. Raw baseline receipts are attached; red, quick, full fast, layout, and release-path receipts are already attached at issuecomment-87571. Job target cleanup follows; evidence is retained.
J385 cleanup complete: removed only this job’s target symlink, physical target directory, and initial j385-copy source copy. Evidence retained under /home/claude/.cache/codex-scratch/j385/evidence. Recorded queued launcher PIDs 1394117 and 1394404 are no longer running. Remote and local worktrees are clean at
5f49cb562a. The remaining limitation is the exact SSH-failure baseline qualification described in the finish receipt; no claim of a green full gate.