Commit 3ee3e42
Keep CF registry tests inside the workspace lint gate
The registry round-trip test used four bare unwrap calls. CI runs make lint with clippy::unwrap_used denied across every target and feature, so all three platforms rejected the current PR Head before reaching the remaining checks.
This decision gives each asserted registry invariant an explicit panic message without changing production behavior or weakening the lint policy.
Constraint: Test failures must still identify whether stable-ID conversion, round-trip decoding, put, or delete violated the registry contract.
Rejected: Allow clippy::unwrap_used in the test module | The workspace gate intentionally applies the rule to all targets.
Confidence: high
Scope-risk: narrow
Tested: WSL make lint; WSL exact CF registry batch test; cargo fmt --all -- --check; git diff --check.
Related: #421
Co-authored-by: OmX <omx@oh-my-codex.dev>
Signed-off-by: Xin.Zh <alexstocks@foxmail.com>1 parent ec09722 commit 3ee3e42
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
| 591 | + | |
591 | 592 | | |
592 | 593 | | |
593 | | - | |
| 594 | + | |
| 595 | + | |
594 | 596 | | |
595 | 597 | | |
596 | 598 | | |
| |||
599 | 601 | | |
600 | 602 | | |
601 | 603 | | |
602 | | - | |
| 604 | + | |
603 | 605 | | |
604 | 606 | | |
605 | | - | |
| 607 | + | |
606 | 608 | | |
607 | 609 | | |
608 | 610 | | |
| |||
0 commit comments