
We cut the wait to read a Forge PR by 29% with agents
One slow pull request turned into a loading-state sweep across web, Mac, and iPhone. We measured time to usable, watched what moved, and kept the replays.
A launcher that says “No matches” while the search is still running has given you the wrong answer. A chat that jumps when an image loads has moved what you were reading. Loading states are part of software quality. They’re also surprisingly easy for a coding agent to work on once you tell it what to record and what to hold still.
We started with one request: count the loading states when opening a pull request in Forge, our code hosting app. On a narrow viewport, the page showed four screens before the description became readable at 5.29 seconds. The first fix cut that to one loading layout and 3.76 seconds, a 28.9% shorter wait in the matched replay.
One stable shell cut the Forge wait by 28–29%
The old page showed public navigation, a full-screen “Heating the forge” message, another full-screen loader, and finally a signed-in skeleton. Most of that movement was the page changing its mind about what to render. We kept one shell in place and let the authorized PR description render while reviews, diff panels, and controls loaded independently. Those later sections kept their space.
One follow-up prompt was “keep public PRs indexable without slowing the shell.” The browser can render an indexable public PR without making the shell wait for a separate metadata request. The route still marks a private, unlisted, or unavailable PR as noindex when the existing API response identifies it. Access checks remain on the server.
Once the shell held still, it was easier to see where the remaining wait came from. The next rounds removed redundant repository reads, shared authorization work within the request, and batched rate-limit checks. Each release got its own before/after pair.

Calendar waited 74% less and web startup up to 48% less
We looked for the same problem wherever one piece of useful UI was waiting for something else. On web startup, we dropped redundant reads. A workspace open went from six requests on a cold desktop run and eight on a warm run to two in each. The largest startup time reduction was 47.6%, from 796 to 417 ms on warm desktop web. On the installed Mac app, cold startup improved 6.1% and warm startup was effectively flat.
The file reader was waiting for folder metadata before showing the file. The two-account Calendar was making one healthy account wait for the other. And on the iPhone, Find required a second tap to open the result. The useful content in each case could reach the screen earlier.

Compare all 18 measurements
Each pair has its own baseline and definition of usable. Percent reduction is the time saved divided by the before time.
| Replay | Before → after (ms) | Time saved (ms) | Reduction |
|---|---|---|---|
| Physical Duo Find | 6,080 → 4,040 | 2,040 | 33.6% |
| Two-account Calendar | 2,658 → 683 | 1,975 | 74.3% |
| Forge stable shell · desktop | 5,764 → 4,132 | 1,632 | 28.3% |
| Forge stable shell · narrow | 5,292 → 3,764 | 1,528 | 28.9% |
| Web file preview · desktop | 1,706 → 625 | 1,081 | 63.4% |
| Web file preview · narrow | 1,623 → 719 | 904 | 55.7% |
| Forge cheaper access checks · desktop | 2,724 → 1,904 | 820 | 30.1% |
| Forge cheaper access checks · narrow | 2,484 → 1,904 | 580 | 23.3% |
| Web startup · desktop cold | 842 → 454 | 388 | 46.1% |
| Web startup · desktop warm | 796 → 417 | 379 | 47.6% |
| Forge batched rate limiting · narrow | 2,239 → 1,864 | 375 | 16.7% |
| Forge fewer detail reads · desktop | 3,516 → 3,180 | 336 | 9.6% |
| Web startup · narrow warm | 704 → 398 | 306 | 43.5% |
| Web startup · narrow cold | 696 → 408 | 288 | 41.4% |
| Forge batched rate limiting · desktop | 1,862 → 1,750 | 112 | 6.0% |
| Installed Mac startup · cold | 1,124 → 1,055 | 69 | 6.1% |
| Forge fewer detail reads · narrow | 3,308 → 3,272 | 36 | 1.1% |
| Installed Mac startup · warm | 684 → 682 | 2 | 0.3% |
The 2 ms (0.3%) change for the installed Mac warm open was effectively flat.
Find took one tap and 34% less time on the physical Duo
“Try the physical Duo again” was enough to redirect the agent from a simulator to the phone. We reran a matched pair on the same physical device with signed build 187 variants. From the result tap to usable chat, including XCTest settling, we recorded 6.08 → 4.04 s (33.6% less time). The extra “Open” tap was gone.
The narrow file preview loaded 56% sooner
We held back folder metadata and then injected a 503 on a later refresh. The narrow preview went from 1,623 to 719 ms (55.7% less time). When the refresh failed, the preview stayed readable. This is the kind of bug you miss if measuring only the happy path.
Two-account Calendar waited 74% less for a usable event
Two synthetic Google accounts drove this Chromium replay. One responded slowly and failed. The usable event from the healthy account appeared in 683 ms instead of 2,658 ms (74.3% less time), and it stayed visible through the other account’s failure and retry.
Cold startup on the installed Mac took 6% less time
We used the installed QA app and a synthetic workspace. Across three runs per condition, the median moved from 1,124 to 1,055 ms (6.1% less time).
A failed poll stopped taking the agent run offscreen
We failed one status poll while the run was underway. The baseline cleared the partially generated answer and the Stop control. With the fix, both stayed visible and the next poll could recover.
The launcher stopped reporting false empty results
In the Mac renderer, we held a saved Quicklink response for the same interval in both replays. The fix shows that the lookup is still running and keeps the selected row steady when a result arrives. A quicker-looking empty state was the bug here.
Short prompts and a long verification loop
The prompts were mostly small decisions about scope or where to test. “Keep public PRs indexable without slowing the shell.” “Want it faster too.” “Try the physical Duo again.” There were 22 direct user messages in the sweep and release check, with a median of 21 words. Logged turns took about 15 hours and 35 minutes across 44 hours on the clock, including builds, CI waits, and replays.

We used signed-in Chrome for live Forge, Chromium fixtures for the web failures, WebKit with a simulated Tauri bridge for the launcher, and real installed builds for Mac startup and Duo Find. In the final turn, the first matched captures came back after about eight minutes. The rest of the run found a delayed 53 px sidebar resize, integrated changes from main, and caught a separate 21 px unread-message jump. A follow-up held the unread row within 1 px in three local replays.
Give the agent a visible assertion
Record one interaction. Delay one response. Pick the thing the reader needs to stay in place: the selected row, the partial answer, the composer, or the unread marker. Change a dependency, repeat the recording, and keep the assertion in a test. “This feels slow” is a useful starting point. A target you can point to on the screen is what makes the fix repeatable.