Skip to content

feat(demo): public demo on Dokploy with a TestSprite pull-request check - #82

Merged
mai1015 merged 3 commits into
mainfrom
feat/hackathon-demo-main
Oct 14, 2026
Merged

mai1015 merged 3 commits into
mainfrom
feat/hackathon-demo-main

Conversation

@mai1015

@mai1015 mai1015 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

What

  • deploy/demo/: Compose application for Dokploy and a demo image for a throwaway public instance (seeded demo data, no daemon, no MCP, no provider credentials, memory-backed data that is empty at every start). The entrypoint creates the administrator and a test account while Forge listens on loopback only, then starts Forge publicly.
  • .github/workflows/demo-testsprite.yml: builds a same-repository, non-draft pull request to main or next/v0.14, moves the live tag, has Dokploy deploy it, waits until the public URL serves that build, runs the TestSprite suite. The check to require later is Demo TestSprite result.
  • Fix: forge --demo failed on every start after the first user registered (machine owned by another user). The demo install now keeps the owner and visibility of an existing demo daemon. The new test fails on main without the fix.
  • docs/demo-instance.md: setup steps, secrets and variables, limits.

Carried over from feat/hackathon-demo (fcddbc0d, e1e672e8), with one addition: draft pull requests are skipped, so the long-lived draft #81 does not redeploy the public demo on every push.

Expected on this pull request

Demo TestSprite fails at "Check demo configuration" until the three secrets and three variables exist. After they are set, re-running that check is the first real run of the pipeline.

Not verified

Nothing has run on Dokploy, in the real container or in GitHub Actions. The public bind (0.0.0.0), the read-only filesystem and the Dokploy API calls are first exercised by the first real run.

Open before the URL is public

A signed-in visitor may be able to make the server run a shell command (Project lifecycle hooks, review check steps). Host the demo on a server that runs nothing else; see "What a visitor can and cannot do" in docs/demo-instance.md.

🤖 Generated with Claude Code

mai1015 and others added 3 commits October 13, 2026 17:45
deploy/demo/ holds the Compose application and the demo image for a
throwaway public instance; the Demo TestSprite workflow builds a
same-repository, non-draft pull request, has Dokploy deploy it and runs
the TestSprite suite against the public URL.

forge --demo failed on every start after the first user registered: the
first user takes ownership of the seeded daemon and the next install
registered it again without an owner. The install now keeps the owner
and visibility of an existing demo daemon.

Carried over from feat/hackathon-demo (fcddbc0d, e1e672e8) onto main;
draft pull requests are skipped so a long-lived draft does not redeploy
the public demo on every push.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Security Audit job fails on main since these advisories were
published; next/v0.14 already carries the bump (ee3d154).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The test attached its capturing subscriber only to the request future, so
tracing's process-wide callsite registration could cache the span as
disabled when another test registered it first. It failed about four runs
in ten of the whole api library suite. The subscriber now covers router
construction and every poll on a current-thread runtime.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit ed8149c)
@mai1015
mai1015 merged commit dea4311 into main Oct 14, 2026
7 of 9 checks passed
@mai1015
mai1015 deleted the feat/hackathon-demo-main branch October 14, 2026 01:49
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