Narrow the old head's type in chunk-pr push
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user