Improve EOA lock release and reduce max_inflight to 50#87
Merged
joaquim-verges merged 1 commit intomainfrom Nov 21, 2025
Merged
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughEOA worker lock handling was refactored to always release the EOA lock after workflow completion (success or failure). Send preparation now flags failures earlier. Server logging was expanded and the EOA executor max in-flight limit was reduced from 100 to 50. Changes
Sequence DiagramsequenceDiagram
participant Caller
participant process
participant execute_main_workflow
participant EOA_Lock
Caller->>process: start job
process->>EOA_Lock: acquire lock
process->>execute_main_workflow: run workflow
alt workflow succeeds
execute_main_workflow-->>process: Ok(result)
rect rgb(220, 250, 220)
note right of process: Unconditionally release lock before returning
process->>EOA_Lock: release lock
end
process-->>Caller: Ok(result)
else workflow fails
execute_main_workflow-->>process: Err(error)
rect rgb(255, 230, 230)
note right of process: Unconditionally release lock, then propagate error
process->>EOA_Lock: release lock
end
process-->>Caller: Err(error)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (4)
Comment |
c60f92c to
227a458
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary by CodeRabbit
Bug Fixes
Performance & Optimization
Logging & Observability
✏️ Tip: You can customize this high-level summary in your review settings.