Update the beta check for 1.0.14-beta.2 #181

Merged
aluminum-ice merged 1 commit from beta-check-1.0.14-beta.2 into main 2026-11-08 09:24:54 +00:00
Owner

What this PR does

Updates the beta-check script for 1.0.14-beta.2's checklist (#180).

  • New section 2, the census board family (#177). Only family names and counts come out, never the census number itself.
    • 2.1: the installed census is 0.2.0, and its helper has the board families and the number's marker.
    • 2.2: the installed board_family is run on this board's device-tree name, as the device user under the venv's Python, the way the daemon runs it. Its answer is compared with the script's own prefix table.
    • 2.3: today's number in day.json carries this board's family. It's decoded on the device and never printed.
      • INFO when the update was applied this UTC day, because a device keeps the number it started the day with.
      • FAIL when an older day's update still left today's number without a board.
    • 2.4: every history.json day after the update's UTC day carries board counts. The detail counts the days that include this board's family, and the older days still in the file (so they survived the daemon's load and save).
    • 2.5 (dashboard): the Census page's Boards card and its Board: line.
      • INFO before the census has read today's totals (the card appears with them, like Releases), and on the update's UTC day while the line still reads "not sent today".
      • FAIL when that line is still there on a later day.
    • 2.6 (dashboard): /guide's census section says only the family is sent.
    • 2.7 and 2.8 are by hand: the card on the phone, and the desktop report's board tables.
  • New section 3, agent diagnostics (#179). 3.1 checks that the installed pull-agent-diagnostics.sh accepts a from-scratch contest line. 3.2 is by hand.
  • Renumbering: beta 1's sections become 4–9 ("regressions from 1.0.14-beta.1"), 1.0.13's 10–23, the older ones 24–29, and the closing step 30.1. The id map is taken from #176's items and applied in one pass. Each changed line was checked to be an id context; no version or measurement changed.
  • The dashboard part gets the expected family and the update time as arguments, and imports time at the top.
  • A missing device-tree name no longer prints a shell error into the report (the 2>/dev/null now comes before the <).
  • The by-hand list gains 2.7, 2.8 and 3.2.

Nothing new reads capture content.

Checklist

  • Lint passes — make lint (shellcheck and the real-data check on both scripts). The Lint workflow runs this on the PR.
  • Tests pass — not run: the scripts aren't part of make test. The Test workflow runs it on the PR.
  • Nothing real: no secrets, no personal information, no real data. Only family names and counts leave the new checks.
  • Consent gates intact. Read-only, as before.
  • Docs updated in the same PR: the script's release comment.
  • Commit messages are short and imperative.

Release impact

  • App-layer-safe — tools/beta-check/ isn't shipped, so this doesn't affect the release kind.
  • Reflash-class

Notes for review

  • Every id matches the 1.0.14-beta.2 checklist (#180). 0.1 is script-only.
  • Off the device:
    • Sections 2–3, cut from this script and run against staged copies of the repo's census files and diagnostics script, with invented day.json/history.json and update times:
      • a board in today's number and a full history: all PASS;
      • a plain number after an update this UTC day: 2.3 INFO;
      • a plain number after an update days ago: 2.3 FAIL;
      • another family's number, and a day without board counts: 2.3 and 2.4 FAIL;
      • no day since the update, and no state files: INFO;
      • census off: SKIP.
    • Board names: every family's names, including the 400/500 and the Compute Modules, map the same in the script and the installed helper. So do an unknown board, an empty name and a missing file.
    • Older installed files: beta 1's census and diagnostics script fail 2.1, 2.2 and 3.1.
    • 2.5 and 2.6 ran against the real Census page and /guide/all rendered by the package:
      • a board line and card: PASS;
      • another family expected: FAIL;
      • "not sent today" after an update this UTC day: INFO, and on a later day: FAIL;
      • no totals yet: INFO;
      • beta 1's page and guide: FAIL.
    • Embedded Python: all 19 blocks parse.
    • Redactor: it masked an invented report's MAC, address, coordinates, account and capture file name, and left the new family and count lines as they were.
  • The config tests only had their ids renumbered.
  • The first run on a device is the new checks' first real test. 2.3 and 2.4 need the census on and a UTC midnight since the update.

🤖 Generated with Claude Code

## What this PR does Updates the beta-check script for 1.0.14-beta.2's checklist (#180). - **New section 2, the census board family (#177).** Only family names and counts come out, never the census number itself. - 2.1: the installed census is 0.2.0, and its helper has the board families and the number's marker. - 2.2: the installed `board_family` is run on this board's device-tree name, as the device user under the venv's Python, the way the daemon runs it. Its answer is compared with the script's own prefix table. - 2.3: today's number in `day.json` carries this board's family. It's decoded on the device and never printed. - INFO when the update was applied this UTC day, because a device keeps the number it started the day with. - FAIL when an older day's update still left today's number without a board. - 2.4: every `history.json` day after the update's UTC day carries board counts. The detail counts the days that include this board's family, and the older days still in the file (so they survived the daemon's load and save). - 2.5 (dashboard): the Census page's **Boards** card and its *Board:* line. - INFO before the census has read today's totals (the card appears with them, like Releases), and on the update's UTC day while the line still reads "not sent today". - FAIL when that line is still there on a later day. - 2.6 (dashboard): `/guide`'s census section says only the family is sent. - 2.7 and 2.8 are by hand: the card on the phone, and the desktop report's board tables. - **New section 3, agent diagnostics (#179).** 3.1 checks that the installed `pull-agent-diagnostics.sh` accepts a from-scratch contest line. 3.2 is by hand. - **Renumbering:** beta 1's sections become 4–9 ("regressions from 1.0.14-beta.1"), 1.0.13's 10–23, the older ones 24–29, and the closing step 30.1. The id map is taken from #176's items and applied in one pass. Each changed line was checked to be an id context; no version or measurement changed. - The dashboard part gets the expected family and the update time as arguments, and imports `time` at the top. - A missing device-tree name no longer prints a shell error into the report (the `2>/dev/null` now comes before the `<`). - The by-hand list gains 2.7, 2.8 and 3.2. Nothing new reads capture content. ## Checklist - [x] **Lint passes** — `make lint` (shellcheck and the real-data check on both scripts). The **Lint** workflow runs this on the PR. - [ ] **Tests pass** — not run: the scripts aren't part of `make test`. The **Test** workflow runs it on the PR. - [x] **Nothing real: no secrets, no personal information, no real data.** Only family names and counts leave the new checks. - [x] **Consent gates intact.** Read-only, as before. - [x] **Docs updated in the same PR**: the script's release comment. - [x] Commit messages are short and imperative. ## Release impact - [x] **App-layer-safe** — `tools/beta-check/` isn't shipped, so this doesn't affect the release kind. - [ ] **Reflash-class** ## Notes for review - Every id matches the 1.0.14-beta.2 checklist (#180). 0.1 is script-only. - Off the device: - **Sections 2–3**, cut from this script and run against staged copies of the repo's census files and diagnostics script, with invented `day.json`/`history.json` and update times: - a board in today's number and a full history: all PASS; - a plain number after an update this UTC day: 2.3 INFO; - a plain number after an update days ago: 2.3 FAIL; - another family's number, and a day without board counts: 2.3 and 2.4 FAIL; - no day since the update, and no state files: INFO; - census off: SKIP. - **Board names:** every family's names, including the 400/500 and the Compute Modules, map the same in the script and the installed helper. So do an unknown board, an empty name and a missing file. - **Older installed files:** beta 1's census and diagnostics script fail 2.1, 2.2 and 3.1. - **2.5 and 2.6** ran against the real Census page and `/guide/all` rendered by the package: - a board line and card: PASS; - another family expected: FAIL; - "not sent today" after an update this UTC day: INFO, and on a later day: FAIL; - no totals yet: INFO; - beta 1's page and guide: FAIL. - **Embedded Python:** all 19 blocks parse. - **Redactor:** it masked an invented report's MAC, address, coordinates, account and capture file name, and left the new family and count lines as they were. - The config tests only had their ids renumbered. - The first run on a device is the new checks' first real test. 2.3 and 2.4 need the census on and a UTC midnight since the update. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Update the beta check for 1.0.14-beta.2
All checks were successful
Lint / lint (pull_request) Successful in 35s
Test / test (pull_request) Successful in 59s
Lint / lint (push) Successful in 33s
Test / test (push) Successful in 1m5s
8f3107a52d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aluminum-ice deleted branch beta-check-1.0.14-beta.2 2026-11-08 09:24:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
aluminum-ice/kestrel!181
No description provided.