Repository navigation
fix: build Copilot BYOK smoke images before timed execution - #11317
Merged
Merged
Conversation
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
lpcox
marked this pull request as ready for review
November 8, 2026 16:51
Contributor
There was a problem hiding this comment.
🟢 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-pullinstead 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)
Contributor
|
✅ Copilot review passed with no inline comments. @copilot Add the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
build-smoke-images.shin a separate 35-minute step after tested-revision checkout and AWF installation. Verify all three run-tagged images before exporting their tag.--build-localwith exact prepared-image selection; prohibit fallback pulls:--image-registry awf-smoke --image-tag "${AWF_SMOKE_IMAGE_TAG:?}" --skip-pull