Skip to content

fix(models): share the cold-rebuild budget across serial custom probes (#7481) - #17

Open
RajPabnani03 wants to merge 1 commit into
masterfrom
fix/7481-custom-probe-budget-fairness
Open

RajPabnani03 wants to merge 1 commit into
masterfrom
fix/7481-custom-probe-budget-fairness

Conversation

@RajPabnani03

Copy link
Copy Markdown
Owner

Summary

Serial custom /v1/models probes used a 5s per-endpoint cap against a 4s foreground rebuild budget, so one unreachable active endpoint starved later reachable named providers. Timeout is now min(cap, budget/N). Probe order, SSRF, auth, and out-of-band publication are unchanged.

Refs nesquena#7481 (not Fixes: out-of-band generation/disk races from PR nesquena#7506 review are out of scope).

Canonical target

Intended against nesquena/hermes-webui:master. Cross-fork createPullRequest returned 403 Resource not accessible by integration for this token.

Cherry-pick onto current upstream master (94fd2da8): 0bbb7e7e1b32abdd1bac5bd40515dc16b038af26
(local upstream-based equivalent: 7eb27b4a / original f3b71a44)

Compare (will look 18 ahead / 1922 behind if opened as-is):
nesquena/hermes-webui@master...RajPabnani03:fix/7481-custom-probe-budget-fairness

Overlaps / conflicts with open PR nesquena#7506 (larger scheduler + generation fence; still CHANGES_REQUESTED). This PR is the narrower timeout-share only.

nesquena#7481)

Custom /v1/models probes ran serially with a 5s per-endpoint cap against a
4s foreground rebuild budget, so one unreachable active endpoint starved
every named custom provider behind it. Hand each serial custom probe
min(cap, budget/N). Keep probe order, SSRF, auth, and out-of-band
publication unchanged.

Refs nesquena#7481

Amp-Thread-ID: https://ampcode.com/threads/T-01a0a025-57cd-772b-9b81-3f7007899e56
Co-authored-by: Raj Pabnani <rajpabnani01@gmail.com>
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ad8d71f8-e88c-40bd-a0fc-bde49a236e6e


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

2 participants