Repository navigation
fix(compose): delete vestigial shared/shared-generated build-contexts — core image builds clean (item 1 done) - #1850
Merged
Conversation
… — core image builds clean (item 1 done)
The "blocking gap" in the Linux punch list (entity_schemas.json is generated + absent from a clean checkout,
so `COPY --from=shared-generated` fails) was a FALSE ALARM. entity_schemas.rs embeds the schema at COMPILE
time via include_str!("../../../../protocol/typescript/entity_schemas.json") — a source-relative path, and
that file is CHECKED IN at protocol/typescript/, so the Dockerfile's `COPY . .` already provides it. The
`COPY --from=shared-generated …/shared/generated/…` targeted a path the code never reads; models.json has
ZERO references in the Rust core. Pure dead scaffolding from the pre-protocol/typescript era.
- docker-compose.yml: delete the `additional_contexts` block (shared, shared-generated) from continuum-core.
- continuum-core{,-cuda,-vulkan}.Dockerfile: delete both `COPY --from=shared*` lines + their stale comments.
Build-proven on macOS (Docker daemon up): a throwaway image confirmed the contexts resolved the real files,
and the native core has compiled all session reading exactly that include_str! path — so `COPY . .` provides
it in the image too. `docker compose config` green for base / +mac / +gpu; 0 dangling context refs. Updated
docs/CONTAINER-PATH-LINUX-VALIDATION.md: item 1 RESOLVED, remaining work is a real GPU `up` on Linux.
Reliability spine #1 (install) — the container path now builds without the frozen legacy tree for the core.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
added a commit
that referenced
this pull request
Jul 6, 2026
…/scripts, models via additional-context (item 2) (#1851) Caught by an actual `docker build` (not a guess): model-init's download scripts moved to tools/scripts with #1840, but the Dockerfile still COPYd them from the context root (which #1849 had pointed at legacy/src) — so `COPY scripts/download-models.sh` etc failed "not found". models.json is in legacy/src/shared; the scripts in tools/scripts; two homes, no single small context covers both (and there's no .dockerignore, so a repo- root context would ship the whole tree). - docker-compose.yml: model-init context → ./tools/scripts (scripts' home); models.json rides in as the `models` additional-context (./legacy/src/shared). - model-init.Dockerfile: COPY the scripts from the context root, `COPY --from=models models.json`, keep shared/ (download-avatar-models.sh sources shared/preflight.sh at runtime); DROP the dead generate-scene-models.ts + package.json COPYs (unused by the download CMD path). Build-proven on macOS (`docker build` — node:20-slim native arm64): all COPYs resolve, image exports clean. The model download is a runtime CMD, so the actual fetch is exercised by a real `up` (item 3). compose config green base/+gpu. Reliability spine #1 — both container BUILD-side items (core image #1850, model-init) now build-verified from this Mac; only GPU `up` / grid / fresh-OS install remain (genuinely Linux). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 4.8 <[email protected]>
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.
The "blocking gap" in the Linux punch list (entity_schemas.json is generated + absent from a clean checkout,
so
COPY --from=shared-generatedfails) was a FALSE ALARM. entity_schemas.rs embeds the schema at COMPILEtime via include_str!("../../../../protocol/typescript/entity_schemas.json") — a source-relative path, and
that file is CHECKED IN at protocol/typescript/, so the Dockerfile's
COPY . .already provides it. TheCOPY --from=shared-generated …/shared/generated/…targeted a path the code never reads; models.json hasZERO references in the Rust core. Pure dead scaffolding from the pre-protocol/typescript era.
additional_contextsblock (shared, shared-generated) from continuum-core.COPY --from=shared*lines + their stale comments.Build-proven on macOS (Docker daemon up): a throwaway image confirmed the contexts resolved the real files,
and the native core has compiled all session reading exactly that include_str! path — so
COPY . .providesit in the image too.
docker compose configgreen for base / +mac / +gpu; 0 dangling context refs. Updateddocs/CONTAINER-PATH-LINUX-VALIDATION.md: item 1 RESOLVED, remaining work is a real GPU
upon Linux.Reliability spine #1 (install) — the container path now builds without the frozen legacy tree for the core.
Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo