Skip to content

Revert "Prevent stale terminal pixels on tab reveal" - #7073

Merged
brennanb2025 merged 1 commit into
mainfrom
revert-7058-brennanb2025/overlapping-tui-output
Jul 2, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
revert-7058-brennanb2025/overlapping-tui-output

Conversation

@brennanb2025

Copy link
Copy Markdown
Contributor

Reverts #7058

@brennanb2025
brennanb2025 merged commit 7d3944c into main Jul 2, 2026
2 checks passed
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 307aa0b0-ddc6-45c7-aa4f-947c4f6655e6

📥 Commits

Reviewing files that changed from the base of the PR and between d6578af and 68bb8e6.

📒 Files selected for processing (7)
  • src/renderer/src/components/terminal-pane/terminal-visibility-resume.test.ts
  • src/renderer/src/components/terminal-pane/terminal-visibility-resume.ts
  • src/renderer/src/components/terminal-pane/terminal-webgl-atlas-recovery.test.ts
  • src/renderer/src/components/terminal-pane/terminal-webgl-atlas-recovery.ts
  • tests/e2e/terminal-recovery-reset-counters.ts
  • tests/e2e/terminal-recovery-timeout-stretch.ts
  • tests/e2e/terminal-tab-switch-overlap-repro.spec.ts

📝 Walkthrough

Walkthrough

Changes

This PR removes the standalone terminal visibility WebGL recovery mechanism. The light-tab resume path in terminal-visibility-resume.ts now schedules atlas recovery instead of visibility-specific recovery. In terminal-webgl-atlas-recovery.ts, the exported scheduleTerminalVisibilityWebglRecovery function and its E2E suppression logic were deleted, and the internal scheduleAtlasRecoveryBurst helper was simplified from a callbacks-object API to a single optional onComplete callback. Corresponding unit tests referencing the removed function were deleted, along with the standalone terminal-visibility-resume test file, e2e helper modules for reset counters and timeout stretching, and the terminal tab-switch overlap repro spec.

Sequence Diagram(s)

sequenceDiagram
  participant resumeTerminalVisibility
  participant scheduleTerminalWebglAtlasRecovery
  participant scheduleAtlasRecoveryBurst

  resumeTerminalVisibility->>scheduleTerminalWebglAtlasRecovery: light-tab resume triggers atlas recovery
  scheduleTerminalWebglAtlasRecovery->>scheduleAtlasRecoveryBurst: schedule burst with onComplete
  scheduleAtlasRecoveryBurst-->>scheduleTerminalWebglAtlasRecovery: onComplete clears terminalOutputRecoveryScheduled flag
Loading

Related PRs: None identified.

Suggested labels: refactor, terminal, tests

Suggested reviewers: None identified.


Poem:

  • A hop, a skip, past code once tangled,
  • Visibility recovery quietly disentangled,
  • Atlas now hums the resume tune,
  • Old tests retired beneath the moon,
  • One clean callback, lighter than before. 🐇
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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