Skip to content

fix(transcribe-streaming): wait for clinical note before integ cleanup - #165

Merged
smilkuri merged 1 commit into
developfrom
fix/integ-test
Dec 1, 2026
Merged

smilkuri merged 1 commit into
developfrom
fix/integ-test

Conversation

@smilkuri

@smilkuri smilkuri commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:
Internal P578038619
The medical scribe integration test returned as soon as the stream finished. Clinical note generation runs after the stream ends and writes to the test's S3 bucket, but the session fixture deleted the bucket and IAM role right after the test returned. The note job then failed because the bucket no longer existed.

Description of changes:
The test now polls get_medical_scribe_stream until clinical note generation finishes (up to 5 minutes) before returning, so cleanup runs only after the note has been written.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@smilkuri
smilkuri requested a review from a team as a code owner December 1, 2026 19:15
@smilkuri
smilkuri merged commit 5ffa0b2 into develop Dec 1, 2026
5 checks passed
@smilkuri
smilkuri deleted the fix/integ-test branch December 1, 2026 20:08
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.

3 participants