Commit dfe7bbc
fix(ci): green the test/clippy jobs broken by the sweep
Three CI-blocking fixes surfaced by the failing checks (clippy + test on
all OSes + coverage + test-release):
- clippy: `map_or(true, ..)` -> `is_none_or(..)` in manifest/schema.rs
(clippy 1.93 `unnecessary_map_or`, denied via `-D warnings`).
- rollback_dispatch_branch_golang: the sweep added a project-local go
redirect rollback backend. In local mode go rolls back by dropping the
`replace` redirect and leaves the module cache pristine, so it never
restores cache bytes (verified: local mode reports success without
touching the file; global mode genuinely restores). The dispatch test's
byte-restore contract only holds on the in-place/global path — the go
analog of the cargo test's `vendor/` in-place layout — so drive that one
fixture in `--global` mode.
- output_helpers_e2e: the sweep's severity-colour-inversion fix flipped
critical->bright-red(91)/high->red(31) and updated the in-crate unit
tests, but this integration file still asserted the old swapped codes.
cargo test is fail-fast, so it aborted on the golang failure before ever
reaching this binary in CI; surfaced via a local `--no-fail-fast` run.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6cceb9a commit dfe7bbc
3 files changed
Lines changed: 45 additions & 16 deletions
File tree
- crates
- socket-patch-cli/tests
- socket-patch-core/src/manifest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | | - | |
433 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
434 | 447 | | |
435 | 448 | | |
436 | 449 | | |
| |||
439 | 452 | | |
440 | 453 | | |
441 | 454 | | |
442 | | - | |
443 | | - | |
444 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
445 | 460 | | |
446 | 461 | | |
447 | 462 | | |
| |||
455 | 470 | | |
456 | 471 | | |
457 | 472 | | |
458 | | - | |
| 473 | + | |
459 | 474 | | |
460 | 475 | | |
461 | 476 | | |
| |||
524 | 539 | | |
525 | 540 | | |
526 | 541 | | |
527 | | - | |
| 542 | + | |
528 | 543 | | |
529 | 544 | | |
530 | 545 | | |
| |||
575 | 590 | | |
576 | 591 | | |
577 | 592 | | |
| 593 | + | |
578 | 594 | | |
579 | 595 | | |
580 | 596 | | |
| |||
605 | 621 | | |
606 | 622 | | |
607 | 623 | | |
| 624 | + | |
608 | 625 | | |
609 | 626 | | |
610 | 627 | | |
| |||
626 | 643 | | |
627 | 644 | | |
628 | 645 | | |
| 646 | + | |
629 | 647 | | |
630 | 648 | | |
631 | 649 | | |
| |||
694 | 712 | | |
695 | 713 | | |
696 | 714 | | |
| 715 | + | |
697 | 716 | | |
698 | 717 | | |
699 | 718 | | |
| |||
716 | 735 | | |
717 | 736 | | |
718 | 737 | | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
719 | 743 | | |
720 | 744 | | |
721 | 745 | | |
| |||
750 | 774 | | |
751 | 775 | | |
752 | 776 | | |
| 777 | + | |
753 | 778 | | |
754 | 779 | | |
755 | 780 | | |
| |||
778 | 803 | | |
779 | 804 | | |
780 | 805 | | |
| 806 | + | |
781 | 807 | | |
782 | 808 | | |
783 | 809 | | |
| |||
805 | 831 | | |
806 | 832 | | |
807 | 833 | | |
| 834 | + | |
808 | 835 | | |
809 | 836 | | |
810 | 837 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
28 | | - | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
56 | | - | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments