Skip to content

seed.lock: both Windows seeds bootstrap from v0.15.2.1 (#1081) - #1086

Merged
ehartford merged 5 commits into
mainfrom
seed-windows-x86_64-v0.15.2.1
Sep 7, 2026
Merged

ehartford merged 5 commits into
mainfrom
seed-windows-x86_64-v0.15.2.1

Conversation

@ehartford

@ehartford ehartford commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Moves both Windows seed pins (lock + workflow pins via tools/bump_seed_pins.w) to v0.15.2.1: x86_64 built natively by the ladder v0.15.1.8 → af7db8c+fix → main (fixpoint-verified at the tag); aarch64 cross-built on the x86_64 box from ea37727 (v0.15.2.1 + #1089's embed-slot fix), an intermediate seed. This PR's two Windows lanes are the acceptance tests: each fetches its new seed and builds main natively.

Two fixes the first Windows runs surfaced

The x86_64 lane's phase-test red was the harness, not the compiler. dump_typed_top_level_string_sidecar_key.w (a --dump-typed of the compiler's Frontend, 700k lines) reported "exit code 1; stderr=D:/a/..." and nothing else. A stage1 built from the same tree passes it in 19s idle on a 2-core box and 47s beside three siblings; the failing run's compile steps were 40% slower than the passing run's, and with test killed the check at its own 60s ceiling. Now: the check gets the build graph's 300s and rc 124 reads "check timed out"; with test echoes the child's stderr under a check failure; the build-graph test reporter prints the failing test's stderr tail, so a CI log is self-diagnosing.

The build graph's absolute-path test was POSIX-only, like #1082's. Reproducing the reporter with a scratch build.w whose Test target names the compiler by drive path hit "could not spawn": compiler=C:/... was joined onto the project root. Fifteen sites had path[0] == '/'; compiler.Runtime now owns one predicate (POSIX root, drive, UNC, drive-root-relative \) and the three lexical normalizers keep a drive or UNC root under ... test/internals/path_absolute_test.w pins the matrix.

Verified locally with a stage1 from this tree: the new internals test, the phase and internals batteries, the project-config fixtures (behav_project_overflow_modes with the nested with build), and the scratch drive-path target.

v0.15.2.1 carries with-windows-x86_64.exe, built natively on the Windows
box by the seed ladder v0.15.1.8 -> af7db8c+fix -> main (:fixpoint
verified at the tag; provenance sidecar on the release). It evaluates
main's build.w, which v0.15.1.8 could not since 0173d08. The two
windows-x86_64 pins follow the lock (tools/bump_seed_pins.w).
windows-aarch64 stays on v0.15.1.8 until its cross-built v0.15.2.1 seed
is published.
@ehartford ehartford changed the title seed.lock: windows-x86_64 bootstraps from v0.15.2.1 (#1081) seed.lock: both Windows seeds bootstrap from v0.15.2.1 (#1081) Sep 7, 2026
v0.15.2.1 now carries with-windows-aarch64.exe: cross-built
(aarch64-pc-windows-msvc) on the native windows-x86_64 box from
ea37727 -- v0.15.2.1 plus the #1089 embedded-slot fix the cross link
needs -- with the published sdk-windows-aarch64 SDK and xwin's arm64
import libs; llvm-readobj: IMAGE_FILE_MACHINE_ARM64. An intermediate
seed, not fixpoint-verified: this pin's own windows-aarch64 lane is the
native stage1 -> stage2 -> stage3 bootstrap that verifies it. Both
aarch64 pins follow the lock (tools/bump_seed_pins.w).
)

Fifteen sites decided "join onto the root unless absolute" or "reject a
path that escapes the project" with `path[0] == '/'`. On Windows every
drive path was therefore relative: #1091 fixed the one instance that
dropped [build] settings (the with.toml walk); the build graph had the
same test, so a Test target's `compiler=C:/.../with.exe` was joined onto
the project root and the target reported "could not spawn". The three
lexical normalizers (Resolve's module key, TrackedInputs, ComptimeEval's
tool path) also prefixed "/" only for a POSIX root and let `..` pop a
drive or a UNC share.

compiler.Runtime now owns runtime_path_is_absolute (POSIX root, drive
`X:/` or `X:\`, UNC `\srv\share`, drive-root-relative `\x`) with the
root part count and prefix a normalizer needs; every site reads it.
test/internals/path_absolute_test.w pins the matrix, the build-graph
resolution and containment, and the normalizers' root handling.

Verified with a stage1 built from this tree: the internals matrix, the
phase battery, and a scratch build.w whose Test target names the
compiler by drive path (spawned; before: could not spawn).
…st names its cause

#1086's windows x86_64 lane failed native-phase-tests on
dump_typed_top_level_string_sidecar_key.w (a --dump-typed of the
compiler's Frontend, 700k lines) with "exit code 1; stderr=D:/a/..." and
nothing else. A stage1 built from the same tree passes it in 19s idle on
a 2-core box and 47s beside three siblings; the failing run's compile
steps were 40% slower than the passing run's. The harness killed the
check at its own 60s ceiling and the kill read as a compile failure.

Three silences removed:
- `with test` gives a check the build graph's 300s, and reports rc 124 as
  "check timed out after 300s" rather than as a failing check.
- `with test` echoes the child's stderr after a check failure, so the
  diagnostic (or panic) behind "exit code 1" is in the log.
- The build graph's test-target reporter prints the last 40 lines of
  the failing test's stderr file, so a CI log is self-diagnosing.

main.w's test-binary absolutizer reads runtime_path_is_absolute too.

Verified with a stage1 built from this tree: a scratch build.w Test
target with a failing test now logs the harness verdict and the
compiler's diagnostic beneath it.
@ehartford
ehartford merged commit 8a729db into main Sep 7, 2026
5 checks passed
@ehartford
ehartford deleted the seed-windows-x86_64-v0.15.2.1 branch September 24, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant