You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(ci): optimize docker sandbox CI from ~10min to ~3min
Three-pronged optimization for the docker-sandbox-online CI job:
1. Multi-stage Dockerfile: split into sandbox-base/test/full targets.
Test profiles skip the entire Node.js/pnpm/React UI build stage.
Full target (default) retains UI+Node for playground/dev/devcontainer.
2. GHA Docker layer cache: both sandbox jobs now use buildx with
cache-from/cache-to (type=gha), eliminating cold image rebuilds.
Pre-built images are passed via SANDBOX_IMAGE env var.
3. Clone reference cache: online TestMain pre-clones frequently used
repos as bare repos; cloneRepo() uses git --reference to reuse
local objects instead of re-downloading from GitHub on every test.
0 commit comments