Repository navigation
Commit bca8248
committed
Fix Windows-only scala_cli liveness test failure
liveness_needs_the_committed_tree_and_no_shadowing_repository (added
in #2030) has failed the nightly Windows test leg since it landed. It
builds Bloop evidence from root.canonicalize(), which on Windows
returns a \\?\ verbatim path. Real Bloop never writes that form, and
scala_evidence::is_stale strips it from the root before matching, so
none of the listed sources sat under the root, project.scala read as
unlisted, the evidence counted as stale and liveness stayed Ok(true)
where the test wants scala_cli_repository_shadowed.
Strip the verbatim prefix in the test, as hosted/sbt_reads.rs does,
so the fixture matches what Bloop writes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011f9aeQCvWWdzt7JSfNCfxa1 parent c2be854 commit bca8248
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
690 | 692 | | |
691 | 693 | | |
692 | 694 | | |
| |||
0 commit comments