Repository navigation
Conversation
…aywright/263-durable-evidence
…ight/262-stimulus-lifecycle
…aywright/263-durable-evidence # Conflicts: # packages/playwright/src/stimulus/lifecycle/native.test.ts
…aywright/262-stimulus-lifecycle
…aywright/263-durable-evidence # Conflicts: # packages/playwright/src/stimulus/lifecycle/native.test.ts
|
@codex review Please review head |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 805fe33fa4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review Please review current head |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Compose services with
buildnow get a unique local image tag per Sandbox and service. One explicit build supplies the images for telemetry preflight and Testcontainers startup. The generated override suppresses additional author-specified build tags. Pull-only services retain their configured images.Sandbox records intended tags before Docker builds and then records observed image IDs. Normal stop, startup failure, and recovery remove a scoped tag only after checking its exact reference, owner, service, and recorded ID when available. Each removal is checked by inspecting the same tag again. Capsule acceptance now observes the catalog baseline and scoped tag throughout the journey.
Scope and gates
agent/A-runtime/35-session-owned-images.96c7b670122bffeea1a831ec0cfc96ebd47a9292. The issue's integration target isrelease/v0.0.1-alpha. This PR follows the active stack and needs reconciliation before promotion.de8a53c330650af9c18954775d68be1371133c5e, tree34cc08ee6689e1fc608a9b09cdbb3323bd357903. GitHub synthetic mergee35316e5f9caa700cafb54081d203d76ee651392tested the same tree.Validation
pnpm install --frozen-lockfile,pnpm lint,pnpm typecheck,pnpm check:depsVITEST_MAX_WORKERS=1 pnpm --filter @suites/blackbox-sandbox testpnpm --filter @suites/blackbox-sandbox exec vitest run src/ownership/images/build.test.ts src/ownership/images/docker.test.ts src/acquisition/environment/effective.test.ts src/acquisition/environment/inspection.test.ts --reporter=verbosenode --test demo/support/capsule-proof-image.test.mjsBLACKBOX_SANDBOX_DOCKER_TEST=1 VITEST_MAX_WORKERS=1 pnpm --filter @suites/blackbox-sandbox exec vitest run src/ownership/images/build-images.docker.test.ts --reporter=verboseThe Docker tests seed synthetic
sut-*:localand extra tags, build distinct file contents concurrently, stop one Sandbox, and verify the sibling still serves its own content. Recovery starts with an actual surviving image, a stopping record and a removed container. A separate startup-failure case inspects the immutable ID retained after the successful build. Both Docker cases failed at their baseline-ID assertions under a deliberately widened cleanup. Restored cases passed.The unit controls removed ownership checks, omitted partial-build cleanup, and reintroduced implicit rebuilds. Eight targeted assertions failed. Two demo controls failed when catalog drift and leaked session tags were ignored. Local self-review provisionally qualifies these claims. The interruption fixture reconstructs a mid-stop state without killing the test process.
Local evidence is in
.blackbox/tmp/35/under the isolated worktree. Key files arequalification.md,docker-current.log,final-docker-cleanup.json,widened-control.log, andunit-controls-safe.log. All 31 current checks passed, including CI, E2E and Security. The issue's historicalpnpm test:e2e:capsuleis now thepnpm run test:demoacceptance lane. The local validation here was scoped to the affected package and real two-Sandbox regression.Security and independent review
Cleanup uses non-forcing tag removal and preserves a tag whose identity has changed when inspected. It never removes a build image by immutable ID. Docker provides separate inspect and removal calls. The tests cover independent Sandbox sessions and observed tag replacement, with no claim of atomicity against a separate Docker administrator retagging the same UUID during deletion.
The first review identified a Docker transport mismatch when the winning Testcontainers strategy was configured via its properties file. The fix passes its resolved host/TLS/certificate values to the explicit image build and subsequent Compose commands. The preceding implementation lost all three transport settings in the new control. Follow-up focused tests, lint, typecheck and dependency checks passed. The current full E2E run includes the Sandbox Docker suite and both installed-consumer Capsule demo jobs.
GitHub Codex review request and completed review summary identify exact head
de8a53c330650af9c18954775d68be1371133c5e, with zero findings and zero unresolved review threads.