Repository navigation
Fix #1033: Retranscribe a finished meeting in another language - #1103
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. |
[Medium impact] The changes affect finished-meeting transcription and its recovery workflow. The unrelated navigation rename must be removed or separated before this PR meets the repository’s scope requirement. SummaryAdds another-language transcription for finished meetings using saved audio.
All supplied previous threads are unnumbered, so none require a numbered finding entry. Their original failures are addressed by the current code. The earlier restart thread was manually resolved without explanation. Reviews (11) · Last reviewed commit: "Call the meeting setup action Meeting Ho..." · Reviewed by Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a0bf8f3ea1
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| } | ||
| // Earlier attempts may record a language used before the user transcribed the saved | ||
| // audio again. The latest recorded attempt is the transcript currently stored. | ||
| if let latestLanguage = self.processingAttempts.compactMap(\.languageCode).last, |
There was a problem hiding this comment.
Stamp the pending attempt with the selected language
When a completed session with an existing en attempt is switched to nl, beginProcessingRetry appends a new pending attempt whose languageCode is nil. This compactMap drops that latest attempt and compares the older en value with the updated session, so every pre-result MeetingSessionStore.save fails validation (and the coordinator swallows those errors); if processing fails or the app quits, the requested language, pending/failed attempt, and processing state are never persisted. Inspect the actual last attempt or populate its language before saving.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7e4b0fa541
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
how are you populating languages? how do you know what model supports what languages / who decided what model is used for what language? |
|
UI is pretty nice and I'd merge it if we can discuss the workflow :) |
|
Language list and model choice The language list is not a new mapping. It is the same set final meeting transcription already accepts.
The meeting pipeline then decides the model, in the existing Live captions stay English-only. That path bails out unless the meeting language is Workflow The intended workflow is the one that is already there, plus a way to correct a finished meeting. Before recording, FluidMeet settings → Transcript language chooses the language for a new recording. That setting already says final transcripts support these 25 languages and live captions are English-only. A Dutch meeting should be set to Dutch there so the first transcript is Dutch. Live captions will still be blank for Dutch, because that engine only starts for English. After recording, the header shows the language that was actually used. If it was wrong, More → Transcribe in another language… re-runs the saved audio. The picker only offers languages the meeting model supports. The new attempt is labeled with that language, the transcript is replaced, and the earlier attempt keeps the old language so a failed retry can still be reopened in the language the user chose. I kept this separate from the dictation model on purpose: meeting audio is already on disk, and the meeting pipeline already knows which model can transcribe it. Happy to adjust the workflow if you want the picker, the header, or the pre-recording setting to work differently. |
|
gotcha. here's one more : if retranscription fails, the old transcript becomes hidden and gets the wrong language label in exports - wanna fix this up? |
|
That was a good catch. Fixed. A failed or cancelled retranscription restores the previous transcript and that transcript's language, so it stays visible and exports keep the old language label. The failed attempt still records the language that was tried. A successful run still replaces both the transcript and the label. Covered by testFailedLanguageChangeRetryKeepsChosenLanguage. |
|
Fixed. A failed language change now restores the previous completed attempt's language even when that attempt produced no text, so the failure save is accepted and reopening keeps the recorded failure. The completed screen is shown only when there is transcript text to display. Covered by testFailedLanguageChangeOfEmptyTranscriptStillPersists. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8dd40e541b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| session.processingAttempts.dropLast().last(where: { | ||
| $0.languageCode != nil && $0.errorCode == nil && $0.stage == .completed | ||
| })?.languageCode |
There was a problem hiding this comment.
Retain the pre-retry language when attempt metadata is absent
When a completed legacy meeting has no prior attempt language (processingAttempts may be empty and MeetingProcessingAttempt.languageCode is optional), this lookup returns nil. If a new-language run then fails, restoreStoredTranscript keeps the old transcript but restorePreviousCompletedLanguage leaves the requested language on the session, so the save succeeds as .failed and JSON/API exports label the old transcript with the language that never completed. Fresh evidence in the final patch is that the new fallback still derives the old language solely from optional attempt metadata rather than preserving the pre-retry session language.
Useful? React with 👍 / 👎.
| let restoredLanguage = self.restorePreviousCompletedLanguage(&session) | ||
| let showCompletedTranscript = restoredLanguage && !session.transcriptSegments.isEmpty | ||
| session.state = showCompletedTranscript ? .completed : .failed |
There was a problem hiding this comment.
Retry the language that failed for empty transcripts
When a completed meeting has no transcript segments—for example, because the original language was wrong—and a retranscription in another language fails, these lines restore the old language and publish a failure. MeetingFailureCanvas can only invoke the language-less retry, so the next attempt silently runs in the restored old language even though the failed attempt records the user's requested language; the user has no language picker on that screen. Pass the last failed attempt's language through Retry or keep it separately from the retained transcript's language.
Useful? React with 👍 / 👎.
| Button(self.isBusy ? "Transcribing…" : "Transcribe", action: self.onConfirm) | ||
| .meetingGlassAction(prominent: true) | ||
| .keyboardShortcut(.defaultAction) | ||
| .disabled(self.isBusy || MeetingRetranscriptionLanguage.canonicalCode(self.selection) == nil) |
There was a problem hiding this comment.
Require a different language before enabling Transcribe
The sheet initializes selection to the session's current language, but this condition enables the default action for any supported code, so clicking Transcribe (or pressing Return) without changing the picker starts a same-language replacement. If that run fails with a nonempty prior transcript, restorePreviousCompletedLanguage returns false because the codes are equal and the coordinator persists .failed, hiding the restored transcript behind the failure canvas. The newly added sheet makes this same-language failure path directly user-reachable; require a selection different from the current language or preserve any previously completed result on failure.
Useful? React with 👍 / 👎.
|
okay -I'll let this be. feel free to work on the comments and I'll come back to this later! Thanks |
FluidVoice PR build readyDownload FluidVoice-PR-1103-7c657fc8cc46 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: 5c5d1a922e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
All five are fixed. A failed run now restores the language the session had before the retry, even when older attempts have no language metadata, so the stored transcript keeps its original export label. An empty completed meeting stays on the failure screen, and Retry transcription uses the language recorded on the failed attempt instead of the restored transcript language. Transcribe is disabled until the picker differs from the current language. A retry that fails after a visible transcript also returns to the completed screen instead of hiding that transcript. Fixed. Fixed. |
|
This pull request has been marked stale because it has had no activity for 5 days. It will be closed in 2 days if there is no further activity. Add the |
|
Closing this pull request because it remained inactive for 2 days after being marked stale. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0eb82a0180
ℹ️ 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".
|
Want your agent to iterate on Greptile's feedback? Start a greploop in Codex and it will work through the open comments and keep going until this PR reviews clean. |
Fixes #1033
Description
A finished FluidMeet recording could not be transcribed again in another language. Retry kept the original language, so a Dutch meeting captured with the English model stayed English.
This adds More → Transcribe in another language… on a finished meeting. The header shows the language that was used. The saved audio is transcribed again with the multilingual meeting model, and that transcript replaces the old one. The previous transcript and its language stay available if the retry fails, is cancelled, or the app quits before the replacement finishes.
The result-page navigation action is labeled Meeting Home, with a home icon and matching help text, to make its existing return-to-setup behavior clear.
Type of Change
Related Issue or Discussion
Fixes #1033
The scope was posted on #1033 before implementation: show the language on a finished meeting, let the user pick another language the meeting model supports, retranscribe the saved audio, and store the new language.
Live captions stay English-only. That is existing behavior and is not part of this change.
Testing
Contributor’s original manual verification:
Expected: the saved audio is transcribed again in the chosen language.
Result: the Dutch transcript replaced the English one.
FluidVoice 1.6.10-beta.8, macOS 27.0.1, Apple Silicon. I did not test on Intel.
swiftlint --strict --config .swiftlint.yml Sources Tests Package.swiftswiftformat --config .swiftformat SourcesMeetingProviderOptionsTests/testRetranscriptionLanguageAcceptsParakeetMeetingLanguagesOnly,MeetingSessionModelTests/testProcessingAttemptLanguageMustMatchSessionLanguage, andMeetingSessionModelTests/testEarlierProcessingAttemptMayRecordPreviousRetranscriptionLanguageCurrent-main follow-up: signed local CI, formatting, strict lint, and regression checks for successful replacement, cancellation, restart, and audio-lease cleanup passed on macOS 27.0 with Xcode 27.0, Apple Silicon. The source version remains 1.6.13-beta.1. The updated UI and real-model retry have not been manually retested; Intel and older macOS remain untested.
Screenshots / Video
I used a YouTube video that is in Dutch. I played it on my phone and recorded that audio as an in-room meeting with the Mac microphone.
Screen recording:
Screen.Recording.2026-10-11.at.8.27.32.PM.mov
Notes
The requested retry language is stored on its attempt. The session keeps the language of the transcript it currently contains until the replacement saves successfully. Interrupted retries restore the previous usable result; genuinely failed meetings retain their failure screen.
Live captions remain English-only. The original contributor commits and demonstration are preserved. This branch is updated against current main; maintainer UI review is pending.