Skip to content

Fix hibernated transcript previews#148

Merged
gbasin merged 3 commits into
masterfrom
bump/0.3.2
Jun 16, 2026
Merged

Fix hibernated transcript previews#148
gbasin merged 3 commits into
masterfrom
bump/0.3.2

Conversation

@gbasin

@gbasin gbasin commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Tail-read large transcript logs so hibernated session previews return quickly.
  • Add byte-cursor pagination so older entries load from the end without rescanning full logs.
  • Harden tail cursors for CRLF logs and multibyte UTF-8 split across read chunks.
  • Bump package version to 0.3.2.

Root Cause

Large transcript previews were read and scanned from the start, which could exceed the client timeout for hibernating sessions with multi-megabyte logs. The initial tail-reader also needed byte-level cursor handling to avoid corrupting split UTF-8 characters or miscounting CRLF logs.

Validation

  • bun run lint && bun run typecheck && bun run test
  • Served locally from this branch over Tailscale and verified the app loaded at http://100.82.11.20:5173/

@gbasin gbasin merged commit 33b125b into master Jun 16, 2026
5 checks passed
@gbasin gbasin deleted the bump/0.3.2 branch June 16, 2026 16:35
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