Flicker log: off in gallery pages, and the ring stays under its bound after each write
Merged
TE
2d ago+14+14+01234567890123456789-6-6-0123456789
The two follow-ups from the review of #36133 (the always-on flicker log behind Leo's report, 2026-11-04: "a flicker across nearly the full screen").
- F1, gallery pages: the gallery's stand-in for the app's pane handler (
gallery/frame/agentPane.ts) marks itselfstandIn, andstartFlickerLogdoes not start on it. Gallery call logs get nodiag.flickerevents, and gallery pages run no detector observers. - F2, ring bound:
AgentPageFlickerLogrotates when a write would take the file past 256 KB, not after it, so neither half of the ring grows past the bound. The rollover test checks both files.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Turns off the flicker log in gallery pages and makes the ring rotate before a write would exceed the 256 KB bound.
- The gallery's stand-in for the app's WebKit handler now marks itself
standIn, sostartFlickerLogdoesn't start there and gallery call logs emit nodiag.flickerevents. AgentPageFlickerLogrotates when a write would take the file past 256 KB, not after it, so neither half of the ring grows past the bound.