Roadmap 0.13, Fixes

FX.690 Release check: report what the lab has that a release does not, and why

  • Fix
  • Partly built

Owner 2026-11-30: "we need a better check and balance of files that were touched/modified since the last release and report why they aren't coming over in the release".

Built: tools/release/delta-report.py (read-only). Per app: every file that differs between the lab build and the live release, sorted into pinned library path (expected), changed in the lab after the cut, patched in the release, only in one side. Then the shared shell: files changed since the cut (live at once) and every place that tests "is this the lab build" (74 places in 12 files on the first run), the scripts loaded for lab builds only, and the .env switches. First run: docs/results/0.12/delta-report-2026-11-30.md. Also tools/cadcraft-test/probe-start-card-pointer.mjs, which opens each app as a person sees it (splash and default layout on).

Not done: a "ships / stays in the lab, because..." line for each switch; the report as a gate in bin/release-gate.php (a release fails with an unexplained switch); the same behaviour probes run on lab and on the frozen build with any difference failing; a rule that a fix made in some apps is checked in all eight.

Later 2026-11-30 (owner: "if the file date is later than the last /use date -- you need to determine why it isn't being brought over. 99% it should and you need to raise an exception report during the build-release"): built tools/release/last-touched.py <release> and gate `touched` in bin/release-gate.php (before the go; fails while an exception is open). It checks, against the last /use date: every lab file touched since is in the frozen folder; every script app-shell.inc loads is in the packed-page lists; every lab-only switch without a release number has a reason in docs/releases/lab-only-reasons.json. Report: docs/results/<release>/last-touched.md. In the checklist's step 2 and the build-release agent's step 2 (it reports the exceptions and never writes a reason itself). All lab-only switches reviewed one by one: docs/results/0.12/lab-switches-2026-11-30.md (27 reasons on file; 22 stranded features plus the lab class behind 87 style rules). First run for 0.12.1: 45 exceptions open, waiting for the owner's ships / stays answer on each.

Still not done: the same behaviour probes run on lab and on the frozen build; the all-eight-apps rule for a fix.

Later 2026-11-30 (owner: "provide the app that it affects and a description that shows what feature is affected so I can go look/assess"; "make the report web accessible to admin"): tools/release/delta-report.py rewritten: every row names the app, the feature (the roadmap rows named in the changed lines, with titles and links) and where to look; a per-feature table of what leaves the lab in the release (docs/releases/lab-feature-notes.json, 28 rows for 0.12.1); SuperCad Studio included. New page /admin/release-delta (class ReleaseReports, component admin-release-report.inc, link in the admin bar): both reports for a release, the open-exception count, links to the roadmap rows and the lab, and "Run the reports again". Checked: the page answers 200 for the test admin with 43 table rows and 302 signed out; the tools run as the web user from the command line. Not tried: the "Run the reports again" button itself in a browser.

Corrected 2026-11-30 (owner: "this report should be a comparison between 0.12.0 /lab and 0.12.0 /use ... generated at the end of the staging process ... right before the actual app builds - this prevents wasted app build cycles ... I ONLY WANT THE DELTA missing on /use"): delta-report.py now writes ONE table, "In /lab, missing on /use <release>", labelled by the /use side it compares with (the live release, or the folder just frozen), one row per file or feature with the app, why it did not come over, where to look and the roadmap row. Dropped from the report: files already on /use, shared-shell changes that are live, switches that have a reason. /admin/release-delta shows that table only. Checklist step 2 and the build-release agent: run it after the freeze and the pre-build commit, before step 3; no build starts while a row is unanswered. First run against live 0.12: 30 rows (docs/results/0.12/delta-report.md). The earlier copy labelled 0.12.1 was wrong (0.12.1 is not frozen) and is withdrawn.

Later 2026-11-30 (owner: Settings > Input devices under Other was not findable on the list; "group sort the items by file ... we may NOT want a file to come over that has 3 of the 10 changes that shouldn't be released. I need to be able to determine that from the report"): the report is now grouped by file with one row per change inside it: for an app file each separate block of changed lines (with the roadmap row named in it; the freeze copies the file whole), for a shared-shell file each place a release is held back (a switched line, a use of the lab class in a script, a group of style rules; each has its own switch). Every place must belong to a described feature or it prints as NOT DESCRIBED YET. Columns: where, this change (the code's own note), feature, app, why it is not on /use, where to look, roadmap.

Later 2026-11-30 (owner: totals with links at the top; "an interactive hold out feature where I can click/hold items ... copied into a prompt (or better yet can be read by the build process)"; then "just have a hold icon that I can click - no reason required", "a toggle ... or switch", "show as a modal", "lighten the item number"): /admin/release-delta now renders from docs/results/<key>/delta-report.json (each row has a stable id): a totals table with a link to each file's section, and a switch on every row. One click holds the row out of the release in progress, a second lets it ship; the page comes back at the same row. Holds are saved in storage/release/<target>/holds.json (ReleaseReports::toggleHold) and the held list, with what to do for each row, opens in a pop-up with Copy (ReleaseReports::holdPrompt). Checked in headless Chromium as the test admin: hold, file written, pop-up text, release again (8 of 9 checks; the ninth, "row on screen after the click", failed in the test and looked right in the picture). Not done: the build process does not read holds.json yet (owner: may be too difficult for now); a held row is not applied to the code until a session does it.

site-13 2026-12-03: built the "ships / stays in the lab, because ..." line: tools/release/delta-report.py gives every row a line (from docs/releases/lab-feature-notes.json: `why` or the row for a shipping note, `stays` or `open` for one that stays; an app file block takes it from the roadmap row it names, generated help and language files from their source), a "Ships or stays" column in the report and the JSON, and `--lines` (rows with no line, exit 1). bin/release-gate.php has the go gate `delta-lines` that runs it (about 2.5 minutes). Dry run against 0.12.1: 805 of 2,020 rows have no line (app-file blocks that name no roadmap row, 46 settings.inc, kernel and terrain files), so the gate fails until the lab-feature-notes file or the rows say why. Still not done: the same behaviour probes on lab and frozen build, and the rule that a fix made in some apps is checked in all eight. shell-13 keeps lab-feature-notes.json: new optional fields `why` and `stays`.

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.