Upgrade workflow: watch Rex and Claude Code, bump the pins #13

Open
opened 2026-10-31 18:55:41 +00:00 by mikluko · 1 comment
Owner

Map: #1

Question

Extend the daily pin job to watch Rex and Claude Code as well as the Debian snapshot, recording bumps with actions/changelog append and cutting releases with its release, which replace cmd/record-base-bump:

  • Workflow inputs: Rex channel (stable, preview, snapshot; default snapshot) and Claude Code channel (stable, latest; default stable).
  • Resolve the newest version of each from its apt index; bump the REX_VERSION and CLAUDE_CODE_VERSION ARGs and the FROM in the Dockerfile.
  • One run checks all three and records every bump in one commit to main, each appended under Changed. An empty [Unreleased] is cut by release at the version it computes (MINOR for a Changed entry) and released in the same run; otherwise the bumps join the pending entry.
  • The CHANGELOG preamble line about automatic PATCH releases goes.
  • The Rex snapshot index keeps only its 20 newest builds (about four days), so the daily schedule is what keeps the image buildable.

Resolved when a dispatch with a stale pin cuts a MINOR release carrying the new version.

Map: #1 ## Question Extend the daily `pin` job to watch Rex and Claude Code as well as the Debian snapshot, recording bumps with `actions/changelog` `append` and cutting releases with its `release`, which replace `cmd/record-base-bump`: - Workflow inputs: Rex channel (`stable`, `preview`, `snapshot`; default `snapshot`) and Claude Code channel (`stable`, `latest`; default `stable`). - Resolve the newest version of each from its apt index; bump the `REX_VERSION` and `CLAUDE_CODE_VERSION` ARGs and the `FROM` in the `Dockerfile`. - One run checks all three and records every bump in one commit to `main`, each `append`ed under Changed. An empty `[Unreleased]` is cut by `release` at the version it computes (MINOR for a Changed entry) and released in the same run; otherwise the bumps join the pending entry. - The CHANGELOG preamble line about automatic PATCH releases goes. - The Rex `snapshot` index keeps only its 20 newest builds (about four days), so the daily schedule is what keeps the image buildable. Resolved when a dispatch with a stale pin cuts a MINOR release carrying the new version.
Author
Owner

Decided (Q7): pin bumps go under Changed and release at the MINOR actions/changelog release computes; no PATCH rule, no version arithmetic in the workflow. append and release are in actions/changelog v1.6.0. Body updated.

Decided (Q7): pin bumps go under Changed and release at the MINOR `actions/changelog` `release` computes; no PATCH rule, no version arithmetic in the workflow. `append` and `release` are in `actions/changelog` v1.6.0. Body updated.
mikluko self-assigned this 2026-11-02 20:10:02 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
mikluko/kuberex#13
No description provided.