Skip to content

test(hooks): add test coverage for interactive-bash-session hook#4519

Open
Hungdoan565 wants to merge 2 commits into
code-yeongyu:devfrom
Hungdoan565:test/interactive-bash-session-hook-coverage
Open

test(hooks): add test coverage for interactive-bash-session hook#4519
Hungdoan565 wants to merge 2 commits into
code-yeongyu:devfrom
Hungdoan565:test/interactive-bash-session-hook-coverage

Conversation

@Hungdoan565

@Hungdoan565 Hungdoan565 commented May 26, 2026

Copy link
Copy Markdown
Contributor

Add 13 tests for the interactive-bash-session hook covering:

  • Session creation and tmux pane assignment
  • Tool execution routing to correct pane
  • Session cleanup on session.deleted event
  • Disabled hook behavior

Summary by cubic

Add 13 tests for the interactive-bash-session hook: tracks omo-* tmux sessions (new/kill/kill-server), appends reminder, ignores non-session commands and errors, and cleans up on session.deleted. Also sync bun.lock to oh-my-opencode-* 4.5.1 binaries.

Written for commit 3d844e8. Summary will update on new commits. Review in cubic

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