Skip to content

The work bar stops blinking, and says what a pull request carries over main - #2097

Merged
suleimansh merged 2 commits into
mainfrom
bar-and-base
Oct 14, 2026
Merged

suleimansh merged 2 commits into
mainfrom
bar-and-base

Conversation

@suleimansh

Copy link
Copy Markdown
Member

👤 Suleiman

  1. The work bar blinks at the end of a run: it shows while the agent works (dirty checkout), hides the moment the run ends because the branch read says "0 commits" yet, then comes back 15 seconds later. Keep the bar once it has something to say for that run, and re-read the branch the moment the run ends instead of waiting for the 15-second poll.

  2. A run started from a local branch carries that branch's files into its pull request. In my test-project the skills are committed on the-framework/say-hello-static-html, not on main: the bar says "1 file, +5" (the run's own work) while a pull request against main would carry 43 files, +529. When the run's base is not the branch the project starts from, say it beside Open PR — "43 files over main" — with the numbers on hover. Block nothing.

🤖 automated · Opus 5, effort high

The blink. A clean run makes its own last commit while it cleans up, after its turn has ended. The branch read taken the moment the run ended answered for a branch that held nothing, so the bar hid itself; the next read was fifteen seconds later, so it came back by itself.

Two changes. The bar keeps what it has to say for a run once it has said it. And a run whose turn has just ended has its branch read every second until it has something to say, rather than every fifteen.

What a pull request carries. A run started from a local branch sits on that branch's own unlanded commits, and the pull request goes to the default branch, so they go up with it. The branch is now read a second time for such a run, measured from the default branch, and the difference is said beside Open PR — "43 files over main" — with the commits and the lines on hover. The run's own counts stay what they are, measured from where its work begins. Nothing is blocked, and a run started from the branch the project starts from reads the branch once, as before, and says nothing.

Checked on your test-project, with a test OpenAgent on its own port:

  • A run started from the-framework/say-hello-static-html: its own work is 1 file +1, and the bar says 43 files over main. The branches provider's own numbers for that branch: 43 files, +529, 5 commits.
  • The bar watched four times a second through a whole run, in the built page: at 6.5s it says 1 file · +1 while the agent works, at 44.0s it becomes +1 −0 · 43 files over main · Open PR. It never goes away in between, and the last step lands at the second the run ends, not fifteen seconds later.
  • Each fix has a test that fails without it.
  • pnpm build, pnpm -r typecheck, pnpm -r test all green on the newest main.

🤖 Generated with Claude Code

suleimansh and others added 2 commits October 14, 2026 18:00
A clean run makes its own last commit while it cleans up, after its turn
has ended. The branch read taken the moment the run ended answered for a
branch with nothing on it, so the bar hid itself, and the next read was
fifteen seconds later, so it came back by itself. That was the blink.

Two things now. The bar keeps what it has to say for a run once it has
said it. And a run whose turn has just ended has its branch read every
second until it has something to say, rather than every fifteen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A run started from a local branch sits on that branch's own unlanded
commits, and a pull request goes to the default branch, so they go up
with it. In test-project the skills live on a local branch: the run did
one file, +5, and a pull request against main would carry 43 files, +529.
Nothing on the page said so.

The branch is now read a second time for such a run, from the default
branch, and the difference is said beside Open PR — "43 files over main"
— with the commits and the lines on hover. The run's own counts stay what
they are, measured from where its work begins. Nothing is blocked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@suleimansh
suleimansh merged commit 6ba5c30 into main Oct 14, 2026
6 checks passed
@suleimansh
suleimansh deleted the bar-and-base branch October 14, 2026 16:12
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