Skip to content

fix: build Copilot BYOK smoke images before timed execution - #11317

Merged
lpcox merged 2 commits into
mainfrom
copilot/fix-build-smoke-copilot-images
Nov 8, 2026
Merged

lpcox merged 2 commits into
mainfrom
copilot/fix-build-smoke-copilot-images

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Cold Docker builds consume nearly the entire 15-minute Copilot execution budget, causing timeouts even after successful inference. Separate image preparation from startup, inference, and cleanup.

  • Preparation: Reuse build-smoke-images.sh in a separate 35-minute step after tested-revision checkout and AWF installation. Verify all three run-tagged images before exporting their tag.
  • Execution: Replace --build-local with exact prepared-image selection; prohibit fallback pulls:
    --image-registry awf-smoke --image-tag "${AWF_SMOKE_IMAGE_TAG:?}" --skip-pull
  • Workflow integration: Extend shared post-processing to Copilot BYOK and regenerate its lock. Preserve credential isolation, network restrictions, smoke assertions, and the 15-minute execution timeout.
  • Regression coverage: Include BYOK in existing image-preparation tests and strengthen checkout/install/build/execution ordering assertions.

Copilot AI changed the title [WIP] Fix build smoke Copilot BYOK images before execution step fix: build Copilot BYOK smoke images before timed execution Nov 8, 2026
Copilot AI requested a review from lpcox November 8, 2026 16:36
@lpcox
lpcox marked this pull request as ready for review November 8, 2026 16:51
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the change separating BYOK smoke-image preparation from execution.

No open issues 🎉

What changed in this PR

Moves Copilot BYOK smoke-image builds outside the 15-minute execution step, addressing the build-induced timeouts reported in #11316.

Changes:

  • Adds a separate 35-minute image-preparation step after checkout and AWF installation.
  • Extends shared workflow post-processing so BYOK execution selects the prepared images explicitly with --skip-pull instead of --build-local.
  • Expands regression coverage for BYOK image arguments and checkout/install/build/execution ordering.
File Description
scripts/​ci/​smoke-image-preparation.test.ts Adds BYOK coverage and strengthens preparation-order assertions.
scripts/​ci/​apply-general-workflow-patches.ts Includes BYOK in prepared-image workflow handling.
.github/​workflows/​smoke-copilot-byok.md Declares the separately timed image-preparation step.
.github/​workflows/​smoke-copilot-byok.lock.yml Regenerates preparation steps and switches execution to prepared images.

Review effort: Balanced (auto)

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@copilot Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox
lpcox merged commit 6cc4b91 into main Nov 8, 2026
39 of 40 checks passed
@lpcox
lpcox deleted the copilot/fix-build-smoke-copilot-images branch November 8, 2026 17:28
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.

fix: Build Smoke Copilot BYOK images before the timed agent execution step

3 participants