feat(docker): Phase 4 reproducible experiment VM (4.1+4.2+4.3)#1617
Open
nextlevelshit wants to merge 4 commits into
Open
feat(docker): Phase 4 reproducible experiment VM (4.1+4.2+4.3)#1617nextlevelshit wants to merge 4 commits into
nextlevelshit wants to merge 4 commits into
Conversation
45 tasks
…oint + compose) Phase 4 of Epic #1565 — boots Wave + Claude Code + tea against any Codeberg/Gitea target repo, runs onboard-project on first contact, and exposes the webui on :8080. Files: - docker/Dockerfile.experiment — multi-stage: golang to build wave with webui_preview, debian to fetch tea, node:22-bookworm runtime with claude-code via npm. - docker/entrypoint.sh — bash (#!/usr/bin/env bash; no `set -o pipefail` per the dash-incompatibility hit on #1611). Idempotent clone, init, onboard, then exec wave serve. - docker/docker-compose.experiment.yml — single service, two named volumes (wave-work + wave-config) so OAuth/clone survive rebuilds. - docker/.env.experiment.example — required env template; the real .env.experiment is gitignored. Pending: 4.4 end-to-end smoke on a real Codeberg target. Will run after Anthropic API key + Codeberg token are wired in .env.experiment.
- golang:1.22→1.25 (go.mod requires >=1.25.5) - remove tini from apt (node:22-bookworm-slim lacks it; compose init:true handles PID1) - remove gh from apt (not needed for Codeberg/Gitea target; tea handles clone) - drop useradd (passwd pkg absent in slim); reuse pre-existing node user (UID 1000) - update ENTRYPOINT to call entrypoint.sh directly
d46290c to
6cec4e7
Compare
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.
Summary
Phase 4 of Epic #1565 — Dockerized Wave experiment VM that boots against any Codeberg/Gitea target repo, runs onboard-project on first contact, and serves the webui on :8080. End-to-end smoke (4.4) lands as a follow-up once a real Codeberg target + Anthropic key are wired.
What lands
Test plan
Why no `set -o pipefail` in entrypoint
#1611 shipped `set -o pipefail` in pipeline-evolve.yaml scripts; CI's `sh` (dash) doesn't support it and tests failed. Lesson banked: bash-shebang makes pipefail safe to add later, but the entrypoint here doesn't pipe-chain anywhere it matters, so I'm leaving it off rather than adding a safety I don't need.
Related