Repository navigation
docs: document container storage prerequisites - #1607
Merged
Cedric Vidal (cedricvidal) merged 39 commits intoNov 5, 2026
Merged
Cedric Vidal (cedricvidal) merged 39 commits into
Cedric Vidal (cedricvidal) merged 39 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the pinned yq image and BusyBox wget for bounded, non-root agent registration without runtime package installation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…x-optional-native-fallback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…fallback' into cedricvidal-fix/remove-portal-git-lookup
…dal-docs-container-storage-prerequisites Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ack-issue' into cedricvidal-harden-agent-registration
…-decouple-pnpm-bootstrap Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…erify-stack-endpoints Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…x-optional-native-fallback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…fallback' into cedricvidal-fix/remove-portal-git-lookup
…dal-docs-container-storage-prerequisites Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Cedric Vidal (cedricvidal)
requested a review
from Wassim Chegham (manekinekko)
November 4, 2026 01:57
…fallback' into cedricvidal-fix/remove-portal-git-lookup
…dal-docs-container-storage-prerequisites Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…dal-docs-container-storage-prerequisites Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ix-optional-native-fallback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ack-issue' into cedricvidal-harden-agent-registration
…-decouple-pnpm-bootstrap Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> # Conflicts: # scripts/docker-compose.test.ts
…ix-optional-native-fallback Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…dal-fix/remove-portal-git-lookup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…dal-docs-container-storage-prerequisites Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Cedric Vidal (cedricvidal)
marked this pull request as ready for review
November 5, 2026 00:38
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Base automatically changed from
cedricvidal-fix/remove-portal-git-lookup
to
main
November 5, 2026 00:41
…dal-docs-container-storage-prerequisites Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> # Conflicts: # CONTRIBUTING.md
Test Results (Node.js 22)test: Run #503
🎉 All tests passed! |
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
Docker Desktop and Podman Machine can store images, writable layers, build cache, and named volumes inside a VM or separate runtime filesystem. That storage can be exhausted independently of apparent host free space, causing a large clean Scope build to fail deep into package installation or compilation even when the host still reports ample capacity.
This final stack layer is intentionally documentation and AI-agent guidance only. It adds inspection-first contributor guidance in
CONTRIBUTING.mdand concise enforcement rules inAGENTS.md: inspect and report runtime/VM capacity before a large clean rebuild; identify only Scope/worktree-specific resources; require explicit user approval before targeted cleanup; warn that named volumes may contain MongoDB, Azurite, authentication, gateway-build, or worker-workspace data; and prohibit automatic broad pruning, wildcard deletion, or removal of unrelated resources. It does not add runtime enforcement, automatic cleanup, build-progress UX, Docker-context validation, or other application behavior.This is the sixth and final dependent layer of native stack #1610. It targets
cedricvidal-fix/remove-portal-git-lookupat synchronized baseccacccc37c46cfca29094cb0f5e4a197bc657d2b; current head isce5840588da7bee556dfa73054fcc2b7ce0499b2.Demos
N/A — documentation and AI-agent instructions only.
Before
N/A
After
N/A
Testing
pnpm headers:check— all 969 in-scope files have the required license header.git diff --check origin/cedricvidal-fix/remove-portal-git-lookup...HEADon the final synchronized base.CONTRIBUTING.md#prepare-container-storage-for-a-clean-rebuildheading exists, theAGENTS.mdlink resolves to it, approval/named-volume warnings remain present, and the layer diff relative to the final base is documentation-only:AGENTS.md(+9) andCONTRIBUTING.md(+84).docker context show,docker info --format 'DockerRootDir={{.DockerRootDir}}',docker system df, anddocker system df -v.podman machine list,podman system df,podman system df -v, andpodman machine ssh "$machine_name" df -h / /var /var/lib/containers.docker compose images --helpverified the documented image command. The first documentation validation occurred before this worktree had generated.env, so that worktree-specific sequence was syntax/filter-validated rather than executed end to end; subsequent cumulative acceptance generated the worktree project name.--no-prune), and volume removal by explicit ID/name. No destructive cleanup command was run.pnpm exec vitest run scripts/docker-compose.test.ts scripts/register-agent.test.ts scripts/verify-dev-stack.test.ts apps/portal/src/lib/build-metadata.test.ts --reporter=default— 4 files, 36 tests passed after the corrected readiness lifecycle was merged.null, memory to 2 GiB, health start period to 600 seconds; registration uses pinnedmikefarah/yq:4.54.1with no runtime registrationapk add; package bootstrap fell back from Corepack to pinned pnpm 10.29.1 through the package registry and succeeded; optional native dependency output contained nocpu-features,ssh2,ERR_PNPM, or optional-build failure; Portal regression asserts no runtimeexecSyncorgit rev-parselookup.1fed733328dccc0bdc9aad59d695571066b2e4fcusingGITHUB_TOKEN="$(gh auth token)" pnpm docker:dev:copilot. Preflight showed the Podman VM had 101 GiB free. The command was allowed to make build progress for 30 additional minutes without pruning or--no-cache; the corrected readiness lifecycle did not emit the earlier prematurenot-createdfailure. Podman built/tagged the Portal image and progressed through parallel Judge, report-generator, scheduler, post-processor, and model-scanner TypeScript build stages. At the bound, the final active stage waspnpm --filter shared build && pnpm --filter telemetry build && pnpm --filter model-scanning build && pnpm --filter model-scanner-copilot build, withmodel-scanner-copilotrunningtsc. No worktree Compose container or named volume had yet been created, so published Portal/API/gateway probes, registration runtime logs, Copilot queue/Mongo readiness, and a pending → processing → done run could not be completed; no run/request ID exists. The acceptance process was stopped, useful images/cache were preserved, unrelated resources were untouched, and a final VMdfprobe timed out under residual runtime load.Documentation and compatibility
Updated
CONTRIBUTING.mdwith detailed safe preparation guidance andAGENTS.mdwith concise AI-agent rules linking to that section. The change is documentation-only and introduces no runtime, API, CLI, dependency, migration, deployment, or compatibility change. No upgrade step is required.Checklist
up()/down()and keep it CosmosDB-compatible. — N/A (no database change)NOTICE/NOTICE-REVIEW.txtwithpnpm noticeas needed. — N/A (no dependency change)