Skip to content

fix(core): skip docker pull for locally-built images#973

Merged
christso merged 3 commits intomainfrom
fix/docker-pull-local-image
Apr 8, 2026
Merged

fix(core): skip docker pull for locally-built images#973
christso merged 3 commits intomainfrom
fix/docker-pull-local-image

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 8, 2026

Summary

  • DockerWorkspaceProvider.pullImage() now runs docker image inspect before docker pull
  • Locally-built images that aren't on a registry no longer fail with "pull access denied"
  • Inspect uses a short 10s timeout; pull still uses the configured timeout

Split out from #970 as an independent fix.

Test plan

  • Unit tests updated: 29/29 passing
  • New test: skips pull when image exists locally (inspect succeeds)
  • Updated tests: pull path adds inspect-then-pull sequence
  • Timeout tests verify inspect uses 10s, pull uses configured timeout

Also includes a pre-existing biome formatting fix for eval-schema.json.

🤖 Generated with Claude Code

christso and others added 3 commits April 8, 2026 09:57
pullImage() now runs `docker image inspect` before `docker pull`, so
locally-built images that aren't on a registry no longer fail with
"pull access denied".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pre-existing lint issue on main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: dfa8691
Status: ✅  Deploy successful!
Preview URL: https://bb092cda.agentv.pages.dev
Branch Preview URL: https://fix-docker-pull-local-image.agentv.pages.dev

View logs

@christso christso merged commit a0eb60f into main Apr 8, 2026
4 checks passed
@christso christso deleted the fix/docker-pull-local-image branch April 8, 2026 10:52
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