Repository navigation
Commit f420739
* CI: give the scan suite's covgap files real homes
The scan test binary still carried four coverage-gap files, two of
which tested other commands:
- covgap_ecosystem_dispatch.rs held the deno apply and rollback
dispatch checks as adapted copies of ecosystem_dispatch_e2e.rs's
oracles. They now live in that file and use its shared oracles;
RollbackFixture takes scope flags so the deno case can pass
--global-prefix.
- covgap_commands_fetch_stage.rs drove apply's staging output. Its
cold-cache fetch duplicated apply_network.rs, so what stays is one
render check per message family in apply_render.rs (the offline
no-local-source report, the download result line) plus a new
--json check in apply_failure_paths.rs that the offline bail
reports the offline_missing_sources warning code, which no CLI test
asserted before.
- coverage_fix_scan_discovery_corrupt_ledger.rs and
covgap_commands_scan_vendor_flow.rs already asserted through --json;
they are renamed scan_prune_corrupt_vendor_ledger.rs and
scan_vendor_flow.rs and parse through common::envelope.
Test-only; no production change and no new test binary.
Refs #1089
Assisted-by: Claude Code:claude-opus-5-5
* CI: fold review fixes into the apply staging tests
- The offline --json bail already had a test in
apply_silent_staging_errors.rs, so the new copy is dropped and that
test now also checks the offline_missing_sources warning code, that
nothing is applied, and that the manifest and .socket/blobs are left
as they were.
- That file's private sourceless-manifest writer is replaced by the
shared write_sourceless_npm_patches fixture.
- The offline report lists purls in no fixed order, so the render
check counts five distinct fixture purls instead of a prefix match.
- scan_vendor_flow.rs parses every envelope through common::envelope,
and the deno apply runner takes env as (String, String) like the
rollback runner.
Refs #1089
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 717b4a4 commit f420739
9 files changed
Lines changed: 250 additions & 597 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
429 | 433 | | |
430 | 434 | | |
431 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 24 | + | |
| 25 | + | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
| |||
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 42 | | |
61 | 43 | | |
62 | 44 | | |
| |||
75 | 57 | | |
76 | 58 | | |
77 | 59 | | |
78 | | - | |
| 60 | + | |
79 | 61 | | |
80 | 62 | | |
81 | 63 | | |
| |||
96 | 78 | | |
97 | 79 | | |
98 | 80 | | |
99 | | - | |
| 81 | + | |
100 | 82 | | |
101 | 83 | | |
102 | 84 | | |
| |||
142 | 124 | | |
143 | 125 | | |
144 | 126 | | |
145 | | - | |
| 127 | + | |
| 128 | + | |
146 | 129 | | |
147 | 130 | | |
148 | 131 | | |
| |||
152 | 135 | | |
153 | 136 | | |
154 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
0 commit comments