updates: the panel names a release by its release number (2026.09.3016), not the 40-character commit hash — Settings and every Updates screen, short hash beside it #1982

Closed
opened 2026-09-28 23:33:45 +00:00 by ben · 4 comments
Owner

Parent: #1562 — Ben's ruling, 2026-09-28 (in session, before the feature review test)

What's true today

The control panel names a release by its 40-character commit hash. Settings → Updates reads fleet on 1bcd66158ab9068cd2a44884500f727f4bd73446; the Updates screens read "all 1 nodes are running 1bcd6615… on the testing channel", "applying …", "converged on …". The wireframes draw a number (fleet on 2026.07, IDSS fleet software 2026.09.2) that nothing produces: no release carries one, and the only number a gateway knows about its release is the signed sequence.

Ruled (Ben, 2026-09-28)

  1. A release has a release number: YYYY.MM.N — the year and month, then the release's signed channel sequence. Example: 2026.09.3016.
  2. Every place the panel names a release shows it — Settings and the Updates screens. The number leads; the short commit hash stays beside it so a release can still be matched to a commit.

Build notes (two-way, ADR 0174 — the session building this rules them)

  • The number is a property of the software, not of the cut: YYYY.MM is the UTC month of the commit the release is built from, so the same revision carries the same number on testing and, once promoted, on stable.
  • It rides the signed manifest as an optional version field. Readers in the field ignore a field they do not know (plain json.Unmarshal), so a gateway on an older control plane keeps taking releases.
  • The rail computes it; release-cut refuses one that is malformed or whose N is not the signed sequence. A reader shows a number only when it is well formed and agrees with the signed sequence; otherwise it shows the short hash alone.
  • A founded gateway knows its own number from the build stamp, the way it knows its revision and sequence (#1674, #1816).
  • A release with no number (every release cut before this lands, history included) shows its short hash alone — never a made-up number.

Acceptance

  • A release cut by the rail carries version in its signed manifest; promote carries the source's number unchanged
  • release-cut refuses a malformed number and one whose N differs from --sequence; with no --version the manifest is byte-identical to today's
  • A reader given a manifest with no version, a malformed one, or one disagreeing with the sequence surfaces no number and still accepts the release
  • After a rollout applies a numbered release, the Updates surface's current block and Settings' Updates line carry that number; a gateway founded from a stamped payload carries it from first boot
  • Settings reads fleet on 2026.09.3016; with no number known it reads fleet on + the 12-character short hash
  • U1, U1x, U2, U3, U3x, U4, U4x and history name a release by number with the short hash beside it, and by short hash alone when it has no number
  • Wireframes (p4b-updates/, shell/shell-ds-settings.html), CONTEXT.md, a DDR, architecture 11 and STATUS.md updated in the same landing
  • The updates drive (journey.updates.spec.ts) still reads the revision it asserts on
## Parent: #1562 — Ben's ruling, 2026-09-28 (in session, before the `feature` review test) ## What's true today The control panel names a release by its 40-character commit hash. Settings → Updates reads `fleet on 1bcd66158ab9068cd2a44884500f727f4bd73446`; the Updates screens read "all 1 nodes are running 1bcd6615… on the testing channel", "applying …", "converged on …". The wireframes draw a number (`fleet on 2026.07`, `IDSS fleet software 2026.09.2`) that nothing produces: no release carries one, and the only number a gateway knows about its release is the signed sequence. ## Ruled (Ben, 2026-09-28) 1. **A release has a release number: `YYYY.MM.N`** — the year and month, then the release's signed channel sequence. Example: `2026.09.3016`. 2. **Every place the panel names a release shows it** — Settings and the Updates screens. The number leads; the short commit hash stays beside it so a release can still be matched to a commit. ## Build notes (two-way, ADR 0174 — the session building this rules them) - The number is a property of the software, not of the cut: `YYYY.MM` is the UTC month of the commit the release is built from, so the same revision carries the same number on `testing` and, once promoted, on `stable`. - It rides the signed manifest as an optional `version` field. Readers in the field ignore a field they do not know (plain `json.Unmarshal`), so a gateway on an older control plane keeps taking releases. - The rail computes it; `release-cut` refuses one that is malformed or whose `N` is not the signed sequence. A reader shows a number only when it is well formed and agrees with the signed sequence; otherwise it shows the short hash alone. - A founded gateway knows its own number from the build stamp, the way it knows its revision and sequence (#1674, #1816). - A release with no number (every release cut before this lands, history included) shows its short hash alone — never a made-up number. ## Acceptance - [ ] A release cut by the rail carries `version` in its signed manifest; `promote` carries the source's number unchanged - [ ] `release-cut` refuses a malformed number and one whose `N` differs from `--sequence`; with no `--version` the manifest is byte-identical to today's - [ ] A reader given a manifest with no `version`, a malformed one, or one disagreeing with the sequence surfaces no number and still accepts the release - [ ] After a rollout applies a numbered release, the Updates surface's current block and Settings' Updates line carry that number; a gateway founded from a stamped payload carries it from first boot - [ ] Settings reads `fleet on 2026.09.3016`; with no number known it reads `fleet on` + the 12-character short hash - [ ] U1, U1x, U2, U3, U3x, U4, U4x and history name a release by number with the short hash beside it, and by short hash alone when it has no number - [ ] Wireframes (`p4b-updates/`, `shell/shell-ds-settings.html`), CONTEXT.md, a DDR, architecture 11 and STATUS.md updated in the same landing - [ ] The updates drive (`journey.updates.spec.ts`) still reads the revision it asserts on
ben self-assigned this 2026-09-28 23:33:45 +00:00
Author
Owner

Built in session — one commit, 3c66264e on local branch session/release-number (rebased on main 2ac01fb9). NOT pushed: waiting on Ben's word.

Every offline acceptance box is covered and green: the whole seam (Go build/vet/test/lint on both modules and the dev tags, release-rail-test.sh 131 checks, dashboard unit 160 files, app unit 175 files including the drive fixture against the real templates, eslint, vue-tsc, the generated-client check).

Build rulings made under ADR 0174 (two-way, veto anytime), recorded in DDR 0288:

  • The number's month is the UTC month of the commit, not of the cut — so one revision wears one number on testing and on stable.
  • The rail titles a cut IDSS fleet software <number> (was testing · <hash>).
  • U1's row is keyed RELEASE (was REVISION).
  • A malformed or disagreeing number is dropped by the reader, never a reason to refuse the release.

Found while building: the updates drive read the revision out of the screen's words and would have returned the twelve-character short hash — red on a healthy gateway. It now reads data-revision (GOTCHAS #360).

One unrelated red seen once: dashboard/tests/unit/pendingLive.test.ts timed out at 30 s during a seam run that shared the machine with other test runs. It passes alone (0.4 s) and in the serial rerun.

Owed (live): Whakatōhea Demo shows its short hash until it takes the first release cut after this lands, then the number.

**Built in session — one commit, `3c66264e` on local branch `session/release-number` (rebased on main `2ac01fb9`). NOT pushed: waiting on Ben's word.** Every offline acceptance box is covered and green: the whole seam (Go build/vet/test/lint on both modules and the dev tags, `release-rail-test.sh` 131 checks, dashboard unit 160 files, app unit 175 files including the drive fixture against the real templates, eslint, vue-tsc, the generated-client check). Build rulings made under ADR 0174 (two-way, veto anytime), recorded in DDR 0288: - The number's month is the UTC month of the **commit**, not of the cut — so one revision wears one number on `testing` and on `stable`. - The rail titles a cut `IDSS fleet software <number>` (was `testing · <hash>`). - U1's row is keyed `RELEASE` (was `REVISION`). - A malformed or disagreeing number is dropped by the reader, never a reason to refuse the release. Found while building: the updates drive read the revision out of the screen's words and would have returned the twelve-character short hash — red on a healthy gateway. It now reads `data-revision` (GOTCHAS #360). One unrelated red seen once: `dashboard/tests/unit/pendingLive.test.ts` timed out at 30 s during a seam run that shared the machine with other test runs. It passes alone (0.4 s) and in the serial rerun. **Owed (live):** Whakatōhea Demo shows its short hash until it takes the first release cut after this lands, then the number.
Author
Owner

Pushed on Ben's word (2026-09-29): branch session/release-number @ 3c66264e, pull request #1983. The merge is Ben's.

Pushed on Ben's word (2026-09-29): branch `session/release-number` @ `3c66264e`, pull request #1983. The merge is Ben's.
Author
Owner

Rebased onto main e07e8d75 after the panel-door PRs landed; head is now d7a1c34c. The decision record is DDR 0290 and the gotcha is #366 — 0288 and #360–#365 were taken by those PRs. Earlier comments on this ticket that say DDR 0288 / GOTCHAS #360 mean these.

Rebased onto main `e07e8d75` after the panel-door PRs landed; head is now `d7a1c34c`. **The decision record is DDR 0290 and the gotcha is #366** — 0288 and #360–#365 were taken by those PRs. Earlier comments on this ticket that say DDR 0288 / GOTCHAS #360 mean these.
Author
Owner

Landed and proven live on Whakatōhea Demo (2026-09-29)

  • Merged: PR #1983 → main 257a4fb9 (Ben merged, 02:26:25Z). Ancestry verified: 580a51ff is on origin/main.
  • First numbered release: the rail cut 257a4fb9 at 02:31:12Z — version: 2026.09.3034, sequence 3034, title IDSS fleet software 2026.09.3034 — and get.idss.nz served it by 02:37Z.
  • The demo took it unattended: artifacts verified 02:41:38Z, self-restart, update resumed across a control-plane restart and converged 02:42:33Z. It came from a control plane that predates the number, so the older reader accepted the new manifest field, as designed.
  • Read off the box:
    • GET /api/v1/settings/updates-summary → "status":"fleet on 2026.09.3034"
    • GET /api/v1/updates → current: {channel: testing, revision: 257a4fb9…, version: 2026.09.3034, converged: 1, total: 1}, resting
    • /var/lib/idss/update.json → current.version: 2026.09.3034
    • the served panel bundle carries the release-number marker

Not seen: the rendered screens on the live panel — that needs a steward sign-in. Ben's eyes.

Decision record: DDR 0290. Gotcha: #366.

## Landed and proven live on Whakatōhea Demo (2026-09-29) - **Merged:** PR #1983 → main `257a4fb9` (Ben merged, 02:26:25Z). Ancestry verified: `580a51ff` is on `origin/main`. - **First numbered release:** the rail cut `257a4fb9` at 02:31:12Z — `version: 2026.09.3034`, sequence 3034, title `IDSS fleet software 2026.09.3034` — and get.idss.nz served it by 02:37Z. - **The demo took it unattended:** artifacts verified 02:41:38Z, self-restart, `update resumed across a control-plane restart and converged` 02:42:33Z. It came from a control plane that predates the number, so the older reader accepted the new manifest field, as designed. - **Read off the box:** - `GET /api/v1/settings/updates-summary` → `"status":"fleet on 2026.09.3034"` - `GET /api/v1/updates` → `current: {channel: testing, revision: 257a4fb9…, version: 2026.09.3034, converged: 1, total: 1}`, resting - `/var/lib/idss/update.json` → `current.version: 2026.09.3034` - the served panel bundle carries the `release-number` marker **Not seen:** the rendered screens on the live panel — that needs a steward sign-in. Ben's eyes. Decision record: DDR 0290. Gotcha: #366.
ben 2026-09-29 02:43:53 +00:00
  • closed this issue
  • removed the
    no-triage
    label
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.

Dependencies

No dependencies set.

Reference
Matou/idss#1982
No description provided.