Commit df48006
authored
local_crate_repository: mark non-reproducible (#129)
`local_crate_repository` symlinks files from the main workspace into its
external repo. Bazel >= 9.0.1 replants those symlinks as relative
`..\_main\...` paths when placing reproducible repos in the contents
cache. On Windows the replanted paths dangle from the action execroot
(no `execroot/_main/external/_main`), so actions fail to read the crate
sources.
Mark these repos non-reproducible unconditionally so the original
absolute symlinks survive on every platform. The tradeoff is loss of
remote-repo-contents-cache eligibility; the only per-invocation work
that re-runs on a cold output_base is the toml2json parse and
BUILD.bazel generation, which is negligible.
See bazelbuild/bazel#29515.1 parent 804a0bf commit df48006
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
0 commit comments