Skip to content

detect: skip missing zellij sessions - #79

Merged
dapi merged 1 commit into
mainfrom
codex/skip-missing-zellij-sessions
Jul 8, 2026
Merged

detect: skip missing zellij sessions#79
dapi merged 1 commit into
mainfrom
codex/skip-missing-zellij-sessions

Conversation

@dapi

@dapi dapi commented Jul 8, 2026

Copy link
Copy Markdown
Owner

What changed

  • Add zellij.IsSessionNotFound to identify zellij diagnostics where list-sessions reports a session but list-panes says it is not found.
  • Make sessions detect skip that disappeared/exited session and continue with the remaining live sessions.
  • Keep missing sessions out of the live-session snapshot so existing active records can become stale correctly.

Why

Current zellij can include EXITED - attach to resurrect sessions in list-sessions --short --no-formatting. Calling list-panes for those names returns a session-not-found diagnostic, which made the entire sessions detect fail before it could inspect the real live Codex panes.

Validation

  • make
  • go test ./...
  • git diff --check
  • rg -n "zelima|Zelima" . returned only intentional guard/glossary mentions
  • Real check: ./zelma sessions detect && ./zelma sessions list no longer fails when zellij reports an exited mercury session

@dapi
dapi merged commit 604d7c2 into main Jul 8, 2026
2 checks passed
@dapi
dapi deleted the codex/skip-missing-zellij-sessions branch July 8, 2026 16:25
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