Repository navigation
test: read the shown rows in browser scripts still waiting on xterm's hidden ones - #3041
Merged
Merged
Conversation
…den ones Since libghostty draws herdr panes by default (#3025), xterm's rows are hidden and no longer redrawn once its module loads. unconfirmed-input-demo-regression waited for them to be visible and fails on main; terminal-pinch, mirror-scroll, terminal-images and old-safari read or waited on them too and only passed while xterm still drew first. They now read scripts/shown-rows.ts, as the other browser scripts do; the film capture too. The unconfirmed-input and pinch edits match #3035's.
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Owner
Author
|
Local merge gate (owner-approved): test-only; six scripts that still read xterm's hidden rows after #3025 now use scripts/shown-rows.ts. In the CI runner image the demo scripts pass, main's unconfirmed-input fails with the CI timeout, and mutations fail as they should; check fast green; omo CLEAR. Merged without waiting for GitHub CI to unblock main's browser lane. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Since libghostty draws herdr panes by default (#3025), xterm's own rows are hidden once the module loads, and xterm stops redrawing them.
scripts/unconfirmed-input-demo-regression.tsstill waited for.xterm-rowsto be visible, so it fails on main (run 42077075576:locator resolved to hidden <div class="xterm-rows">).This moves it, and the other browser scripts that still read or waited on xterm's rows, to
scripts/shown-rows.ts, as the earlier move did for about 40 scripts:unconfirmed-input-demo-regression.ts: waits for the shown rows. This is the failing one.terminal-pinch-regression.ts(run by ui-contexts): waits for the shown rows before and after the reload. It only passed when xterm drew before the module loaded.mirror-scroll-demo-regression.ts: the "frame rendered" waits read the shown rows.terminal-images-demo-regression.ts:print()waits for its marker in the shown rows.old-safari-demo-regression.ts: "the terminal pane draws" now means the rows the user sees exist, not xterm's hidden ones.film/capture.ts(not a check): the R5 take reads the shown rows.The
unconfirmed-inputandterminal-pinchedits are line-for-line the ones in #3035, so the two PRs merge cleanly in either order.Reads that use only geometry (
.xterm-screenboxes and clicks, row counts, font size) are unchanged. xterm keeps sizing its grid under libghostty. So are scripts where only xterm draws: mirrors, iTerm2 pictures, andterminal-ghostty-demo-regression.ts, which checks that xterm's rows are hidden.Test-only: no change to
src/,server/orshared/.Validation
bun run check fast: pass (unit 12241 pass, 0 fail; typecheck, build, generated files).herdr-ci-runner:local, uid 1001, telemetry off), on this branch:unconfirmed-input-demo-regression,mirror-scroll-demo-regression,terminal-images-demo-regression,old-safari-demo-regressionPASS.ui-contexts-regression(run underbun run check run) ran through its last check (checkTelemetrySettingsPASS). Its checks run in order and the first failure stops the run, socheckTerminalPinchpassed.unconfirmed-input-demo-regression.tsin the same image fails with the same timeout as CI.mirror-scrolltimes out at "local pan changed frame rendered". With the printed marker dropped,terminal-imagestimes out inprint().