Repository navigation
SCA-3429: Finish conversations v3 prefixes before retained speech - #25895
Git-on-my-level merged 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 785cb4b836
ℹ️ 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".
| if gaps and not window.get('_keep_unmatched_together'): | ||
| pieces.append({**window, **fresh_metadata, 'lines': gaps, 'manual_end': False}) | ||
| fresh.append({**window, **fresh_metadata, 'lines': gaps, 'manual_end': False, 'finished': True}) |
There was a problem hiding this comment.
Preserve the open edge for overlapping fresh speech
With default timing, overlapping captures can place a fresh turn at 40–380s before a retained turn at 60–70s, because outline.stretches sorts by start time. At t=385s the stretch is still open, but this unconditional finished=True closes the only fresh fragment even though it contains the latest speech end. This sends active speech into processing early and locks its boundaries: extending the fresh turn to 390s on the next pass leaves build's finished_at at 380s, whereas the parent keeps the row in_progress and advances it. Preserve the open edge using speech end times rather than solely whether a retained line follows in start order.
Useful? React with 👍 / 👎.
Summary
Verification
main, where the prefix isin_progress. With the fix, the same prefix isprocessingand the finished row retains its ID and speech.bash backend/test.sh backend/tests/unit/test_conversations_v3*.pypassed all 578 tests across 19 files.scripts/pr-preflight --pr-body-file ../pr-body.mdpassed all 38 checks.Product invariants affected
none
Failure-Class: none