Repository navigation
docs(departures)!: one named section per departure, grouped by area - #7
Conversation
Each departure is a section with a stable named anchor (for example #minimum-release-age) instead of a numbered table row. The conformance harness cites departures by that name: its rules, triage links and checks move from numbers to anchors. The write-safety entry no longer claims that lockfiles are skipped. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| Rust | Oct 21, 2026 10:18p.m. | Review ↗ | |
| JavaScript | Oct 21, 2026 10:18p.m. | Review ↗ | |
| Shell | Oct 21, 2026 10:18p.m. | Review ↗ | |
| Secrets | Oct 21, 2026 10:18p.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
| pub rule: String, | ||
| pub row: u32, | ||
| /// The departure's section anchor in docs/renovate/departures.md. | ||
| pub id: String, |
There was a problem hiding this comment.
🟡 Triage consumers receive incompatible version-one JSON
When a difference maps to a departure, Departure.id replaces row while Triage.schema_version remains 1. Consumers expecting version-one departure rows cannot read the new triage output.
Learn more
The conformance command serializes Triage into triage.json in run. The same report still sets schema_version: 1 in compare, even though mapped differences now serialize id instead of row. A reader using the schema version to choose the old shape will accept the file and then fail to find row.
Example: A consumer reads { "schemaVersion": 1, "differences": [{ "departure": { "id": "minimum-release-age", "link": "..." } }] }. It accepts version 1, then its departure.row lookup fails instead of yielding the former numeric row.
Recommended fix: Bump the triage output schema version for this incompatible field change, and update the CLI/test contract and any documented consumers together. Check whether the separately versioned rules JSON also needs a version bump for its numeric-to-string departure change.
Was this helpful? React with 👍 or 👎 to provide feedback.
| are mapped to [explicit-defaults](../docs/renovate/departures.md#explicit-defaults). An extra pin must | ||
| keep the current value/version, add a digest to an unpinned dependency and have | ||
| no group. Release-age differences map to [departure 23](../docs/renovate/departures.md#departure-23) | ||
| no group. Release-age differences map to [minimum-release-age](../docs/renovate/departures.md#minimum-release-age) | ||
| only when timestamp evidence places a newer patchula target at least 24 and less than 96 | ||
| hours old (an empirical ceiling, not Renovate's exact rule) at Renovate's own package-snapshot log timestamp, under an explicit | ||
| 24-hour policy, with an older Renovate proposal in | ||
| the same class. Exact npm major range edits map narrowly to | ||
| [departure 25](../docs/renovate/departures.md#departure-25) with identical resolved targets | ||
| [npm-range-edits](../docs/renovate/departures.md#npm-range-edits) with identical resolved targets |
| || !include_str!("../../docs/renovate/departures.md") | ||
| .lines() | ||
| .any(|line| line.starts_with(&format!("| {} |", rule.departure))) | ||
| .any(|line| line.ends_with(&format!("{{#{}}}", rule.departure))) |
#minimum-release-age, opening with Renovate / Count Patchula / Why lines and then its detail.#departure-Nanchors are gone. The conformance harness's rules (conformance/departures.json), triage report links and fields, and tests use the anchor names; it checks that each cited departure has a{#name}section.🤖 Generated with Claude Code