Skip to content

Tune parallel recovery scale-up increment to 0.15 - #30

Merged
hemanth-asirvatham merged 1 commit into
mainfrom
update-connection-error-message-and-recovery-settings
Feb 7, 2026
Merged

Tune parallel recovery scale-up increment to 0.15#30
hemanth-asirvatham merged 1 commit into
mainfrom
update-connection-error-message-and-recovery-settings

Conversation

@hemanth-asirvatham

Copy link
Copy Markdown
Collaborator

Motivation

  • Clarify the first observed connection error message to help users diagnose possible network instability or bandwidth limitations.
  • Make parallel-worker recovery scale-ups less frequent but larger by increasing the increment multiplier to 0.15 so recoveries are more meaningful.

Description

  • Updated the first-connection error message in src/gabriel/utils/openai_utils.py to mention that it "may be due to network instability or bandwidth limitations."
  • Tuned the parallel recovery logic in src/gabriel/utils/openai_utils.py by keeping the success_threshold at ceil(concurrency_cap * 2.0) and changing the scale-up increment calculation to max(1, int(math.ceil(max(concurrency_cap * 0.15, 2)))).

Testing

  • No automated tests were run for these changes.

Codex Task

@hemanth-asirvatham
hemanth-asirvatham merged commit cebf6f8 into main Feb 7, 2026
1 check failed
@github-actions

github-actions Bot commented Feb 7, 2026

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Feb 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant