Skip to content

Ensuring only the latest in-progress conversation is considered#3645

Merged
beastoin merged 1 commit into
mainfrom
r83tq_stable_stt
Dec 8, 2025
Merged

Ensuring only the latest in-progress conversation is considered#3645
beastoin merged 1 commit into
mainfrom
r83tq_stable_stt

Conversation

@beastoin
Copy link
Copy Markdown
Collaborator

@beastoin beastoin commented Dec 8, 2025

No description provided.

@beastoin beastoin merged commit 15b4bb1 into main Dec 8, 2025
1 check passed
@beastoin beastoin deleted the r83tq_stable_stt branch December 8, 2025 08:23
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces significant improvements to conversation management by implementing Redis-based distributed locking to prevent race conditions with in-progress conversations. It also adds logic to clean up stale and orphaned conversations, ensuring data integrity and system stability. The changes are well-structured and address a critical concurrency issue. I have one suggestion to optimize a database query for better performance and efficiency.

Comment thread backend/database/conversations.py
beastoin added a commit that referenced this pull request Dec 8, 2025
beastoin added a commit that referenced this pull request Dec 8, 2025
* Revert "Move cleanup_stale_conversations to main task group (#3648)"

This reverts commit c4399f5.

* Revert "R83tq stable stt (#3647)"

This reverts commit bd7f5f9.

* Revert "Add timeout check for orphaned conversations, status check to create new conversation if not in_progress (#3646)"

This reverts commit 6ad9f28.

* Revert "Ensuring only the latest in-progress conversation is considered (#3645)"

This reverts commit 15b4bb1.

* Reduce the complexity on transcribing; faster cleanup with tasks-based
Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
* Revert "Move cleanup_stale_conversations to main task group (BasedHardware#3648)"

This reverts commit c4399f5.

* Revert "R83tq stable stt (BasedHardware#3647)"

This reverts commit bd7f5f9.

* Revert "Add timeout check for orphaned conversations, status check to create new conversation if not in_progress (BasedHardware#3646)"

This reverts commit 6ad9f28.

* Revert "Ensuring only the latest in-progress conversation is considered (BasedHardware#3645)"

This reverts commit 15b4bb1.

* Reduce the complexity on transcribing; faster cleanup with tasks-based
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.

1 participant