notes

Taking a dependency update

Name: provisional, minted 2026-10-25 (UTC) by lane dependency-updates-measured. Named for the job a reader arrives with.

This page says what to do with a pull request that moves a dependency: a Dependabot bump, a toolchain or Kani bump, or a vendored pin raised by script/vendor-watch. The rules here took effect on 2026-10-25 (UTC). Milestone 967 (every pin has a watcher) holds the design behind them and the parts still to build. §81 (a dependency stays upgradable) is the rule they serve, and §46 (thin primitives or whole subsystems) decides what we take in the first place.

What notices a new release

Dependabot reads every committed Cargo.lock except vendor/'s and the measuring harness under notes/packages/, and script/lint fails when a new lockfile has no entry in .github/dependabot.yml. script/vendor-watch watches the vendored pins, and toolchain-bump.yml proposes the nightly and Kani. The proposal's appendix lists every pin and its watcher, including the tool pins nothing watches yet.

When to take a release

Dependabot waits 3 days after a release before it proposes a version update, its default, and dependabot.yml sets no cooldown. A security update skips that wait, so take an advisory fix as soon as its pull request goes green.

Who merges a bump

Most bumps merge on green, armed by whoever readies the pull request. A crate the kernel links is the exception. List those crates per target with

cargo tree -p kernel --target x86_64-unknown-none -e normal,build --prefix none

and the same for aarch64-unknown-none-softfloat and riscv64imac-unknown-none-elf, keeping the lines without a path. On 2026-10-25 (UTC) they were aarch64-cpu, tock-registers and uuid.

When a bump cannot land

Never close a Dependabot pull request to block a version. Dependabot answers a closed pull request by never proposing that version again, and it stores that choice on GitHub, outside dependabot.yml, where the §81 lint cannot see it. Instead:

  1. Write a BUGS entry beside the code that holds the dependency back: the version, what broke, what would unblock it, and a date to re-argue by. deny.toml's RUSTSEC-2023-0071 entry has the shape to copy for the claim and what ends it; it carries no date, so add one.
  2. Leave the pull request open, add the bump-blocked label, and link the entry from it. Dependabot updates the same pull request when the next version arrives.
  3. When a later version lands, remove the entry in the same change.

Closing a pull request that a hand commit has made moot is fine. Say so in the closing comment.

BUGS