Repository navigation
fix(ci): include frontend/plugins in the docker build context - #115335
Conversation
|
😎 Merged successfully - details. |
🤖 CI report
|
|
Risk: No findings This PR adds Sentinel reviewed |
There was a problem hiding this comment.
Not approved — escalated to a human reviewer.
Re-add the stamphog label to request another review once you have addressed this.
This touches container build tooling without independent assurance; neither discussion comment is a current-head review. Request a review from Codex, Claude, or a human teammate covering the build-context change before re-requesting.
- Risky territory without independent assurance: CI/deploy/build tooling — .dockerignore now includes frontend/plugins in Docker build contexts; Dockerfile copies frontend into the build stage, and frontend/build.mjs imports a module from that directory.
Gate mechanics and policy version
| Gate | Result | |
|---|---|---|
| prerequisites | ✓ | all clear |
| deny-list | ✓ | no deny categories matched |
| size | ✓ | 1L, 1F substantive — within ceiling |
| tier | ✓ | T1-agent / T1a-trivial (1L, 1F, single-area, fix) |
| stamphog 2.4.1 | .stamphog/policy.yml @ b87a5af · reviewed head b87a5af |
There was a problem hiding this comment.
Not approved — escalated to a human reviewer.
Re-add the stamphog label to request another review once you have addressed this.
This changes production image build inputs and requires independent assurance; the bot discussion summaries are not qualifying current-head reviews. Request a current-head review from Codex, Claude, or a teammate covering the Docker build change before re-requesting.
- Risky territory without independent assurance: CI/deploy/build tooling — .dockerignore now includes frontend/plugins in Docker build contexts; Dockerfile copies that directory into the frontend build stage, whose build script imports its zod plugin.
Gate mechanics and policy version
| Gate | Result | |
|---|---|---|
| prerequisites | ✓ | all clear |
| deny-list | ✓ | no deny categories matched |
| size | ✓ | 1L, 1F substantive — within ceiling |
| tier | ✓ | T1-agent / T1a-trivial (1L, 1F, single-area, fix) |
| stamphog 2.4.1 | .stamphog/policy.yml @ b87a5af · reviewed head b87a5af |

Problem
mastercommit since then fails theContainer Images CDbuild, so no image ships.frontend/build.mjsimportfrontend/plugins/zodJitless.mjs..dockerignoreallows only listedfrontend/paths, andfrontend/plugins/is not one of them.ERR_MODULE_NOT_FOUNDfor that file (example run).Changes
!frontend/pluginsto.dockerignore, so the plugin reaches the Docker build context. Nothing user-visible changes.How did you test this code?
busyboxbuild with the repo as its context copiesfrontend/plugins/, andzodJitless.mjsis present in the image.docker build --target frontend-build(the stage that failed in CI) completes: all 8 turbo tasks pass.masterbuild is the first full check.Test rationale: No new test. The
masterimage build already catches this class of failure.Release status
Docs update
None.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Agent: Claude Code, Claude Opus 5.5 (
claude-opus-5-5)/writing-pr-descriptions.🤖 Generated with Claude Code