Skip to content

t_review5 cuts a first load with a hold instead of a pause - #11

Merged
progresshans merged 1 commit into
developfrom
feature/hold-the-first-history-read
Dec 2, 2026
Merged

progresshans merged 1 commit into
developfrom
feature/hold-the-first-history-read

Conversation

@progresshans

Copy link
Copy Markdown
Owner

t_review5's step 5 now lands its tab switch inside a first load's history read with a Debug hold instead of a 0.15 s pause. The pause is what made t_review5 fail in develop's flow job on 1b05ff8 (run 46122339208).

Why

  • Step 5 opened big-history, paused 0.15 s and switched to powerlens, aiming at the moment the first load reads its first page of history. Then it waited for big-history's phase to be ready.
  • On the slow runner the switch landed while the tab was still opening (its git rev-parse not back yet). Kaern makes such a tab a background tab with only the light status, as it should, so its phase stayed light and the wait for ready ran out after 90 s. The failure's dump shows phase light, no full load and one light refresh.
  • In the 14 other runs whose logs are still kept (since 2026-11-25), the 0.15 s switch landed inside the read 12 times and after it twice. Locally, a pause of 0–0.01 s switched before the tab was in the strip (a timeout too), 0.015–0.05 s while it opened, 0.07 s after the read, and 0.1–0.15 s inside it.
  • The app is right: a tab left while it opens loads everything when it's shown again. Step 5 was the only check that staged a race with a pause.

Change

  • Debug builds: hold history <folder> makes a first load wait before it reads its first page of history, with its git log stream made (readFirstPage in RepositoryModel). Release builds read as before.
  • t_review5 step 5 holds big-history there, opens it, switches to powerlens, waits until the tab is in the background (its stream stopped), lets go, and checks that the read was cut short (0 commits). Then it shows the tab again and checks its 400 commits. No loop over pauses and no fallback note.
  • checks/README.md: a step that must land inside something the app does holds the app there (hold_at) instead of pausing, and hold_at with a folder holds a repository opened afterwards.

Checked

  • t_review5 passed 3 of 3, each cut inside the read.
  • t_firstload, t_preload and t_tabs, which open repositories, passed 3 of 3 each.
  • The full suite and the Release build are this PR's CI.

🤖 Generated with Claude Code

Step 5 opened big-history, paused 0.15 s and switched to powerlens, aiming
at the moment the first load reads its first page of history. On a slow
moment of the CI runner (develop 1b05ff8, run 46122339208) the switch landed
while the tab was still opening: the app made it a background tab with the
light status, as it does for any tab left before it opened, so its phase
stayed light and the wait for ready ran out after 90 s. A switch before the
tab is in the strip would have timed out as well.

A Debug build's `hold history` now makes a first load wait before it reads
its first page, its `git log` stream made. Step 5 holds big-history there,
switches to powerlens (which stops the stream), lets go, finds the read cut
short, and gets the 400 commits when the tab comes back: the same at any
speed, with no loop over pauses and no fallback note. The checks' README
says to hold the app at a point a step must land in, rather than pause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T06:00:05.050159Z 2590ea5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@progresshans
progresshans merged commit 8798780 into develop Dec 2, 2026
3 checks passed
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