Repository navigation
docs(junior-qa): Prewarm the Docker sandbox snapshot - #2469
Merged
Merged
Conversation
Document how to build the dependency snapshot before the first QA turn. Run snapshot create with the dev server's Redis state, so the dev server reuses the snapshot. Also note that pnpm dev does not rebuild plugin packages after a pull. Co-Authored-By: Thomas Jiang <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
2 screenshot changes — 2 changed · 0 added · 0 removed Review screenshots in Frameshift
|
The Docker provider now installs only gh, jq and ripgrep. Update the build time and size, and say how to install missing tools. Co-Authored-By: Thomas Jiang <[email protected]>
Co-Authored-By: Thomas Jiang <[email protected]>
thomasjiangcy
marked this pull request as ready for review
October 31, 2026 17:41
thomasjiangcy
approved these changes
Oct 31, 2026
This branch was successfully deployed
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.
With the Docker sandbox provider, the first sandbox builds a dependency snapshot. With the small Docker base from #2472, that takes about 1 minute and makes an 837MB image. A sandbox from the saved snapshot starts in about 3s. This PR tells QA sessions how to build the snapshot before the first turn, and what the Docker sandbox has.
Changes to
skills/junior-qa/SKILL.md:gh,jqandrg. Install other tools withsudo(a plainnpm i -gfails withEACCES). Do not QA browser or Docker-in-sandbox behavior with this provider.pnpm devis up, runpnpm cli -- snapshot createwith the dev server's state settings (JUNIOR_STATE_ADAPTER=redis,REDIS_URL=redis://localhost:6382). With BullMQ, the dev server keeps the snapshot pointer in the Compose Redis.pnpm cliuses memory state by default. Without those settings, the command builds a second snapshot that the dev server never uses.pnpm buildafter a pull.scripts/dev-server.mjsrebuilds only core and the dashboard. After feat(events)!: Let event automations run for any resource #2407, old plugin builds madepnpm devfail withJunior plugin "github" events is invalid.Docs only.
junior snapshot createand the defaults ofpnpm clidon't change. Merge after #2472, because the size, time and toolset notes describe its behavior.Verification:
pnpm dev(BullMQ + Docker provider) running, the documented command printedresolve_outcome=cache_hit cache_hit=true. The same command without the Redis settings rebuilt the snapshot (rebuild_reason=cache_miss).pnpm skills:checkand prettier pass.via @thomasjiangcy.
--
View Session [Sentry]