Skip to content

test(desktop): await thread scroll anchor - #31

Merged
BrianInAz merged 1 commit into
mainfrom
fix/desktop-thread-mode-anchor
Aug 11, 2026
Merged

test(desktop): await thread scroll anchor#31
BrianInAz merged 1 commit into
mainfrom
fix/desktop-thread-mode-anchor

Conversation

@BrianInAz

Copy link
Copy Markdown
Owner

Imports upstream commit 9213090 to make the focus/split E2E capture a settled middle-thread anchor.\n\nThe fork production anchor hooks remain unchanged.\n\nValidation: Desktop E2E build plus 20 consecutive local macOS passes of the corrected focus/split test.\n\nBeads: ios-buzz-59e.15.

## Why
The focus/split E2E test could capture the thread root before its
programmatic middle-thread scroll had settled, then incorrectly report a
scroll-restoration failure.

## What
- Poll until the requested middle-thread scroll position is applied
- Require the captured anchor to intersect the thread viewport and
differ from the root
- Preserve the existing focus-to-split-to-focus viewport assertions

## Risk Assessment
Low — test-only synchronization change with no production behavior
changes.

## References
- Original failure:
https://github.com/block/buzz/actions/runs/30231271427/job/89870533541
- Buzz thread:
buzz://message?channel=12dd513d-45fd-48ff-80ac-8596d2fcc9d3&id=87ce6024b4bf74bfac2fa75d9f7bbbcc8f8fe2df460afe534152c495929f51ba
- Reproduced confidence: 20 consecutive targeted passes, full spec pass,
`just desktop-ci`, and `just ci`

Generated with Codex

Signed-off-by: npub1x4hk035p3p9q39a3fcrd2fe30lpkrhr5dwe0cqzzjphxyyh8m0gsq4vqap <356f67c681884a0897b14e06d527317fc361dc746bb2fc0042906e6212e7dbd1@buzz.block.builderlab.xyz>
Co-authored-by: npub1x4hk035p3p9q39a3fcrd2fe30lpkrhr5dwe0cqzzjphxyyh8m0gsq4vqap <356f67c681884a0897b14e06d527317fc361dc746bb2fc0042906e6212e7dbd1@buzz.block.builderlab.xyz>
Co-authored-by: Wes <wesbillman@users.noreply.github.com>
(cherry picked from commit 9213090)
Signed-off-by: Brian Charbonneau <github@briancharbonneau.com>
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@BrianInAz
BrianInAz merged commit ad9e7c3 into main Aug 11, 2026
23 checks passed
@BrianInAz
BrianInAz deleted the fix/desktop-thread-mode-anchor branch August 11, 2026 07:28
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.

2 participants