Skip to content

Fix server-detail polling when server is non-functional#107

Merged
larkly merged 2 commits intomainfrom
wt/20260330-155756
Mar 30, 2026
Merged

Fix server-detail polling when server is non-functional#107
larkly merged 2 commits intomainfrom
wt/20260330-155756

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Mar 30, 2026

Summary

  • idle server-detail API polling (console/actions/interfaces) when status is SHUTOFF, SHELVED, or SHELVED_OFFLOADED
  • keep server-status polling active so full polling resumes when status becomes functional
  • apply same gating in ForceRefresh()
  • add Console Log (L) pane title affordance
  • add tests for polling gate behavior and title rendering

Validation

  • cd src && go test ./internal/ui/serverdetail ./internal/app
  • cd src && go test ./...

Closes #106

larkly and others added 2 commits March 30, 2026 16:09
Stop console/actions/interfaces polling on SHUTOFF, SHELVED, and SHELVED_OFFLOADED while still polling server status; add Console Log (L) title hint and tests.

Closes #106

Co-authored-by: Copilot <[email protected]>
Ignore console/actions/interfaces response messages while server status is in idle set to prevent stale in-flight updates from reintroducing errors.

Co-authored-by: Copilot <[email protected]>
@larkly
Copy link
Copy Markdown
Owner Author

larkly commented Mar 30, 2026

Addressed review pass: serverdetail now ignores stale console/actions/interfaces response messages while in idle statuses, preventing in-flight responses from reintroducing errors after polling is idled.

@larkly larkly merged commit 81aac92 into main Mar 30, 2026
3 checks passed
@larkly larkly deleted the wt/20260330-155756 branch March 30, 2026 14:50
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.

Server detail should idle API polling for non-functional states + show Console Log hotkey

1 participant