Repository navigation
chore(tools): align RIPR 0.10.0 finding IDs #738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -83,9 +83,9 @@ Some sensor limitations are known and tracked upstream without blocking | |||||||||||||||
|
|
||||||||||||||||
| | Limitation | Upstream issues | Local impact | | ||||||||||||||||
| |---|---|---| | ||||||||||||||||
| | ripr line-keyed `finding_id`s rot on code motion | `ripr-swarm#1053` | suppression entries may go dead after extraction; re-verify after edits | | ||||||||||||||||
| | ripr content-addressed `finding_id`s follow code across line motion | `ripr-swarm#1093` | re-verify suppressions after semantic edits and RIPR upgrades | | ||||||||||||||||
| | ripr cannot trace cross-module test paths (false-negatives) | `ripr-swarm#1054` | some predicate probes need suppression with the test name as oracle witness | | ||||||||||||||||
| | ripr suppressions schema rejects `created`/`review_after` fields | (ripr 0.8.0) | per-entry dating carried by the `non-rust-ripr-suppressions` receipt instead (#586) | | ||||||||||||||||
| | ripr suppressions schema rejects `created`/`review_after` fields | #586 | per-entry dating carried by the `non-rust-ripr-suppressions` receipt instead | | ||||||||||||||||
|
Comment on lines
+86
to
+88
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win Inconsistent issue-reference format in the instability table. Row 88's upstream-issue column reads bare ✏️ Suggested clarification-| ripr suppressions schema rejects `created`/`review_after` fields | `#586` | per-entry dating carried by the `non-rust-ripr-suppressions` receipt instead |
+| ripr suppressions schema rejects `created`/`review_after` fields | ub-review#586 | per-entry dating carried by the `non-rust-ripr-suppressions` receipt instead |📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
| | ripr `cfg(test)` skipping not implemented | `ripr-swarm#1055` | test-side probes need suppression twins | | ||||||||||||||||
|
|
||||||||||||||||
| These are not "filed and forgotten" — they are tracked here so local | ||||||||||||||||
|
|
||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,7 +77,7 @@ glob = ".ripr/suppressions.toml" | |
| category = "configuration-and-policy" | ||
| language = "toml" | ||
| owner = "ub-review/core" | ||
| reason = "RIPR's durable suppression manifest; every entry carries owner and reason per the suppression-health contract, and suppressed findings stay visible as suppressed in the gate receipt. NOTE: ripr 0.8.0's suppressions schema does not support per-entry created/review_after fields (issue #586), so the dating obligation is carried by this receipt's review_after/expires rather than per-entry. The file's own header documents the rot risk (line-keyed ids break on code motion; >=6 rot instances recorded) and the upstream ripr-swarm#1053/#1054/#1055 work that would enable per-entry dating." | ||
| reason = "RIPR's durable suppression manifest; every entry carries owner and reason per the suppression-health contract, and suppressed findings stay visible as suppressed in the gate receipt. Content-addressed IDs follow code rather than source lines; the receipt's review_after/expires carries the dating obligation. Re-verify entries after semantic edits and RIPR upgrades." | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a suppressed finding's code moves, the current Useful? React with 👍 / 👎. |
||
| created = "2026-06-07" | ||
| review_after = "2026-07-22" | ||
| expires = "2026-12-22" | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -31,7 +31,11 @@ fn review_image_tool_installer_uses_tool_dir_as_install_prefix() -> Result<()> { | |||||||||||||||||||
| )?; | ||||||||||||||||||||
| assert!(script.contains("UB_REVIEW_TOKMD_VERSION:-1.12.0")); | ||||||||||||||||||||
| assert!(script.contains("UB_REVIEW_CARGO_ALLOW_VERSION:-0.1.8")); | ||||||||||||||||||||
| assert!(script.contains("UB_REVIEW_RIPR_VERSION:-0.8.0")); | ||||||||||||||||||||
| assert!(script.contains("UB_REVIEW_RIPR_VERSION:-0.10.0")); | ||||||||||||||||||||
| let github_runner_script = std::fs::read_to_string("scripts/install-gh-runner-tools.sh")?; | ||||||||||||||||||||
| let doctor_source = std::fs::read_to_string("src/post_run_utils.rs")?; | ||||||||||||||||||||
| assert!(github_runner_script.contains("UB_REVIEW_RIPR_VERSION:-0.10.0")); | ||||||||||||||||||||
| assert!(doctor_source.contains("STANDARD_IMAGE_RIPR_VERSION: &str = \"0.10.0\"")); | ||||||||||||||||||||
|
Comment on lines
+35
to
+38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Relying on relative paths like
Suggested change
Comment on lines
+34
to
+38
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value Consider a dedicated test for the RIPR pin-alignment regression check. This cross-file consistency assertion (comparing 🤖 Prompt for AI Agents |
||||||||||||||||||||
| assert!(script.contains("UB_REVIEW_UNSAFE_REVIEW_VERSION:-0.3.4")); | ||||||||||||||||||||
| assert!(script.contains( | ||||||||||||||||||||
| "install_tool cargo-allow cargo-allow \"${UB_REVIEW_CARGO_ALLOW_VERSION:-0.1.8}\"" | ||||||||||||||||||||
|
|
@@ -3442,10 +3446,10 @@ fn doctor_reports_advisory_stale_tool_fix_without_requiring_core_tools() -> Resu | |||||||||||||||||||
| .find(|line| line.trim_start().starts_with("ripr ")) | ||||||||||||||||||||
| .context("doctor output missing ripr tool row")?; | ||||||||||||||||||||
| assert!(ripr_row.contains("version=ripr 0.7.9"), "{ripr_row}"); | ||||||||||||||||||||
| assert!(ripr_row.contains("expected=0.8.0"), "{ripr_row}"); | ||||||||||||||||||||
| assert!(ripr_row.contains("expected=0.10.0"), "{ripr_row}"); | ||||||||||||||||||||
| assert!(output.contains("Fixes:"), "{output}"); | ||||||||||||||||||||
| assert!( | ||||||||||||||||||||
| output.contains("ripr version drift: cargo install ripr --locked --version 0.8.0 --force"), | ||||||||||||||||||||
| output.contains("ripr version drift: cargo install ripr --locked --version 0.10.0 --force"), | ||||||||||||||||||||
| "{output}" | ||||||||||||||||||||
| ); | ||||||||||||||||||||
| assert!(!output.contains("required core review tool versions drifted")); | ||||||||||||||||||||
|
|
@@ -3526,7 +3530,7 @@ fn doctor_require_core_tools_fails_stale_cargo_allow_version() -> Result<()> { | |||||||||||||||||||
| &[ | ||||||||||||||||||||
| ("tokmd", "1.12.0"), | ||||||||||||||||||||
| ("cargo-allow", "0.1.7"), | ||||||||||||||||||||
| ("ripr", "0.8.0"), | ||||||||||||||||||||
| ("ripr", "0.10.0"), | ||||||||||||||||||||
| ("unsafe-review", "0.3.4"), | ||||||||||||||||||||
| ("ast-grep", "0.0.0"), | ||||||||||||||||||||
| ("actionlint", "1.7.12"), | ||||||||||||||||||||
|
|
@@ -3574,7 +3578,7 @@ fn doctor_require_core_tools_fails_stale_actionlint_version() -> Result<()> { | |||||||||||||||||||
| &[ | ||||||||||||||||||||
| ("tokmd", "1.12.0"), | ||||||||||||||||||||
| ("cargo-allow", "0.1.8"), | ||||||||||||||||||||
| ("ripr", "0.8.0"), | ||||||||||||||||||||
| ("ripr", "0.10.0"), | ||||||||||||||||||||
| ("unsafe-review", "0.3.4"), | ||||||||||||||||||||
| ("ast-grep", "0.0.0"), | ||||||||||||||||||||
| ("actionlint", "1.7.0"), | ||||||||||||||||||||
|
|
@@ -7129,7 +7133,7 @@ fn write_fake_core_review_tools(dir: &Path, tokmd_version: &str) -> Result<()> { | |||||||||||||||||||
| &[ | ||||||||||||||||||||
| ("tokmd", tokmd_version), | ||||||||||||||||||||
| ("cargo-allow", "0.1.8"), | ||||||||||||||||||||
| ("ripr", "0.8.0"), | ||||||||||||||||||||
| ("ripr", "0.10.0"), | ||||||||||||||||||||
| ("unsafe-review", "0.3.4"), | ||||||||||||||||||||
| ("ast-grep", "0.0.0"), | ||||||||||||||||||||
| ("actionlint", "1.7.12"), | ||||||||||||||||||||
|
|
||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation of this line was accidentally removed during the version update. It should be indented with two spaces to align correctly with the rest of the list item.