Skip to content

test(archil): give Image.test a source no other suite re-pulls - #3175

Merged
sam-goodwin merged 1 commit into
mainfrom
fix/archil-image-test-race
Nov 8, 2026
Merged

sam-goodwin merged 1 commit into
mainfrom
fix/archil-image-test-race

Conversation

@sam-goodwin

Copy link
Copy Markdown
Member

Image.test.ts deploys an image no other Archil suite pulls, so its status === "ready" check stops racing the rest of the suite.

-Archil.Image("Base", { image: "alpine:3.20" })
+Archil.Image("Base", { image: "alpine:3.19" })

Archil keys an image by its source, and pulling a source it already has puts that image back in building for about two seconds (seen live: ready → createImage → building, building, ready). The Bindings fixture, its Agent image and ImagePush.test.ts all pull alpine:3.20, so in a full test/Archil run, Image.test.ts could read building right after its own deploy had seen ready.

@sam-goodwin
sam-goodwin merged commit 23ff59e into main Nov 8, 2026
3 checks passed
@sam-goodwin
sam-goodwin deleted the fix/archil-image-test-race branch November 8, 2026 06:53
sam-goodwin added a commit that referenced this pull request Nov 8, 2026
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