Skip to content

fix(v2): map failed and interrupted execution events to session.idle - #386

Merged
EyJunge1 merged 1 commit into
tickernelz:mainfrom
EyJunge1:fix/383-execution-failed-interrupted-idle
Oct 6, 2026
Merged

EyJunge1 merged 1 commit into
tickernelz:mainfrom
EyJunge1:fix/383-execution-failed-interrupted-idle

Conversation

@EyJunge1

@EyJunge1 EyJunge1 commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • bun test tests/v2-legacy-client.test.ts
  • bun run typecheck
  • Confirm against OpenCode ≥2.0.18 that failed/interrupted sessions arm the idle capture timer

Checklist

  • Branch is based on main (do not open PRs from commits already on main)
  • bun test passes (or N/A)
  • bun run typecheck passes (or N/A)
  • bun run check passes (format + lint + typecheck; or N/A)
  • Docs / README updated when behavior or contribution process changes

Auto-capture and profile learning only run on session.idle; without
aliasing session.execution.failed/interrupted those sessions were never
captured. Closes tickernelz#383.
@EyJunge1
EyJunge1 merged commit b8f514a into tickernelz:main Oct 6, 2026
7 checks passed
@EyJunge1 EyJunge1 mentioned this pull request Oct 6, 2026
2 of 8 tasks
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.

toLegacyEvent drops session.execution.failed and session.execution.interrupted, so auto-capture and profile learning never run for those sessions

1 participant