Skip to content

ci: add manual workflow to capture README screenshots - #143

Draft
semics-tech wants to merge 15 commits into
mainfrom
agent/readme-screenshots
Draft

semics-tech wants to merge 15 commits into
mainfrom
agent/readme-screenshots

Conversation

@semics-tech

Copy link
Copy Markdown
Owner

Oli approved 21 Oct (job 113).

Adds .github/workflows/readme-screenshots.yml (workflow_dispatch only, permissions: contents: read, no secrets) and docs/screenshots/capture.mjs.

Workflow: starts deploy/docker-compose.demo.yml, polls until the dashboard answers on :8080 and DEMO-SQLHOST01 is online (same polling as the compose-smoke workflow in #140), runs the drift profile, runs the Playwright script, uploads readme-screenshots as an artifact, and always runs down -v.

Script (1440x900, deviceScaleFactor 2, PNG, signs in as the demo admin): 1-estate-grid, 2-failed-job-history (Known Failure, first run expanded to step detail), 3-cross-server-search (LEGACYFIN01), 4-drift-diff (waits for the drift badge, opens Heartbeat Log > Versions > on-premise edit), 5-workers-capabilities (Admin > Workers).

Also: docs/screenshots/** added to the eslint ignores (standalone script outside any tsconfig, same as deploy/demo/**) and docs/screenshots/out/ to .gitignore. pnpm lint passes.

Not yet run end to end. The workflow is manual-only, so no check exercises it on this PR, and the selectors were written from reading the dashboard source, not against a live stack. Expect to tune selectors after the first dispatch. Note that the compose-smoke check on #140 is currently failing, so the stack start-up itself may need attention.

🤖 Generated with Claude Code


Draft opened by Oli's repos agent.

Agent Harness and others added 15 commits October 20, 2026 21:20
Brings up deploy/docker-compose.demo.yml on a clean runner, checks the
dashboard answers and the pre-enrolled worker is online, records startup
time in the job summary, and always tears down.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…tack

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ying 4xx

The server accepts observe, job.toggle, job.run, schedule.write, job.write
and operator.write; readOnly is a worker.yaml ceiling tier, not a capability.
mint-token now exits 78 on any 4xx and worker-entry.sh stops instead of
re-running login until it is rate limited. Restarts are capped at 5.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r output

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…dme-screenshots

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant