You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
seed: self-driven pin update removes src/main before compiling the fetch helper (exit 127) #1667
At main 334739d, updating an older src/main seed using that same path as WITH fails and removes the existing seed.
Observed command after pulling the new seed.lock:
WITH=$PWD/src/main src/main build :seed
The old binary was the previously pinned nightly-20260925-local-1-fa33bda543c2; the new pin is nightly-20260925-local-1-8d3cc360cf23.
[build] runner compiled 21.2s
pinned seed release (seed.lock): nightly-20260925-local-1-8d3cc360cf23
src/main is not the pinned seed; refetching
downloading seed from: https://github.com/withlang-dev/with/releases/download/nightly-20260925-local-1-8d3cc360cf23/with-darwin-aarch64
error: seed: seed-asset-https-fetch-helper failed with exit code 127
Afterward src/main no longer exists. Log: rss-budget/out/main-seed-refresh.log on the release host.
Source evidence (not yet debugger-confirmed): build/seed.w:231 removes output_path before seed_fetch_to_file at line 250. That function first compiles the HTTPS helper at line 108; lib/std/build.w:3074 obtains the compiler from WITH_BUILD_COMPILER. The ordering appears to remove the executable needed by the subsequent helper compilation. The same asset was fetched successfully when driven by a compiler outside the destination path.
Expected: retain the old seed until the replacement has downloaded and passed its digest checks, then publish it atomically. Failure should preserve the old executable. Cover the self-driven pin update and a failed download/verification, including the state of src/main after failure. Follow-up outside the completed #1665 RSS-policy change, per docs/handoff.md's file-during-the-hunt rule.
Activity
Build graph, seed, Sema and c_import fixes: stale-input records, seed…
ehartford commentedon Sep 26, 2026
Fixed on main by #1705 (db89bc5): the stale seed stays until the pinned one is downloaded and verified.