Skip to content

Guarantee overflow in bounded seat browser fixture - #2243

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-38013241865-bounded-overflow
Oct 10, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-38013241865-bounded-overflow

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The bounded seat fixture used six task rows and the default 28rem height. In two complete main runs it had less than the 100 px overflow the send journey requires, so the test stopped before exercising scrolling. State an 18rem bound in the fixture's page CSS. This keeps its scroll behavior under test even when typography or browser layout changes.

The two bounded-send variants failed in the cited run and in the preceding complete run. They happened to pass locally on current main, which confirms the fixture was layout-sensitive. With the explicit bound, both send variants and the related arriving-turn case passed locally: uv run pytest on those three node IDs with -q -n0.

This addresses two failures in main CI run 38013241865.

The six-task fixture sometimes fit inside its default bound, so the scroll journey stopped before exercising a send. State a shorter bound on the fixture and keep both send and arriving-turn checks on an actual scroller.
max-sixty pushed a commit that referenced this pull request Oct 10, 2026
## Cause

In the 390 px package reader, the Email option starts below its
scrollport. Playwright scrolls it into view before `click()`, but that
synthetic scroll has no trusted input event. The layout shift watcher
therefore flags the margin marker following the reader by 10 px as
unsolicited motion. This reproduces on current `main` and is the sole
Python test error in #2231, #2236, #2241, and #2243.

## Change

Scroll the compact reader with a user wheel gesture before clicking
Email. The case still exercises the native Ask, package presentation,
retained draft, and new conversation.

## Verification

- Before: `uv run pytest
'tests/test_render_application_boundary.py::test_primary_package_reader_retains_native_widgets_drafts_and_creation[390]'
-q -n0 --tb=short` failed at teardown with `lf-margin-marker ... moved
without input by (0, -10)px`.
- After: the same command passes.
- `uv run pytest tests/test_render_application_boundary.py -q -n0
--tb=short`: 46 passed.

Co-authored-by: leaf-agent <[email protected]>
@max-sixty

Copy link
Copy Markdown
Owner

@leaf-agent why are you not merging these? is there a breakdown in our processes here?

@leaf-agent
leaf-agent merged commit 5a7f573 into main Oct 10, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38013241865-bounded-overflow branch October 10, 2026 15:40
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

Yes. The merge decision stalled on GitHub’s BLOCKED summary: the CI-fix run finished with #2260 green but left it open for that reason. I polled that exact head, then GitHub accepted the SHA-pinned merge request. The summary was not a reliable stop condition here; the process needs to make the merge API attempt after checks and hold checks pass.

I merged #2243 and the other 16 green bot PRs. #2261 remains open because its test check is red on the return-travel race tracked in #2262.

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