Release notes and screenshots of the web UI on a v* tag's Gitea release #7

Manually merged
mnovak merged 0 commits from feature/release-kit into main 2026-11-09 17:47:39 +01:00
Owner

Gives Ianitor's v* tags a Gitea release with release notes and screenshots of the web UI, under a SHA256SUMS signed by domi-release (docs/release.md). The deploy stays the existing deploy pipeline; app.yaml is unchanged.

What

  • .fabrica/artifex/release.yaml: on: tag "v*", manual: true, Windows runner. version (scripts/check-version.mjs), install, check (svelte-check), test (vitest), notes (fabrica notes), shots, approve (the run's Custos approval), publish (release-notes.md/.json, aula-*.png, aula.json; sums: domi-release; release-notes.md becomes the release text).
  • apps/web/scripts/shots.mjs: builds the UI, serves it on 127.0.0.1 with /api/v1 answered by apps/web/tests/demo.ts, photographs five screens in headless Edge over DevTools (1440x900): aula-hosts, aula-host, aula-engine, aula-history, aula-certificates.png, plus aula.json in the format of Fabrica core FORMATS.md. Clean environment for the browser, fresh profile, process tree killed (and a sweep for Edge's relaunched browser) and temp folder removed on every way out; a browser start that hangs is retried twice.
  • apps/web/tests/demo.ts: the demo control plane, built on the smoke test's mockApi.ts (now exporting its builders and routes). Invented data only: .test names, RFC 5737 addresses, people ada and felix.
  • apps/web/tests/demo.test.ts: every shot drawn in jsdom from the demo alone (its clicks and wait selector found, no 404), and nothing served or shown outside .test / the documentation ranges / known real words.
  • .fabrica/notes/0.1.0.md: the highlights of the first release (PR 3 to 5 predate the merge-subject format and come out as bare "PR #n").
  • No landing page (aula stays off); no desktop part (no installer, no bump).

Verified

  • fabrica artifex check: 2 pipelines and app.yaml, 0 problems.
  • fabrica notes --version 0.1.0: whole history, highlights first.
  • shots.mjs: 9 runs on this PC, every PNG looked at; one early run timed out starting Edge (before the retry); no Edge process or temp folder left behind.
  • vitest 21 (smoke 15, demo 6); svelte-check 0 errors.
  • cargo test --workspace on Windows (WSL2 Debian would not start): core 103, control 21, edge 31, diff 2, testkit 1, all green; the Linux-only edge/diff/ACME targets are skip stubs on Windows. No Rust file changed.

Self-review (adversarial)

  • Could a screenshot leak Mark's network? The UI only talks to the demo; the demo test refuses any other name or address, and the reused mock routes that carried 10.0.0.x are overridden for every call the shots make (the test would fail otherwise). Checked the PNGs by eye.
  • Could the browser outlive the run? Edge relaunched itself as a new process outside the tree when started with the full environment; with the clean environment it did not here, and the sweep by profile path covers it anyway (tested on a relaunched Edge).
  • Does publish pick up a failed shot (aula-<name>-failed.png)? Only when shots fails, and then publish never runs.
  • The release does not run the Rust tests (Linux-only parts; the runner has no CARGO_HOME off C:). Stated in docs/release.md.
  • Not verified: the pipeline itself on the runner (no run started, as asked), the publish and the SHA256SUMS signature, Chrome/Linux browsers, the retry path for a hung Edge start.
Gives Ianitor's `v*` tags a Gitea release with release notes and screenshots of the web UI, under a `SHA256SUMS` signed by `domi-release` (docs/release.md). The deploy stays the existing `deploy` pipeline; app.yaml is unchanged. **What** - `.fabrica/artifex/release.yaml`: `on: tag "v*"`, `manual: true`, Windows runner. `version` (scripts/check-version.mjs), `install`, `check` (svelte-check), `test` (vitest), `notes` (`fabrica notes`), `shots`, `approve` (the run's Custos approval), `publish` (release-notes.md/.json, aula-*.png, aula.json; `sums: domi-release`; release-notes.md becomes the release text). - `apps/web/scripts/shots.mjs`: builds the UI, serves it on 127.0.0.1 with `/api/v1` answered by `apps/web/tests/demo.ts`, photographs five screens in headless Edge over DevTools (1440x900): `aula-hosts`, `aula-host`, `aula-engine`, `aula-history`, `aula-certificates`.png, plus `aula.json` in the format of Fabrica core FORMATS.md. Clean environment for the browser, fresh profile, process tree killed (and a sweep for Edge's relaunched browser) and temp folder removed on every way out; a browser start that hangs is retried twice. - `apps/web/tests/demo.ts`: the demo control plane, built on the smoke test's `mockApi.ts` (now exporting its builders and routes). Invented data only: `.test` names, RFC 5737 addresses, people ada and felix. - `apps/web/tests/demo.test.ts`: every shot drawn in jsdom from the demo alone (its clicks and wait selector found, no 404), and nothing served or shown outside `.test` / the documentation ranges / known real words. - `.fabrica/notes/0.1.0.md`: the highlights of the first release (PR 3 to 5 predate the merge-subject format and come out as bare "PR #n"). - No landing page (`aula` stays off); no desktop part (no installer, no bump). **Verified** - `fabrica artifex check`: 2 pipelines and app.yaml, 0 problems. - `fabrica notes --version 0.1.0`: whole history, highlights first. - shots.mjs: 9 runs on this PC, every PNG looked at; one early run timed out starting Edge (before the retry); no Edge process or temp folder left behind. - vitest 21 (smoke 15, demo 6); svelte-check 0 errors. - `cargo test --workspace` on Windows (WSL2 Debian would not start): core 103, control 21, edge 31, diff 2, testkit 1, all green; the Linux-only edge/diff/ACME targets are skip stubs on Windows. No Rust file changed. **Self-review (adversarial)** - Could a screenshot leak Mark's network? The UI only talks to the demo; the demo test refuses any other name or address, and the reused mock routes that carried 10.0.0.x are overridden for every call the shots make (the test would fail otherwise). Checked the PNGs by eye. - Could the browser outlive the run? Edge relaunched itself as a new process outside the tree when started with the full environment; with the clean environment it did not here, and the sweep by profile path covers it anyway (tested on a relaunched Edge). - Does publish pick up a failed shot (`aula-<name>-failed.png`)? Only when `shots` fails, and then publish never runs. - The release does not run the Rust tests (Linux-only parts; the runner has no CARGO_HOME off C:). Stated in docs/release.md. - Not verified: the pipeline itself on the runner (no run started, as asked), the publish and the SHA256SUMS signature, Chrome/Linux browsers, the retry path for a hung Edge start.
mnovak added 5 commits 2026-11-09 17:46:58 +01:00
mnovak manually merged commit 0e9c2a7bc9 into main 2026-11-09 17:47:39 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mnovak/ianitor#7