Repository navigation
feat(demo): public demo on Dokploy with a TestSprite pull-request check - #82
Merged
Merged
Conversation
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 tomainornext/v0.14, moves thelivetag, 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.forge --demofailed 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 onmainwithout 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