Skip to content

TUI client CPU 100% when server shuts down #7645

@SunandRiver

Description

@SunandRiver

Problem: TUI client goes into tight retry loop causing CPU 100% when server is killed.

Repro:

  1. Run opencode spawn
  2. Kill server process
  3. Attach client spins CPU at 100%

Expected: Client should back off and exit gracefully.

This is being fixed in PR #7468.

Metadata

Metadata

Assignees

Labels

perfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions