Skip to content

fix(ci): make upgrade staleness observable on both axes - #1514

Merged
c-vigo merged 2 commits into
devfrom
bugfix/1497-observable-upgrade-staleness
Aug 14, 2026
Merged

c-vigo merged 2 commits into
devfrom
bugfix/1497-observable-upgrade-staleness

Conversation

@c-vigo

@c-vigo c-vigo commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes both unobservable staleness axes from #1497 (found auditing the Rust pack's upgrade story — the field consumer sat two minor versions behind with a green weekly upgrade and a green drift check):

Axis 1 — flake auto-bump (install.sh)

Axis 2 — pin staleness (scaffolded ci.yml)

  • New warn-only devkit-staleness job: cheap API query comparing DEVKIT_VERSION against the latest stable devkit release, annotating PRs with ::warning ("N release(s) behind") plus a step-summary block
  • Deliberately not gated on DEVKIT_DRIFT_CHECK (no docker/image pull — disabling the expensive drift gate must not silence the cheap report), never fails the build (every failure path degrades to a skip, including missing gh on self-hosted runners), and deliberately outside the summary gate
  • An rc pin counts as behind its own published final (GNU sort -V orders -rcN after the final, so the compare maps the dash to a tilde)

Out of scope (deliberate): the mkRustProject eval-time notice (issue suggestion 4) — the acceptance criteria are met without it and it would be the codebase's first Nix eval-warn mechanism.

Acceptance criteria from the issue

  • A consumer whose input is named anything, pinned or not, either gets bumped or is told why not
  • Something answers "is this repo behind?" without deriving the answer from the repo's own pin

Test plan

Refs: #1497

c-vigo added 2 commits August 14, 2026 15:12
The flake auto-bump is keyed on the github:vig-os/devkit URL instead of a
literal input named vigos: any-name floating inputs are advanced, pinned
refs (?ref=X or /X) are skipped with a printed reason, and every run emits
one flake-bump: line that devkit-upgrade.yml surfaces in the adoption PR
body and step summary. The #1093 pin-skew warning learns the same
discovery. A new warn-only devkit-staleness job in the scaffolded ci.yml
compares DEVKIT_VERSION against the latest devkit release — the question
scaffold-drift cannot answer, since it resolves its comparison from the
pin itself.

Refs: #1497
@c-vigo
c-vigo merged commit ea823ad into dev Aug 14, 2026
12 checks passed
@c-vigo
c-vigo deleted the bugfix/1497-observable-upgrade-staleness branch August 14, 2026 13:39
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.

1 participant