Skip to content

fix: EOF spin loop in client->shell & pager disp#359

Merged
ethanpailes merged 1 commit intomasterfrom
fix-shell-to-client-EOF-spin
May 1, 2026
Merged

fix: EOF spin loop in client->shell & pager disp#359
ethanpailes merged 1 commit intomasterfrom
fix-shell-to-client-EOF-spin

Conversation

@ethanpailes
Copy link
Copy Markdown
Contributor

@ethanpailes ethanpailes commented May 1, 2026

Issue Link

n/a

AI Policy Ack

Ack

This PR was:

  • mostly or completely vibe coded
  • mostly or completely meat coded
  • bit of both

Gemini found this issue for me when I asked it to try to deflake some tests. I wrote the fix and vibed the tests for it.

Description

This patch fixes a couple of EOF spin loops in the client->shell thread and in the pager display thread. In both cases, we were continuing rather than bailing on EOF. This should prevent CPU pegging.

@ethanpailes ethanpailes requested a review from maxhbooth May 1, 2026 22:40
This patch fixes a couple of EOF spin loops in the client->shell
thread and in the pager display thread. In both cases, we were
continuing rather than bailing on EOF. This should prevent
CPU pegging.
@ethanpailes ethanpailes force-pushed the fix-shell-to-client-EOF-spin branch from dce4f5b to c8344e6 Compare May 1, 2026 22:52
@ethanpailes
Copy link
Copy Markdown
Contributor Author

The mac tests are spewing 403s trying to fetch packages. I think there is infra issue. I'm going to merge through it.

@ethanpailes ethanpailes merged commit 51609f8 into master May 1, 2026
7 checks passed
@ethanpailes ethanpailes deleted the fix-shell-to-client-EOF-spin branch May 1, 2026 22:59
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