Commit Graph

3 Commits

Author SHA1 Message Date
Brennan Benson 7414f17376
test: stabilize release e2e checks (#5212)
Co-authored-by: Orca <help@stably.ai>
2026-06-11 12:46:43 -07:00
Neil 1884b5c206
test(e2e): stabilize release-cut e2e failures (#4942)
* test(e2e): stabilize two flaky release-cut e2e specs

Fix two failing e2e tests from release-cut run 27171326222. All
changes are test-only — no application code is modified.

- artificial-opencode-terminal-load: widen MAX_RENDERER_SCHEDULER_
  QUEUED_CHARS from 2 MB to 3 MB. The scheduler is still enforcing
  backpressure (droppedBacklogCount must stay 0 and typing-latency
  budgets must still pass) — the 2 MB ceiling was too tight for the
  5-pane OpenCode pressure scenario on CI runners.

- source-control-discard-confirmation: click the dialog's confirm
  button instead of pressing Enter on the original row button. The
  dialog auto-focuses its own confirm button (see
  focusDiscardDialogConfirmButton), so pressing Enter on the row
  button just retriggered the open action and the dialog never
  closed within the assertion window.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>

* test(e2e): fix two flaky specs from release-cut run 27177379094

Fix the remaining e2e failures from the v1.4.52 release-cut run. All
changes are test-only.

- terminal-long-table-scroll-restore: replace mouse-wheel scroll loops
  with xterm scrollLines so tall wrapped tables can reach target rows on
  Linux CI. Share the helper via artificial-opencode-active-terminal-scroll.

- artificial-opencode-hidden-pressure: widen hidden restore latency budget
  to 1500ms. Typing-latency assertions still enforce responsiveness; the
  extra headroom absorbs parallel Electron worker jitter on CI runners.

---------

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
2026-06-08 20:30:05 -07:00
Neil 102cbdbda2
Make terminal scroll pressure benchmark diagnose responsive paths (#4846)
* Instrument terminal scroll pressure attempts

* Trace terminal scroll input timing

* Reduce PTY renderer in-flight window

* Revert "Reduce PTY renderer in-flight window"

This reverts commit 86775aeb68968e88b98c3a4c1b710eed5b0833b3.

* Probe alternate scroll paths after slow wheel

* Gate scroll pressure on responsive terminal path

* Address scroll benchmark review cleanup
2026-06-07 18:16:53 -07:00