Commit 07b1547
committed
fixup: allow clippy lints in tests, skip unparseable build products
Address CI failures and review feedback:
- Add #[allow(clippy::unwrap_used, clippy::expect_used)] to the test
module — the crate-level deny triggers on test helpers using unwrap().
- Replace collect::<anyhow::Result<_>>()? with filter_map + warn log
for build product parsing. A single corrupt DB row (e.g. legacy
product with a non-store path) should not abort the entire cached
build — log and skip instead, consistent with how malformed build
outputs are already skipped via `let Ok(mut res) ... else { continue }`
on the line above.
- Fix import ordering (rustfmt).1 parent fd3543d commit 07b1547
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| 747 | + | |
747 | 748 | | |
748 | 749 | | |
749 | 750 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2060 | 2060 | | |
2061 | 2061 | | |
2062 | 2062 | | |
2063 | | - | |
2064 | | - | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
2065 | 2075 | | |
2066 | 2076 | | |
2067 | 2077 | | |
| |||
0 commit comments