cooldown

Continuous integration

On this page

cooldown check is a fail-closed gate — it exits non-zero when anything in the resolved graph is younger than its cooldown — which makes it a natural CI step. Add it to pull-request checks and a too-fresh dependency stops the merge until it either matures, is fixed, or is explicitly baselined.

What to run in CI#

  • cooldown check — the gate itself.
  • --fresh — ignore the local cache and always hit the registry, so a CI run can’t pass on a stale cached publish time.
  • --transitive allow (optional) — if you want the whole graph evaluated but not every too-fresh transitive to block a merge, keep them visible but non-fatal.
cooldown check --fresh

The gate reads the committed lockfiles as-is, but it runs each tool’s own lock check first, such as uv lock --check or npm ci --dry-run, to prove the lock is current. The CI runner therefore needs the package manager of every ecosystem the gate covers; when that check cannot run or fails, check exits 4. Keep CI deterministic by committing your lockfiles.

Esc

Type # for headings only ↑↓ move ↵ open Ctrl ↵ new tab Ctrl U/D scroll preview

Keyboard shortcuts

/ ⌘ K Ctrl K
Search
← →
Previous or next page
?
Show these shortcuts