Skip to content

ac: say when the sandbox's image is being pulled - #1237

Merged
cdalar merged 1 commit into
mainfrom
ac-pull-message
Oct 26, 2026
Merged

cdalar merged 1 commit into
mainfrom
ac-pull-message

Conversation

@cdalar

@cdalar cdalar commented Oct 26, 2026

Copy link
Copy Markdown
Owner

container run pulls a missing image itself, but silently, and a first pull of ghcr.io/boxctl-io/claude-agent is over 600 MB: onctl -p ac claude sat on "Creating ... on ac" with nothing to show for a minute.

Deploy now asks container image inspect first and, when the image isn't on the Mac, prints Pulling <image>... and runs container image pull before run. A pull that fails is reported as such rather than as a failed run. onctl create goes through the same Deploy.

Test: TestAC_Deploy_PullsMissingImage covers inspect-then-pull on a missing image, no pull when present, and the error on a failed pull with no run attempted.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FGfFdYSzrrKe3ySAVMPSNR

`container run` pulls a missing image itself, but silently, and a first
pull of ghcr.io/boxctl-io/claude-agent is over 600 MB: `onctl -p ac
claude` sat on "Creating ... on ac" with nothing to show for a minute.
Deploy now asks `container image inspect` first and, when the image isn't
on the Mac, prints "Pulling <image>..." and runs `container image pull`
before `run`; a pull that fails is reported as such rather than as a
failed run. onctl create goes through the same Deploy.

Claude-Session: https://claude.ai/code/session_01FGfFdYSzrrKe3ySAVMPSNR
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.51%. Comparing base (f55aa0e) to head (a1714b2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1237      +/-   ##
==========================================
+ Coverage   47.49%   47.51%   +0.02%     
==========================================
  Files          80       80              
  Lines        9326     9330       +4     
==========================================
+ Hits         4429     4433       +4     
  Misses       4897     4897              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cdalar
cdalar merged commit 6cb86d1 into main Oct 26, 2026
13 checks passed
@cdalar
cdalar deleted the ac-pull-message branch October 26, 2026 04: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.

1 participant

⌂ 换网址