Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@ONLY-yours @nekomeowww - This PR fixes a bot callback error, touching agent channel UI and backend bot platform services. Please coordinate on review. |
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 83fc7c7641
βΉοΈ 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".
| AgentBridgeService.activeThreads.delete(thread.id); | ||
| await thread.setState({ ...threadState, topicId: undefined }); | ||
| return this.handleMention(thread, message, opts); |
There was a problem hiding this comment.
Await retry path before clearing thread activity state
In the FK-recovery branch, handleSubscribedMessage deletes the active-thread marker and immediately returns this.handleMention(...) without awaiting it. Because the outer finally still runs right away, it clears activeThreads (and cleanup reactions) while the retried mention is still executing, which can admit a second concurrent message on the same thread during the retry window. This shows up when a stale topicId triggers recovery and another user message arrives before the retried run finishes.
Useful? React with πΒ / π.
Codecov Reportβ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## canary #13349 +/- ##
=========================================
Coverage 66.75% 66.76%
=========================================
Files 1894 1895 +1
Lines 152312 152335 +23
Branches 17374 15308 -2066
=========================================
+ Hits 101672 101700 +28
+ Misses 50520 50515 -5
Partials 120 120
Flags with carried forward coverage won't be shown. Click here to find out more.
π New features to boost your workflow:
|
|
β€οΈ Great PR @rdmclin2 β€οΈ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
π» Change Type
π Related Issue
π Description of Change
π§ͺ How to Test
πΈ Screenshots / Videos
π Additional Information