Skip to content

Fix #1033: Retranscribe a finished meeting in another language - #1103

Merged
altic-dev merged 12 commits into
altic-dev:mainfrom
ParamKataria:fix/retranscribe-meeting-language
Nov 1, 2026
Merged

altic-dev merged 12 commits into
altic-dev:mainfrom
ParamKataria:fix/retranscribe-meeting-language

Conversation

@ParamKataria

@ParamKataria ParamKataria commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

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

  • 🐞 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 🧹 Chore
  • 📝 Documentation update

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:

  1. Open FluidMeet and record an in-room meeting. The meeting language was English, so the first transcript was English.
  2. Open the finished meeting. The header shows the language.
  3. Choose More → Transcribe in another language…, select Dutch, and click Transcribe.
  4. The header changes to Dutch and the transcript is replaced with Dutch text from the saved audio.

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.

  • Tested on Intel Mac
  • Tested on Apple Silicon Mac
  • Tested on macOS version: 27.0.1
  • Ran linter locally: swiftlint --strict --config .swiftlint.yml Sources Tests Package.swift
  • Ran formatter locally: swiftformat --config .swiftformat Sources
  • Ran tests locally: MeetingProviderOptionsTests/testRetranscriptionLanguageAcceptsParakeetMeetingLanguagesOnly, MeetingSessionModelTests/testProcessingAttemptLanguageMustMatchSessionLanguage, and MeetingSessionModelTests/testEarlierProcessingAttemptMayRecordPreviousRetranscriptionLanguage

Current-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.

  • A human created this PR or reviewed and approved it before submission, understands the full diff, and takes responsibility for the change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T02:31:49.139664Z 1f05a9a New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[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.

Summary

Adds another-language transcription for finished meetings using saved audio.

  • Finished meetings can be transcribed again in another language.
  • The meeting header now calls its return button Meeting Home.

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Copy link
Copy Markdown
Owner

how are you populating languages? how do you know what model supports what languages / who decided what model is used for what language?

Copy link
Copy Markdown
Owner

UI is pretty nice and I'd merge it if we can discuss the workflow :)

@altic-dev altic-dev added awaiting response Older issue will close after three days unless this label is removed. Pending to Merge labels Oct 12, 2026
@ParamKataria

Copy link
Copy Markdown
Contributor Author

Language list and model choice

The language list is not a new mapping. It is the same set final meeting transcription already accepts.

MeetingRetranscriptionLanguage.choices asks VoiceEngineLanguageCatalog for languages that have a Parakeet TDT route. That catalog’s parakeetV3LanguageIDs comes from ParakeetSpeechModelCatalog.v3.supportedLanguageCodes, which is the multilingual Parakeet model’s own language list. The FluidMeet recording settings picker already uses this same filter.

The meeting pipeline then decides the model, in the existing MeetingFinalProcessingConfiguration: English uses parakeet-tdt-v2, and every other accepted language uses parakeet-tdt. MeetingProcessingPipeline also rejects a language that is not in the Parakeet v3 set before it loads a model. This pull request only stores the chosen language on the finished meeting and passes it into that configuration. It does not let the user pick Whisper, Cohere, or the current dictation model, because those are not what final meeting transcription runs.

Live captions stay English-only. That path bails out unless the meeting language is en, and this change does not alter it.

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.

@altic-dev

Copy link
Copy Markdown
Owner

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?

@ParamKataria

Copy link
Copy Markdown
Contributor Author

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.

@ParamKataria

Copy link
Copy Markdown
Contributor Author

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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +768 to +770
session.processingAttempts.dropLast().last(where: {
$0.languageCode != nil && $0.errorCode == nil && $0.stage == .completed
})?.languageCode

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Comment on lines +1806 to +1808
let restoredLanguage = self.restorePreviousCompletedLanguage(&session)
let showCompletedTranscript = restoredLanguage && !session.transcriptSegments.isEmpty
session.state = showCompletedTranscript ? .completed : .failed

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@altic-dev

Copy link
Copy Markdown
Owner

okay -I'll let this be. feel free to work on the comments and I'll come back to this later! Thanks

@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

FluidVoice PR build ready

Download 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

  1. Extract the downloaded artifact, then extract FluidVoice-PR-1103.app.zip.

  2. Move FluidVoice Fix #1033: Retranscribe a finished meeting in another language #1103.app into the /Applications folder.

  3. Open Terminal and remove the download quarantine marker:

    xattr -dr com.apple.quarantine "/Applications/FluidVoice #1103.app"
    
  4. In Applications, Control-click FluidVoice Fix #1033: Retranscribe a finished meeting in another language #1103.app and choose Open.

  5. If macOS still blocks it, open System Settings → Privacy & Security, click Open Anyway, and confirm.

This build has its own app identity, so its permissions are separate from the release version of FluidVoice.

View workflow run

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@ParamKataria

Copy link
Copy Markdown
Contributor Author

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. failedAttemptLanguage now reads only the latest attempt. An older Dutch failure no longer replaces a later German request that is still pending after a restart. If that latest language is already the session language, Retry does not pass another language. Covered by testFailedAttemptLanguageUsesLatestAttemptNotAnOlderError.

Fixed. failedAttemptLanguage now uses the latest attempt that has a language, pending or failed. A recovery attempt with no language no longer hides the requested language, and an older failure still cannot replace a newer request. Covered by testFailedAttemptLanguageUsesLatestAttemptNotAnOlderError.

@github-actions

Copy link
Copy Markdown

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 keep-open or pinned label to prevent automatic closure.

@github-actions github-actions Bot added the stale label Oct 18, 2026
@github-actions

Copy link
Copy Markdown

Closing this pull request because it remained inactive for 2 days after being marked stale.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

@greptile-apps

greptile-apps Bot commented Nov 1, 2026

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting response Older issue will close after three days unless this label is removed. Pending to Merge stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Language not detected correctly in meeting transcript and cannot be changed

2 participants