Skip to content

asr: reject undersized streaming transcript buffers - #81

Merged
lalalune merged 1 commit into
mainfrom
codex/asr-overflow-publication
Oct 15, 2026
Merged

lalalune merged 1 commit into
mainfrom
codex/asr-overflow-publication

Conversation

@lalalune

Copy link
Copy Markdown
Member

Streaming partial and final transcripts previously returned a successful prefix when the output buffer was too small. Return PK_E_INVALID without partial text and retain the transcript for a retry with sufficient space.

Validation: real Phonon-2/JFK FFI regression failed both undersized-buffer assertions before the fix and passed after it, including full-transcript retry, streaming, concurrent feed and cancellation. The publication base has the same source tree as the tested base.

AI-assisted change; publication explicitly approved by the maintainer.

@lalalune
lalalune merged commit 6e6a440 into main Oct 15, 2026
2 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant