Skip to content

chore(deps): ignore unmaintained chrono advisories in cargo-deny - #1868

Merged
jdx merged 1 commit into
mainfrom
fix/deny-chrono
Nov 18, 2026
Merged

jdx merged 1 commit into
mainfrom
fix/deny-chrono

Conversation

@jdx

@jdx jdx commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

The daily cargo deny check advisories run on main fails because RustSec now flags chrono (RUSTSEC-2026-0543) and chrono-tz (RUSTSEC-2026-0555) as unmaintained. Neither has a safe upgrade; they arrive via expr-lang, rmcp and schemars, so this adds both to the deny.toml ignore list with reasons. cargo deny check advisories passes locally.

Fixes #1866.

🤖 Generated with Claude Code


Note

Low Risk
Only updates cargo-deny advisory ignore policy; no runtime or dependency version changes.

Overview
Adds two RustSec advisory exceptions in deny.toml so cargo deny check advisories no longer fails on unmaintained chrono (RUSTSEC-2026-0543) and chrono-tz (RUSTSEC-2026-0555). Each entry includes a short reason noting there is no safe upgrade and that these crates are transitive (e.g. via expr-lang, rmcp, schemars).

This is a CI/config-only change: it documents accepted risk for unmaintained transitive deps rather than altering application code or versions.

Reviewed by Cursor Bugbot for commit 2f22c42. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • Chores
    • Updated project security review settings. This maintenance change does not alter the app’s features or behavior, so there are no new user-facing capabilities or workflow changes in this release.

RUSTSEC-2026-0543 (chrono) and RUSTSEC-2026-0555 (chrono-tz) have no safe upgrade and arrive via expr-lang, rmcp and schemars.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request adds reasoned ignores in deny.toml for RustSec advisories affecting chrono and chrono-tz. It does not change public entities.

Changes: RustSec advisory ignores

Layer / File(s) Summary
Add advisory ignores
deny.toml
Adds ignore entries for RUSTSEC-2026-0543 and RUSTSEC-2026-0555, with reasons stating that no safe upgrade is available.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • jdx/hk#1842: Changes when the cargo-deny advisory check runs in CI; this pull request changes the advisory ignore list. Both address the failing advisory check.
Merge Risk: Minimal · up to 2f22c

This change only silences two unmaintained-crate advisories in the dependency check, each with a documented reason. It does not alter runtime behavior, and it is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: adding ignore entries for unmaintained chrono advisories in cargo-deny. The raw summary says deny.toml ignores RUSTSEC-2026-0543 and RUSTSEC-2026-0555, and the objectives s…
Linked Issues check Passed Issue #1866 asks to fix the failing cargo deny check advisories run by either updating the affected crate or ignoring the advisory in deny.toml with a reason. The issue states that no safe upgrade…
Out of Scope Changes check Passed The whole-PR diff against the merge base changes only deny.toml, with 4 added lines. Every added line is an ignore entry for RUSTSEC-2026-0543 or RUSTSEC-2026-0555, the two advisories named in #1866…
Full details: Title check

Explanation

The title names the change: adding ignore entries for unmaintained chrono advisories in cargo-deny. The raw summary says deny.toml ignores RUSTSEC-2026-0543 and RUSTSEC-2026-0555, and the objectives say the PR adds chrono and chrono-tz to the ignore list with reasons. The title matches the main change and is specific.

Full details: Linked Issues check

Explanation

Issue #1866 asks to fix the failing cargo deny check advisories run by either updating the affected crate or ignoring the advisory in deny.toml with a reason. The issue states that no safe upgrade exists for chrono (RUSTSEC-2026-0543) or chrono-tz (RUSTSEC-2026-0555). The head diff adds an ignore array to deny.toml under the advisories section with both IDs. Each entry has a reason field. The chrono entry names the unmaintained status, the lack of a safe upgrade, and the transitive paths through expr-lang, rmcp, and schemars. The chrono-tz entry names the unmaintained status, the lack of a safe upgrade, and expr-lang. This satisfies the ignore-with-reason option. The change is configuration only, so no automated test requirement applies. The check result itself was not run in this review. The author reports a local pass.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff against the merge base changes only deny.toml, with 4 added lines. Every added line is an ignore entry for RUSTSEC-2026-0543 or RUSTSEC-2026-0555, the two advisories named in #1866. No unrelated code, dependency, or lockfile changes are present. One minor cosmetic point: the new ignore array sits between the existing comment # Yanked releases are reported but do not fail the check. and the yanked = "warn" line. That comment now appears to describe the wrong key. This does not affect scope or the check result.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: jdx/hk
  • Branch: fix/deny-chrono
  • File: .coderabbit.yaml
  • Commit: 2f22c42
  • Layers: Repository YAML (base), Central YAML (inherited), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6a16b955-e411-4ad0-9312-0dd8403be6ec
Commits

Reviewing files that changed from the base of the PR and between 7799b57 and 2f22c42.

Files selected for processing: 1

  • deny.toml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

This PR adds two narrowly scoped advisory exceptions in deny.toml, each with a reason. No actionable issues found.

  • Cargo-deny skips two named advisories for unmaintained crates.

Reviews (1) · Last reviewed commit: "chore(deps): ignore unmaintained chrono ..." · Reviewed by Greptile

@jdx
jdx merged commit 86849ce into main Nov 18, 2026
32 checks passed
@jdx
jdx deleted the fix/deny-chrono branch November 18, 2026 01:16
@jdx jdx mentioned this pull request Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Instruction counts

benchmark trend instructions Δ wall (min) Δ
builtins ▁▃▃▃▃▃▃▃▆▆▆▇▇▆▅█ 1,980,269 → 1,987,651 +0.37% 3.03 → 3.10ms +2.20%
check — — — 18.99 → 18.70ms -1.48%
config-cold ▁▂▂▂▂▂▂▂████████ 72,269,766 → 72,171,455 -0.14% 21.94 → 21.75ms -0.88%
stash ▂▂▂▁▂▁▂▁▂▁▂▂▁▁▂█ 60,953,800 → 61,545,587 +0.97% 288.76 → 291.17ms +0.84%
usage ▅▆▆▆▆▆▆▆▇▇▇███▇▁ 4,434,831 → 4,406,675 -0.63% 5.03 → 5.02ms -0.05%
validate — — — 14.22 → 14.15ms -0.47%

No instruction-count regression above 1%.

Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run.

Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes.

2f22c42834fb vs 7799b570c157 · measured on the runner, not pushed to the history.

jdx added a commit that referenced this pull request Nov 23, 2026
### 🚀 Features

- **(builtins)** add hk_validate builtin to fail on config warnings by
[@jdx](https://github.com/jdx) in
[#1862](#1862)
- **(builtins)** report ox_lint findings as diagnostics by
[@jdx](https://github.com/jdx) in
[#1871](#1871)
- **(builtins)** add bun_fmt formatter by [@jdx](https://github.com/jdx)
in [#1870](#1870)
- **(builtins)** add scan = "staged" option to betterleaks by
[@jdx](https://github.com/jdx) in
[#1878](#1878)
- **(builtins)** scan every pushed commit for secrets with scan =
"commits" by [@jdx](https://github.com/jdx) in
[#1880](#1880)
- **(step)** add recheck_after_fix to rerun checks a later fix changed
by [@jdx](https://github.com/jdx) in
[#1891](#1891)

### 🐛 Bug Fixes

- **(builtins)** keep empty files empty when fixing with tofu, terraform
and other stdin formatters by [@jdx](https://github.com/jdx) in
[#1874](#1874)
- **(install)** let steps call mise from the global --mise launcher by
[@jdx](https://github.com/jdx) in
[#1875](#1875)
- **(install)** start the per-repo --mise launcher without mise on PATH
by [@jdx](https://github.com/jdx) in
[#1883](#1883)
- **(stash)** stop a nested hk from waiting on the stash lock during
stash recovery by [@jdx](https://github.com/jdx) in
[#1852](#1852)
- **(stash)** stop a stash restore from starting a nested hk through
post-checkout by [@jdx](https://github.com/jdx) in
[#1869](#1869)
- **(stash)** keep intent-to-add files out of the commit with stash =
"none" by [@jdx](https://github.com/jdx) in
[#1884](#1884)
- **(step)** stop adding GIT_WORK_TREE to steps without a dir by
[@jdx](https://github.com/jdx) in
[#1889](#1889)

### 🛡️ Security

- **(deps)** update mise tools by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1854](#1854)
- **(deps)** update dependency jouet to v0.0.4 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1859](#1859)

### 🔍 Other Changes

- **(deps)** update url to 2.5.9 by [@jdx](https://github.com/jdx) in
[#1893](#1893)
- **(entire)** remove trail runners by [@jdx](https://github.com/jdx) in
[8cfa90f](8cfa90f)
- remove the pull_request_target workflows by
[@jdx](https://github.com/jdx) in
[#1876](#1876)

### 📦️ Dependency Updates

- update github actions by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1853](#1853)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1856](#1856)
- update dependency jsdom to v31 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1855](#1855)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1860](#1860)
- ignore unmaintained chrono advisories in cargo-deny by
[@jdx](https://github.com/jdx) in
[#1868](#1868)
- update rust crate pklr to v6.0.4 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1858](#1858)
- update mise tools by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1895](#1895)
- update github actions by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1894](#1894)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1896](#1896)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1899](#1899)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Release-metadata and documentation URL updates only; runtime behavior
changes are documented in the changelog but not introduced in this diff.
> 
> **Overview**
> Cuts **hk v2.14.0** by bumping the crate and CLI version from `2.13.0`
to `2.14.0` in `Cargo.toml`, `Cargo.lock`, `hk.usage.kdl`, and generated
CLI docs, and aligning every docs/example `package://` import with the
new release URL.
> 
> Adds a **2.14.0** section to `CHANGELOG.md` that records what ships in
this tag: new builtins (`hk_validate`, `bun_fmt`, betterleaks `scan =
"staged"` / `"commits"`, ox_lint diagnostics), **`recheck_after_fix`**,
stash/mise/install/step env fixes, dependency and CI housekeeping
(including removing trail runners and `pull_request_target` workflows).
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
c86fddc. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cargo-deny: new security advisories

1 participant