Skip to content

build: the invariance fixture copies lib, never links it - #2836

Merged
ehartford merged 1 commit into
mainfrom
invariance-no-link
Oct 30, 2026
Merged

ehartford merged 1 commit into
mainfrom
invariance-no-link

Conversation

@ehartford

@ehartford ehartford commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

The invariance targets linked the tree's lib into out/test-graph/invariance-*/repo/lib and left the link there.

On Windows the pinned seed's runtime reads a directory link as the directory, so the driver overflowed its stack (0xC00000FD, exit 253) walking those links. This killed the windows-x86_64 :release-checks of seed cut nightly-20261030-local-2-507c222deee5 twice. The minidump shows GetFileAttributesW under a two-frame recursion, and the four repo\lib links were present at each crash.

The fixture now copies lib (10 MB, beside the src copy it already makes).

Verification:

  • :invariance-let-parser green on darwin; repo/lib is a directory.
  • Windows (win10, W:\wtr): :release-checks rc=0 on 698760c, and no directory links under out/test-graph afterwards.
  • Battery green on 698760c.

The invariance targets linked the tree's lib into their repo copy under
out/test-graph and left the link. The pinned seed's runtime on Windows
reads a directory link as the directory, so the driver overflowed its
stack (0xC00000FD, exit 253) walking those links in the same or the next
build: the seed cut nightly-20261030-local-2's windows-x86_64
:release-checks died twice on W:\wtr (minidump: GetFileAttributesW under
a two-frame recursion; the four repo\lib <SYMLINKD> were present at each
crash). lib is 10 MB beside the src copy the fixture already makes.

Verified: :invariance-let-parser green, repo/lib a directory.
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on 698760c (seed-driven). Windows :release-checks rc=0 on 698760c (541 s, all invariance targets ran).

@ehartford
ehartford marked this pull request as ready for review October 30, 2026 06:27
@ehartford
ehartford merged commit 6a97f6c into main Oct 30, 2026
@ehartford
ehartford deleted the invariance-no-link branch October 30, 2026 06:27
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