Repository navigation
fix(deploy): exclude retired docs snapshots from image - #8743
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean operational packaging change.
This PR touches only .dockerignore (0 additions, 18 deletions), removing nine retired dist/docs/<version> selectors while retaining exactly the five versions referenced by docs.json navigation (2.5.3, 3.0.28, 3.1.31, 3.2.8, 3.3.0-beta.3). The reviewer verified via grep that none of the removed versions appear in docs.json, redirects, or runtime docs-indexing. The 3.3.0-beta.1 references in training-agent are schema-bundle versions under a separate allowlist, unaffected. Git dist/ artifacts are untouched, preserving immutability. Packaging-only, no protocol surface — no changeset required.
Decision trace: No critical/high findings (row 1 n/a). gated_paths is false (row 2 n/a). high_risk is false with no deletions in sensitive paths (rows 3, 5 n/a). No medium findings in data-loss/schema/infra categories (row 4 n/a). No prior decision (row 6 n/a). No no-auto-approve team match (row 7 n/a). Zero medium findings, far below three (row 8 n/a). Falls through to row 9 — approve.
Note: review_decision is REVIEW_REQUIRED but gated_paths is false, so the row-2 hard gate does not apply and does not block approval.
Deployment of #8740 stopped because the runtime application measured 7,482 MiB against Fly's 7,424 MiB ceiling. Exclude nine retired docs snapshots from the Docker context, retaining exactly the five snapshots used by
docs.json. Accounting for content deduplication, this removes approximately 74 MiB. The existing image size guard remains in place.Released artifacts remain unchanged in Git. This is an operational packaging change; no protocol changeset is needed.
Validation: normal precommit checks; full application build; runtime docs smoke with only the five included snapshots; runtime artifact closure and release navigation tests (48 passed, one existing skip). Code and security review found no outstanding issues. The production image build will verify the final size; projected headroom is approximately 16 MiB.
Open workspace in Conductor