Skip to content

[codex] Add idle timeout and cancel running commands#37

Merged
lobis merged 1 commit into
mainfrom
codex/idle-timeout-process-cleanup
May 20, 2026
Merged

[codex] Add idle timeout and cancel running commands#37
lobis merged 1 commit into
mainfrom
codex/idle-timeout-process-cleanup

Conversation

@lobis
Copy link
Copy Markdown
Collaborator

@lobis lobis commented May 20, 2026

Summary

  • add a default one-hour interactive idle timeout with --idle-timeout / EOS_TUI_IDLE_TIMEOUT
  • wire the Bubble Tea program and EOS client to a shared signal-aware run context
  • cancel in-flight EOS/SSH commands when the client closes instead of waiting for command timeouts
  • document the new option and cover idle/cancel behavior with tests

Why

On eospilot, abandoned interactive sessions can keep eos-tui refreshing EOS state indefinitely. Session logs showed long-lived runs, especially in high-frequency IO shaping views. This change gives normal interactive runs a bounded lifetime while still allowing intentional dashboard use with --idle-timeout=0.

Validation

  • go test ./...
  • go build ./...
  • deployed and smoke-checked a local build on eospilot and lobis-eos-dev as v0.2.12+idlefix.20260520

@lobis lobis marked this pull request as ready for review May 20, 2026 08:43
@lobis lobis merged commit a54e41d into main May 20, 2026
4 checks passed
@lobis lobis deleted the codex/idle-timeout-process-cleanup branch May 20, 2026 08:48
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