Skip to content

fix(deploy): exclude generated credentials from image context - #396

Merged
Pigbibi merged 1 commit into
mainfrom
fix/audit-build-context-20260908
Sep 7, 2026
Merged

fix(deploy): exclude generated credentials from image context#396
Pigbibi merged 1 commit into
mainfrom
fix/audit-build-context-20260908

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Scope

Build from git archive HEAD rather than the entire runner workspace. The Google auth action creates an untracked credentials file after checkout; it must not enter the image via COPY . .

Verification

The existing CI shell gate now executes the actual build command against a synthetic checkout containing an untracked synthetic auth file.

  • Original workspace build: actual RED (exit 1).
  • Tracked-source archive build: GREEN; only the two tracked synthetic source files reached the Docker stub.
  • Existing no-traffic shell gate and bash syntax: PASS.
  • Offline admission/readback tests: 13 passed.
  • git diff --check: PASS.

Exactly two files changed. No credential values were inspected, logged, downloaded, or placed in fixtures. No traffic shift, IAM, Scheduler, env sync, broker action, deletion, or additional deployment is part of this PR. The staged revision remains at zero traffic; a fresh deployment requires a separate bounded validation after this fix and CI.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 14496f7 into main Sep 7, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/audit-build-context-20260908 branch September 7, 2026 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant