CI runs the admin console smoke harness every night on develop #201

Open
opened 2026-10-31 12:42:25 -04:00 by claude · 0 comments
Owner
  • Draft: BUG-18
  • Priority: low
  • Agent: coder
  • Depends on: none
  • Decisions: Q-BUG-9

Why

The smoke harness (src/script/development/, see CONTRIBUTING "Check the admin console in a browser") catches layout and permission breakage that specs miss. It only runs by hand. The CI node image already has Chromium (docker/ci.Dockerfile:60).

What changes

  • A nightly job in .forgejo/workflows/ (a schedule trigger). A scheduled run starts on the repository's default branch, which stays main (Q-PROC-3), so the job checks out develop explicitly. It builds the console (.forgejo/scripts/build-admin-console.sh), starts the host on free ports and runs the harness. A manual trigger (workflow_dispatch) runs it on demand.
  • The report and screenshots are uploaded as artifacts.
  • Screenshot comparison stays out of scope.

Acceptance

  • The job passes on develop and fails when a page throws (prove it once with a scratch branch through the manual trigger).
  • Free ports only (runners host real DNS/DHCP).
  • README "The pipeline" section lists the job and its schedule.

Source

u-design.md:222.
Owner decision 2026-10-31 (Q-BUG-9): "nightly on develop".

- **Draft:** BUG-18 - **Priority:** low - **Agent:** coder - **Depends on:** none - **Decisions:** Q-BUG-9 ### Why The smoke harness (`src/script/development/`, see CONTRIBUTING "Check the admin console in a browser") catches layout and permission breakage that specs miss. It only runs by hand. The CI node image already has Chromium (`docker/ci.Dockerfile:60`). ### What changes - A nightly job in `.forgejo/workflows/` (a `schedule` trigger). A scheduled run starts on the repository's default branch, which stays `main` (Q-PROC-3), so the job checks out `develop` explicitly. It builds the console (`.forgejo/scripts/build-admin-console.sh`), starts the host on free ports and runs the harness. A manual trigger (`workflow_dispatch`) runs it on demand. - The report and screenshots are uploaded as artifacts. - Screenshot comparison stays out of scope. ### Acceptance - [ ] The job passes on `develop` and fails when a page throws (prove it once with a scratch branch through the manual trigger). - [ ] Free ports only (runners host real DNS/DHCP). - [ ] README "The pipeline" section lists the job and its schedule. ### Source `u-design.md:222`. Owner decision 2026-10-31 (Q-BUG-9): "nightly on develop".
Sign in to join this conversation.
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
lantea-one/ninlil#201
No description provided.