Repository navigation
seed.lock: both Windows seeds bootstrap from v0.15.2.1 (#1081) - #1086
Merged
Merged
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-typedof 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, andwith testkilled the check at its own 60s ceiling. Now: the check gets the build graph's 300s and rc 124 reads "check timed out";with testechoes 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 hadpath[0] == '/';compiler.Runtimenow 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.wpins 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_modeswith the nestedwith build), and the scratch drive-path target.