Skip to content

ci: smoke-test the demo compose stack - #140

Open
semics-tech wants to merge 4 commits into
mainfrom
agent/compose-smoke
Open

semics-tech wants to merge 4 commits into
mainfrom
agent/compose-smoke

Conversation

@semics-tech

Copy link
Copy Markdown
Owner

Origin: requested by Oli (job 97, retry of job 90).

Adds .github/workflows/compose-smoke.yml, which brings up deploy/docker-compose.demo.yml on a clean runner and checks that it works end to end.

  • Triggers: pull_request, push to main, and manual workflow_dispatch.
  • permissions: contents: read. No secrets are used.
  • 20 minute timeout, with a concurrency group that cancels superseded runs.
  • Starts with docker compose up -d rather than --wait, because the one-shot certs and seed services exit by design. A poll loop replaces it.
  • Polls the dashboard on http://localhost:8080 until it answers, then checks that / serves HTML.
  • Logs in as the demo admin, which uses the throwaway credentials already published in the compose file. It polls /api/workers until DEMO-SQLHOST01 is online.
  • Writes the startup duration to $GITHUB_STEP_SUMMARY.
  • On failure it prints compose ps -a and the last 200 log lines per service.
  • It always runs down -v.

The /api/workers field names (hostName, online) were checked against packages/server/src/api/app.ts and the DB schema.

The SQL Server image is amd64, so the runner pulls about 1.5 GB and the first run may be slow.

🤖 Generated with Claude Code


Draft opened by Oli's repos agent.

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>
Agent Harness and others added 3 commits October 21, 2026 12:19
…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>
@semics-tech
semics-tech marked this pull request as ready for review October 21, 2026 22:01
semics-tech pushed a commit that referenced this pull request Oct 22, 2026
…dme-screenshots

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