Skip to content

[DO NOT MERGE] Verify #29627 test catches bug without the fix#29640

Closed
fmeum wants to merge 2 commits into
bazelbuild:masterfrom
fmeum:verify-test-without-fix
Closed

[DO NOT MERGE] Verify #29627 test catches bug without the fix#29640
fmeum wants to merge 2 commits into
bazelbuild:masterfrom
fmeum:verify-test-without-fix

Conversation

@fmeum
Copy link
Copy Markdown
Collaborator

@fmeum fmeum commented May 24, 2026

Verification-only PR for #29627. Reverts the SymlinkForest fix but keeps the new testRepoWithWorkspaceSymlinkSurvivesWorkspaceMove* tests, to confirm the test fails on Windows without the fix (matching the original reproducer behavior).

Will be closed once verification is done.

This is needed to correctly resolve rewritten cross-repo symlinks that
arise as action inputs on Windows, which resolves symlinks logically
(unlike Unix).

Skipped on filesystems that can only emulate symlinks (Windows without
Developer Mode / symlink privilege): a junction would create a cycle
through the `bazel-<workspace>` convenience symlink for any tool that
walks the workspace, and is also unnecessary since `replantSymlinks`
falls back to non-relative targets under the same condition.

Fixes bazelbuild#29515
@fmeum fmeum force-pushed the verify-test-without-fix branch 3 times, most recently from cf50aff to 208a2f8 Compare May 24, 2026 21:38
@fmeum fmeum force-pushed the verify-test-without-fix branch from 208a2f8 to 5c9e19f Compare May 24, 2026 21:50
@fmeum
Copy link
Copy Markdown
Collaborator Author

fmeum commented May 24, 2026

Verification confirmed: this branch with the Java fix reverted but the new test kept makes the test fail on Linux with AssertionError: expected workspace symlink to be planted at .../external/_main. That proves the new test correctly catches the absence of the SymlinkForest fix in #29627. Closing.

@fmeum fmeum closed this May 24, 2026
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