diff --git a/bin/chunk_pr/main.py b/bin/chunk_pr/main.py index cd1909a8..3dce17fb 100644 --- a/bin/chunk_pr/main.py +++ b/bin/chunk_pr/main.py @@ -376,7 +376,9 @@ def pushed(run: Run, config: Config, sleep: typing.Callable[[float], None]) -> s return found forge, branch, head = found old = run(["git", "ls-remote", "origin", f"refs/heads/{branch}"]) - sent = old if isinstance(old, Failure) else run(["git", "push", "--quiet", "--set-upstream", "origin", branch]) + if isinstance(old, Failure): + return old + sent = run(["git", "push", "--quiet", "--set-upstream", "origin", branch]) number = sent if isinstance(sent, Failure) else shown_pull(forge, branch, head, old.split()[0] if old.strip() else "", run, sleep) if isinstance(number, Failure): return number diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 6dfa2b13..eb2266a4 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -3700,3 +3700,14 @@ Read most (opens and searches): - `bin/task_bench/feature_tasks.py` 1 - `bin/task_bench/tasks.py` 1 - `todo.md` 1 + +## Reading cost, chunk f344ce83433c, finished 2026-11-27T14:05:18Z + +108886 new input tokens before the first commit. + +Read most (opens and searches): + +- `README.md` 3 +- `bin/release_plan/release_standing.py` 3 +- `CHANGELOG.md` 1 +- `bin/deploy_release/cut.py` 1