Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling. Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
54 lines
3.1 KiB
Markdown
54 lines
3.1 KiB
Markdown
# Phase 2 image build attempt — 2026-10-15
|
|
|
|
Historical disk-blocked checkpoint. **Superseded by the successful 2026-10-16
|
|
build and checks:** [current result](phase-02-image-build-20261016.md). The failure
|
|
record below is preserved unchanged as evidence of the first attempt.
|
|
|
|
Status: **not built: cancelled by disk-capacity guard**. Phase 2 remains
|
|
in_progress. No final `rag-local-s2s-candidate:phase2` image exists; native imports,
|
|
engine startup and engine/browser acceptance were not run.
|
|
|
|
User authorized building the isolated image from the reviewed lock. Inputs matched
|
|
the exact source/base/lock recorded in the dependency review. The only recipe edits
|
|
were `--only-binary=:all:` for the hash-verified dependency install and narrowing
|
|
Dockerfile-specific context exclusions to omit resolver cache and scratch logs.
|
|
The actual transferred context was **6.64 MB**. No runtime code or voice settings
|
|
changed. [Machine-readable evidence](phase-02-image-build.json) records commands,
|
|
fingerprints, cancellation result and disk observations.
|
|
|
|
Command from the repository root:
|
|
|
|
```sh
|
|
docker build --pull=false --progress=plain -f services/local_s2s/Dockerfile \
|
|
--build-arg ENGINE_BASE_IMAGE=python:3.11-slim@sha256:e529028263dbe6910a2d96f7d2b8f5266385e917fd45d286ef166977c094a51e \
|
|
-t rag-local-s2s-candidate:phase2 .
|
|
```
|
|
|
|
Before build, root and Docker storage (`/var/lib/docker`) had only approximately
|
|
1,003 MiB available. Moved **only this task's** approximately 780 MiB resolver
|
|
cache to `/tmp/local-s2s-resolver-cache-20261015` (tmpfs), preserving the original
|
|
cache path via a symlink. This freed approximately 1,768 MiB on root. Cache artifacts
|
|
are retained; no unrelated files/images/volumes were deleted and no pruning occurred.
|
|
The temporary cache is disposable across host reboot and is not a build input.
|
|
|
|
Build reached dependency installation (Dockerfile step 4/12) after downloading
|
|
the pinned wheels. A task-owned monitor sampled root free space every 0.5 seconds
|
|
and cancelled the owned build when it dropped below **384 MiB**. Recorded
|
|
minimum sample: **392,171,520 bytes**. Build client exit **130**,
|
|
`stopped_for_disk=true`. This was intentional resource cancellation, not proof of
|
|
a dependency/import incompatibility. Full build log remains in ignored
|
|
`.local-s2s-build/image-build.log`; its SHA-256 is in the evidence JSON.
|
|
|
|
After cancellation and disposable-step cleanup, root free space returned to
|
|
approximately **1.8 GiB**. Candidate tag inspection returned no image. Existing
|
|
test API/database, earlier acceptance database and `rag-postgres` remained running;
|
|
the PostgreSQL health checks remained healthy. No engine process, model-weight
|
|
download, provider call, native conformance or operational switch occurred.
|
|
|
|
Next prerequisite: sufficient Docker-disk space for downloaded wheels, unpacked
|
|
dependencies and layer export. Prefer **at least 4 GiB free** before retrying;
|
|
this is a working-space target, not a measured final image size. The build command
|
|
and verified inputs are ready to retry. No authorization to delete unrelated
|
|
build cache/images/volumes is inferred from the image-build request. No additional
|
|
build retry was attempted after the disk guard cancellation.
|