Skip to content

Commit 1540f94

Browse files
fix(gsbot): patch url (RUSTSEC-2026-0592); record chrono and derivative departures (#706)
## Summary Owner ruling by selector, 22 Nov: "patch url, record the rest". Two commits, each in its own change. 1. **`fix(gsbot): update url to 2.5.9`**: clears RUSTSEC-2026-0592 (`url` <= 2.5.8, `Url::origin()` recursion on `blob:` URLs). Only `bots/gsbot/Cargo.lock` changes: `url` 2.5.8 to 2.5.9, and `form_urlencoded` 1.2.2 to 1.2.3 with it. Done with `cargo update -p url --precise 2.5.9`, because plain `cargo update -p url` locked nothing here (stale index). 2. **`chore(departures)`**: adds `.machine_readable/departures.jsonl` (the ledger path in `DEPARTURES.adoc` section 5) with two `blocked` rows, one defect per row, each with a `grep-present` check that the package is still in `bots/gsbot/Cargo.lock`: - `gsbot-rustsec-2026-0543-chrono`: chrono 0.4.44 unmaintained, no safe upgrade. - `gsbot-rustsec-2024-0388-derivative`: derivative 2.2.0 unmaintained, no safe upgrade, pulled in by poise 0.6.2. - Both: "upstream serenity/poise/sqlx still depend; replace with jiff/time when they move". ## The GSBot audit and the two unmaintained advisories No `deny.toml` ignore entries are added (`deny.toml` still ignores nothing). `.github/workflows/rust.yml` runs `cargo deny … check advisories --warn unmaintained`, and RUSTSEC-2026-0543 (`chrono`) and RUSTSEC-2024-0388 (`derivative`) are both "unmaintained" advisories, so they only warn and do not fail the job. The `url` patch clears the one advisory that does fail it. The departure rows stay because the debt is real; a row records a defect, it is not a waiver of the gate. ## Test results - `cargo build --locked` in `bots/gsbot`: OK. `cargo test --locked`: all pass. - `departures.sh validate`: 2 rows valid. `departures.sh check` at this commit: 2 present, 0 RESOLVED, 0 unevaluated. - Not run locally: `cargo deny` (not installed here); the audit result comes from this PR's CI. ## Notes - This adds the ledger file only. It does not copy `departures.sh` / `issue-evidence.sh` into `scripts/` (adoption step 1) or wire `check` into a gate (step 3). Say if the owner wants those added. - Independent of #705 (the clippy fix) and #704. --- _Generated by [Claude Code](https://claude.ai/code)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Recorded two dependency advisories for unmaintained libraries; no safe upgrades are currently available. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 26ce231 commit 1540f94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.machine_readable/departures.jsonl‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{"added":"2026-11-22","blocked_on":"upstream serenity/poise/sqlx still depend; replace with jiff/time when they move","checks":[{"kind":"grep-present","path":"bots/gsbot/Cargo.lock","pattern":"^name = \"chrono\"$"}],"claim":"RUSTSEC-2026-0543: chrono 0.4.44 is unmaintained (all versions affected, no safe upgrade). bots/gsbot/Cargo.lock still resolves it, via gsbot itself and via serenity, poise and sqlx. The GSBot dependency audit runs with --warn unmaintained, so this is reported as a warning and does not fail the audit.","fix":"blocked","id":"gsbot-rustsec-2026-0543-chrono","repo":"hyperpolymath/gitbot-fleet","ruling":"bots/gsbot/deny.toml: no vulnerability advisories are ignored; the GSBot dependency audit in .github/workflows/rust.yml must pass"}
2+
{"added":"2026-11-22","blocked_on":"upstream poise still depends on derivative; clears when poise removes it or replaces it with a maintained derive crate","checks":[{"kind":"grep-present","path":"bots/gsbot/Cargo.lock","pattern":"^name = \"derivative\"$"}],"claim":"RUSTSEC-2024-0388: derivative 2.2.0 is unmaintained (no safe upgrade). bots/gsbot/Cargo.lock still resolves it, via poise 0.6.2. The GSBot dependency audit runs with --warn unmaintained, so this is reported as a warning and does not fail the audit.","fix":"blocked","id":"gsbot-rustsec-2024-0388-derivative","repo":"hyperpolymath/gitbot-fleet","ruling":"bots/gsbot/deny.toml: no vulnerability advisories are ignored; the GSBot dependency audit in .github/workflows/rust.yml must pass"}

0 commit comments

Comments
 (0)