Skip to content

CR-3: deliver acceptance follow-up with cancellation-safe sign-in retry - #438

Merged
BunsDev merged 5 commits into
mainfrom
cr3-retry-repair
Oct 28, 2026
Merged

BunsDev merged 5 commits into
mainfrom
cr3-retry-repair

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

This delivers the CR-3 acceptance follow-up from #437 with a repair for its sign-in retry race. Previously, a newer read or cancellation between the first refusal and the retry could be overwritten by the older retry. The Reader now validates ownership and registers its sole retry in one continuation, preserving newer reads, slot cancellation and cancelAll.

The inherited changes require consistent inbox totals before declaring paginated results complete, retry a refused sign-in read once, and exercise populated inbox, overview, diff and tree scrolling at desktop and compact window sizes. This delivery preserves those changes and adds three deterministic regressions for the retry boundary.

Validation on signed head 18a91a113d6950ade42ca89ae2a91a39ac761126: all three new regressions failed before the repair; all six focused reader cases passed afterward. Full root build and unit validation passed with 2,214 tests passed, 23 skipped and zero failures or cancellations. All 23 focused Code Review navigation, regression and scrolling E2E cases passed in 1.7 minutes. Independent review of the retry repair found no blocking findings. The full repository E2E run passed with 473 desktop passes, seven skips and seven site passes. The cold transcript median was 127.2 ms against the unchanged 500 ms gate. Hosted validation and protected merge-queue delivery remain required.

Refs #322 and #437. Keep #437 open until this delivery reaches main. Original-reference visual comparison and human keyboard/VoiceOver acceptance remain open. The scripted sign-in refusal tests do not claim authenticated live GitHub sign-in acceptance. Issue #322 remains open for its outstanding acceptance gates.

Hosted run 40776697192 passed on 18a91a113d6950ade42ca89ae2a91a39ac761126: 476 desktop E2E passes, four skips, seven site passes and 43 iPhone tests. The cold transcript median was 258.6 ms against the unchanged 500 ms gate. All head checks passed; protected merge-queue validation remains required.

BunsDev and others added 5 commits October 28, 2026 15:11
…nged read once (#322)

#349's re-review left two items for CR-3 before relying on the merged inbox:

- `mergePages` now calls a group complete only when every page reported the same
  total. A PR that closes between offset pages shifts the next page so a row is
  skipped while the distinct rows still reach the last total; the moved total is
  what tells that from a whole list. Red tests first (contract test).
- A read main refused because gh's hosts.yml moved during it ("sign-in changed")
  is read again once by the renderer's Reader, then the refusal is shown. The
  detail is now the shared `SIGN_IN_CHANGED` constant, used by main and matched by
  the renderer. Red test first (workspace test), plus an Electron regression
  through the production read service: held read, switch away and back, one
  retry, a second refusal shown, no third read until Retry.

Also adds e2e/code-review-scroll.spec.ts for AC3/AC4 with populated content: at
1440×900 and 900×600 the inbox list, overview, diff and file tree scroll on their
own by wheel and keyboard, keep the focused control, and restore their positions
on return.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…list (#322)

Adds docs/reviews/2026-10-28-cr3-acceptance.md: the #349 re-review fixes with
their red-first evidence, the populated scroll/focus proof at 1440×900 and
900×600, the gate results on 271d9f6 (build, typecheck, unit, e2e all passing),
and what stays open for Val: the R1–R4 comparison (originals gone; no synthetic
substitute) and the human keyboard/VoiceOver pass.

The design page documents the steady-total rule for mergePages and the single
renderer retry of a sign-in-changed refusal, and points C20 at the scroll spec.
The CR-8 VoiceOver checklist gains parts C (overview) and D (diff and file tree)
now that #323 and #324 have landed, with the folded 900×600 layout. status.md
records the follow-up and the two remaining gates.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
The originals are not on this Mac (searched by name, pixel size, Trash,
iCloud Drive and local snapshots). Val chose on 2026-10-28 to leave Step 3
open rather than re-capture or substitute synthetic captures.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@vercel

vercel Bot commented Oct 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 28, 2026 10:01pm UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main afd50ef cr3-retry-repair 18a91a1 +/-
66% 66% 0%
View coverage of the 8 most impacted files.
File main afd50ef cr3-retry-repair 18a91a1 +/-
apps/desktop/sr...ckends/codex.ts 98% 97% -1%
apps/desktop/sr...eview/reader.ts 100% 99% -1%
apps/desktop/sr.../code-review.ts 100% 100% 0%
apps/desktop/sr...ngine/runner.ts 98% 98% 0%
apps/desktop/sr...point-policy.ts 100% 100% 0%
apps/desktop/sr...shared/types.ts 100% 100% 0%
apps/desktop/sr...ls/execution.ts 0% 100% +100%
apps/desktop/sr...s/run-policy.ts 0% 100% +100%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit afec85b Oct 28, 2026
13 checks passed
@BunsDev
BunsDev deleted the cr3-retry-repair branch October 28, 2026 23:29

This branch was successfully deployed

1 active deployment
Preview — 18a91a11 Deployed Oct 28, 2026 by vercel[bot]
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