clawbench-batch builds the image before discovering that a resumed batch has nothing to do
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Read src/clawbench/runner/batch.py, especially async_main and its --resume path. Check the existing batch tests and run the focused tests for resume behavior. Reorder the resume scan and image build so a completed batch exits successfully without calling docker_build, while pending jobs still trigger exactly one build; verify the summary prints first.
Written by the indexing model from the issue text.
Description
Problem
Resuming a completed batch rebuilds the container image first. If the build cannot run — daemon down, registry unreachable — the command fails instead of reporting that all jobs were already done.
At d8faa73, async_main in src/clawbench/runner/batch.py calls _run_mod.docker_build(args.harness) before it enters the --resume branch that marks jobs from existing logs and checks whether any remain. docker_build exits the process on failure. So clawbench-batch --resume <finished-batch> requires a working engine and a successful build to tell the user there was nothing to run.
Acceptance
- The resume scan happens before the image build, and a batch with no remaining jobs exits successfully without touching the engine.
- The build still happens exactly once when there is work to do.
- A test with a stubbed failing
docker_buildand a complete resume directory returns success; the same stub with pending jobs attempts the build. - The printed resume summary appears before any build output.
@Perry2004 please maintain this issue.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 74
- Avg merge
- 19h 1m
- Merged PRs (30d)
- 5
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TIGER-AI-Lab/ClawBench
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
TIGER-AI-Lab/ClawBench#457 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
TIGER-AI-Lab/ClawBench#479 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 46/100
TIGER-AI-Lab/ClawBench#478 ·
Maintainers usually reply within 1 day
-
Agent process exit codes are discarded, so CLI crashes are recorded as ordinary agent exitsPossibly taken @mikemikimike claimed this 1 day ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
TIGER-AI-Lab/ClawBench#477 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 56/100
TIGER-AI-Lab/ClawBench#476 ·
Maintainers usually reply within 1 day
All issues in TIGER-AI-Lab/ClawBench
Similar issues
-
[BUG]: Compliance rules never see Unity Catalog views as viewsPossibly taken @wagnercsantos claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
databrickslabs/ontos#1348 ·
Maintainers usually reply within 3 days
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.Possibly taken @pgmzeta claimed this today. OpenE-Verified P-Major
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
goonstation/goonstation#28259 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
woonstadrotterdam/monumenten#70 ·
Maintainers usually reply within 15 days
-
binding:python bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop sessionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
open-webui/open-terminal#210 ·