Repository navigation
feat(wb): reuse published container images from committed contexts - #1602
Merged
Merged
Conversation
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
…ation Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
…ands Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
…d arguments Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
…ages Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
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.
Why
Cloudflare container images rebuilt on separate CI runners can have different digests even when their committed build context is unchanged. Publishing those rebuilds can trigger unnecessary container replacements.
Requirements
required: not recorded — ask the requester
Customer Summary
Adds the opt-in
wb deploy --reuse-container-imagesoption to reuse a published container image when its committed build inputs are unchanged.Technical Summary
Testing
bun run verifypassed.bun wb test test/unit/containerImages.test.ts(frompackages/wb): 21 cases passed with 90 assertions, covering cross-checkout reuse, target isolation, changed inputs, container identifiers/build arguments, registry/account selection, profile environment isolation, root/workspace contexts, vinext paths, dirty contexts, and cancellation/failure cleanup.linux/amd64image with--load --provenance=false; its temporary image was removed.Notes
The Requirements section uses the missing-request fallback because no public implementation specification is linked.
Build contexts are exported from Git; untracked files are not available to image builds. Changes to tracked context files can cause a rebuild even when Docker would ignore them.