Skip to content

fix: prevent error message on zero-turn sessions#108

Merged
scode merged 1 commit intomainfrom
fix-missing-transcript
Mar 21, 2026
Merged

fix: prevent error message on zero-turn sessions#108
scode merged 1 commit intomainfrom
fix-missing-transcript

Conversation

@scode
Copy link
Copy Markdown
Owner

@scode scode commented Mar 21, 2026

Claude Code doesn't write a transcript file for zero-turn sessions (start and immediately exit), but the SessionEnd hook still fires. Previously this caused a visible error on exit.

changelog: include

@scode
Copy link
Copy Markdown
Owner Author

scode commented Mar 21, 2026

Stack Links

This PR is part of a stacked series:

This comment was autogenerated by stax

@scode scode marked this pull request as ready for review March 21, 2026 03:21
@scode scode changed the title fix: gracefully handle missing transcript on session-end fix: void error message on zero-turn sessions Mar 21, 2026
Claude Code doesn't write a transcript file for zero-turn sessions
(start and immediately exit), but the SessionEnd hook still fires.
Previously this caused a visible error on exit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@scode scode force-pushed the fix-missing-transcript branch from f4834fe to 969c28d Compare March 21, 2026 03:22
@scode scode changed the title fix: void error message on zero-turn sessions fix: avoid error message on zero-turn sessions Mar 21, 2026
@scode scode changed the title fix: avoid error message on zero-turn sessions fix: prevent error message on zero-turn sessions Mar 21, 2026
@scode scode merged commit 083b10d into main Mar 21, 2026
20 checks passed
@scode scode deleted the fix-missing-transcript branch March 21, 2026 03:23
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