Repository navigation
Fix unbounded FluidMeeting recording memory growth - #1034
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
FluidVoice PR build readyDownload FluidVoice-PR-1034-57c272bc8a8d The artifact contains the ad-hoc-signed app ZIP, Xcode archive, build manifest, and installation instructions. It expires 5 days after the build. Install the app
This build has its own app identity, so its permissions are separate from the release version of FluidVoice. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 64c032ba62
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ec299352e5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Brings in altic-dev/FluidVoice f0ef01c (unbounded FluidMeeting recording memory growth, altic-dev#1034) and 14f8457 (split streamed reasoning when only </think> arrives, altic-dev#1001). Conflict resolution: - MeetingAudioChunkWriter: adopt upstream's reportWriterFailure episode reporting, which covers append, chunk-start and finalization failures. It replaces the fork's lastNoChunkFailureDetail dedupe. - MeetingPCMFormatContractError: adopt upstream's "Unsupported PCM format: <reason>." description; keep the fork's MeetingPCMFormatNormalizer. - MeetingAudioChunkSinkTests: keep both helper recorders and update the fork's normalizer tests to the upstream error text.
Description
An unsupported microphone format can emit a writer failure for every audio buffer. Each event previously queued a full, growing session snapshot, causing quadratic memory retention when persistence fell behind.
Report one failure per continuous episode, publish degraded track health immediately, and re-arm reporting after a successful write. Replace the persistence task chain with one serial worker retaining one in-flight snapshot plus the latest pending snapshot per session. Preserve failures and health updates received during capture startup, and add readable format errors with diagnostic metadata.
Type of Change
Related Issue or Discussion
Closes #1014
Testing
swiftformat --config .swiftformat Sourcestestfvhelper (12MeetingAudioChunkSinkTests, 19 selectedMeetingRecoveryTests).Screenshots / Video