Say when the seed gate fires and what the fixture seeds
The gate runs before cargo build is reached, which is what
sealed_with_a_partial_seed_fails_before_the_build asserts, so neither doc
should say the failure arrives while the tool is compiling. The fixture
seeds one of the four pinned files and its failure message now says so.
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
3 files changed,
+5 insertions,
-5 deletions
| 53 |
53 |
|
build/build-iso.sh --build-arg QUASI_BASES=sealed
|
| 54 |
54 |
|
|
| 55 |
55 |
|
`sealed` passes `--offline` to the cut, so the cut may not reach the network. If
|
| 56 |
|
- |
the seed is short of a file the pins name, the build says which files while the
|
| 57 |
|
- |
tool is still compiling, rather than at the cut. Use it on a build host with a
|
|
56 |
+ |
the seed is short of a file the pins name, the build says which files before the
|
|
57 |
+ |
tool is compiled, rather than at the cut. Use it on a build host with a
|
| 58 |
58 |
|
warm cache. The default, `fetch`, uses whatever is seeded and downloads the
|
| 59 |
59 |
|
rest, which is what a stranger with an empty directory gets.
|
| 60 |
60 |
|
|
| 133 |
133 |
|
|
| 134 |
134 |
|
build/build-iso.sh --build-arg QUASI_BASES=sealed
|
| 135 |
135 |
|
|
| 136 |
|
- |
If the seed is short of a file the pins name, that fails while the tool is still
|
| 137 |
|
- |
building, listing what is missing, rather than at the cut. It seals the cut and
|
|
136 |
+ |
If the seed is short of a file the pins name, that fails before the tool is
|
|
137 |
+ |
built, listing what is missing, rather than at the cut. It seals the cut and
|
| 138 |
138 |
|
nothing else: the build still clones two repositories, resolves crates, installs
|
| 139 |
139 |
|
packages, and cuts the terminal's face.
|
| 140 |
140 |
|
|
| 932 |
932 |
|
let output = run_cut(&scratch, "sealed");
|
| 933 |
933 |
|
assert!(
|
| 934 |
934 |
|
!output.status.success(),
|
| 935 |
|
- |
"a sealed build with three of the four pinned files was allowed to proceed",
|
|
935 |
+ |
"a sealed build with one of the four pinned files was allowed to proceed",
|
| 936 |
936 |
|
);
|
| 937 |
937 |
|
let stderr = String::from_utf8_lossy(&output.stderr);
|
| 938 |
938 |
|
for missing in &PINNED[1..] {
|