Files
Pulse/scripts/tests
pulse-triage[bot] 5be27bffba Stage all root-sourced mirrored docs in Docker frontend builds
PR #5420 (b250914857) updated frontend-modern/scripts/sync-public-docs.mjs
to sync every mirrored markdown file under frontend-modern/public/docs/
during npm run build, including all four ROOT_SOURCED_DOCS (SECURITY.md,
TERMS.md, ARCHITECTURE.md, CONTRIBUTING.md). Both .dockerignore and the
frontend-builder stages in Dockerfile and
deploy/provider-msp/Dockerfile.control-plane still staged only SECURITY.md
and TERMS.md, breaking Core E2E image builds (main runs 46184827492 and
46185958697, PR #5439 job 141102369291) and source Docker builds with
ENOENT on /app/ARCHITECTURE.md.

- .dockerignore: allow ARCHITECTURE.md and CONTRIBUTING.md alongside
  SECURITY.md and TERMS.md.
- Dockerfile and deploy/provider-msp/Dockerfile.control-plane: copy
  ARCHITECTURE.md and CONTRIBUTING.md into /app/ in frontend-builder
  before npm run build, preserving the existing COPY SECURITY.md TERMS.md
  /app/ line checked by installtests.
- scripts/tests/test_container_packaging.py: add a regression test
  verifying .dockerignore and both frontend-builder Dockerfiles stage
  every root-sourced doc from scripts/check_docs_mirror.py and executing
  frontend-modern/scripts/sync-public-docs.mjs inside the resulting
  simulated container layout (with a missing-file negative control).

Contract-Neutral: Build-context and Dockerfile staging repair restoring container builds after #5420; no public interface or subsystem contract change.
Change-source: pulse-maintainer
2026-11-28 20:27:29 +00:00
..