Skip to content

chore: upgrade template subtree to v0.29.2#106

Merged
ycpss91255 merged 3 commits into
mainfrom
chore/template-v0.29.2
May 14, 2026
Merged

chore: upgrade template subtree to v0.29.2#106
ycpss91255 merged 3 commits into
mainfrom
chore/template-v0.29.2

Conversation

@ycpss91255
Copy link
Copy Markdown
Contributor

Why

Why this fanout

ycpss91255-docker/base@v0.29.2 -- 4 small-bug closures since v0.29.1:

  • #334 Dockerfile.example WORKDIR collapse -- explicit ENV HOME declared before WORKDIR "${HOME}/work" so the directive resolves to /home/<user>/work instead of silently collapsing to /work. Eliminates the BuildKit WARN: UndefinedVar noise on every build and fixes non-interactive docker exec cwd. Downstream Dockerfiles need to mirror the ENV HOME line themselves (this PR only updates the template's example, not each downstream's copy) -- this PR-fanout doesn't auto-patch downstream Dockerfiles. Tracked by #348 (upgrade.sh auto-patch).

  • #335 exec.sh -t <non-devel> precheck -- container-name derivation now branches on ${TARGET}, mirroring compose.yaml's ${USER_NAME}-${IMAGE_NAME}-<stage>${INSTANCE_SUFFIX:-} convention. Before this, ./exec.sh -t headless ... against an actually-running headless container aborted with "'' is not running".

  • #341 stop.sh profile-gated service skip -- _down_one now exports COMPOSE_PROFILES='*' (compose v2.32+ wildcard) and passes --remove-orphans, so profile-gated services (headless / gui / test from #215) actually get torn down instead of silently surviving ./stop.sh with exit 0.

  • #345 stop.sh -v no-op -- previously exported BUILDKIT_PROGRESS=plain which has zero effect on compose down. Replaced with real verbose listing -- prints containers belonging to the compose project before tearing them down, in parity with build / run / exec verbose output.

Recommendation

All 4 are quality-of-life fixes for users hitting non-default targets (-t headless, -t gui, etc., from #215). v0.29.2 is the recommended v0.29.x baseline for any downstream consuming the auto-emitted stage feature.

Known follow-up

Downstream Dockerfile drift (the missing COPY .base/script/docker/lib /lint/lib line; pre-existing since #284 in v0.28.0) is still patched ad-hoc post-fanout via .claude/scripts/fix-dockerfile-lint-lib.sh --branch chore/template-v0.29.2. Tracked at base#348 for upgrade.sh auto-patch in a future minor.

Closes part of ycpss91255-docker/base#334, #335, #341, #345.

What

Bumps .base/ subtree to v0.29.2 via:

./.base/upgrade.sh v0.29.2
./.base/init.sh

upgrade.sh handles all four steps automatically:

  1. git subtree pull --squash to v0.29.2
  2. integrity check (template markers present)
  3. init.sh re-run (symlink resync)
  4. main.yaml @tag references rewritten to @v0.29.2

init.sh was re-run after the upgrade per the project's template subtree upgrade rule (rule lives in CLAUDE.md / memory).

Verification

$ cat .base/.version
v0.29.2

Smoke / unit / integration tests run in CI via the standard call-docker-build reusable workflow at @v0.29.2.

6acb8de chore: release v0.29.2 (#353)
ccac90a fix(stop): activate all profiles + --remove-orphans + real verbose listing (#341, #345) (#352)
ab8ca0d fix(exec): derive precheck container name from -t/--target (#335) (#351)
9f46574 fix(dockerfile): ENV HOME explicit for WORKDIR interpolation in Dockerfile.example (#350)
e2af192 chore: release v0.29.1 (#349)
c32569a fix(dispatcher): per-shard image_name separator hyphen not underscore (#347)
47bc869 chore: release v0.29.0 (#346)
db555ea chore: release v0.29.0-rc1 (#343)
5fc8800 ci(self-test): behavioural job conditional on behavioural_relevant + block-list expansion (#317 P3) (#342)
14d395d feat(ci): multi-distro-build-worker.yaml dispatcher reusable workflow (#325 B-1) (#339)

git-subtree-dir: .base
git-subtree-split: 6acb8de18db4fa75a9d676526a9289bb01c2e0e7
- main.yaml: workflow @tag updated to v0.29.2
- .gitignore: synced canonical entries (template lib/gitignore.sh)
- untracked any derived artifacts now covered by .gitignore
@ycpss91255 ycpss91255 merged commit 68bf2ab into main May 14, 2026
9 checks passed
@ycpss91255 ycpss91255 deleted the chore/template-v0.29.2 branch May 14, 2026 06:39
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