-
Notifications
You must be signed in to change notification settings - Fork 1
fix(route): advance free candidates after explicit 429 #1249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
seonghobae
wants to merge
48
commits into
main
Choose a base branch
from
fix/1016-429-advance-next-free
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 43 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
0142f61
fix(route): advance free candidates after explicit 429
seonghobae 0cf0a3c
test(route): cover 429 storm with default retry budget
seonghobae abca479
fix(route): re-run selection when a skipped cooldown lapses mid-storm
seonghobae 0f307a7
fix(tests): restore main's test signal; re-apply dropped OpenRouter a…
seonghobae 343bf7f
fix(embeddings): preserve unbounded provider wait
seonghobae ea1ac22
docs: record unbounded embedding wait repair
seonghobae 86d4e83
docs: bind protected-main test recovery evidence
seonghobae 6e70a19
fix(ci): bind rustfmt and clippy to pinned toolchain
seonghobae 824959a
docs(changelog): record pinned Rust components
seonghobae 227d6f6
docs(gap): record pinned Rust gate repair
seonghobae e8ea56c
fix(route): restore request-local policy and candidate evidence
seonghobae 740096d
fix(route): keep streaming and quality evidence on one revision
seonghobae 96de901
fix(ci): restore pinned runtime and baseline test gates
seonghobae 097036e
fix(provider): retain typed allowlist rejection
seonghobae f882ee7
fix(provider): preserve transport on allowlist failures
seonghobae 3686c25
Merge gate recovery before 429 routing review
seonghobae 0ce43cc
fix(batch): wake embedding waiters on backend close
seonghobae 080677a
test(batch): expect cancellation after backend close
seonghobae 572830c
test(routing): preserve unrelated error after cooldown expiry
seonghobae 887e2f0
test(routing): reject synthetic 429 cooldown authority
seonghobae b6a6afb
test(routing): retain bounded retry for unheadered 429
seonghobae c7ab118
fix(rate-limit): fail closed without provider retry timing
seonghobae 8b4f743
merge: reconcile headerless 429 admission evidence
seonghobae a8ecb22
fix(ci): restore runtime audit and locked wheel build
seonghobae 0165407
test(route): reproduce Retry-After zero retry regression
seonghobae 01efad9
fix(route): honor provider-authorized immediate retry
seonghobae 2241ac2
test(route): keep zero-delay quota retry out of circuit
seonghobae cb05873
fix(route): retry zero-delay quota without circuit penalty
seonghobae db73a0c
test(route): make zero-delay quota fixture free-eligible
seonghobae a406675
test(batch): reproduce durable claim renewal after close
seonghobae 2bd7b70
test(batch): fence result immediately after close
seonghobae e6707f7
fix(batch): stop durable claim renewal on shutdown
seonghobae a89f269
fix(batch): fence provider result after shutdown
seonghobae 09dbae1
docs(route): scope Retry-After to finite provider timing
seonghobae 82f9ba2
docs(gap): record shutdown claim fence evidence
seonghobae c93fc2e
test(batch): reproduce late failure publication after close
seonghobae 709d4ca
fix(batch): fence late failure after shutdown
seonghobae 66caf62
docs(gap): record shutdown failure fence evidence
seonghobae 4041f5a
docs(gap): restore complete baseline after transfer
seonghobae cae8c58
fix(ci): audit locked VCS environment without pip hash mode
seonghobae aca0c85
fix(ci): audit locked security tooling dependencies
seonghobae bb1fae3
fix(security): audit runtime lock on 429 branch
seonghobae 8e9999c
fix(batch): fence shutdown publication and observe durable cancellation
seonghobae 9d66898
test(routing): verify mixed quota recovery without replaying other fa…
seonghobae f620bad
merge: reconcile quota recovery and lifecycle fences with current main
seonghobae c5150bd
merge: carry independently tracked mixed quota regression repair
seonghobae 8dae079
merge: integrate document review main and preserve quota recovery reg…
seonghobae 675ce18
Merge branch 'main' of https://github.com/ContextualWisdomLab/context…
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| Restore the OpenRouter availability collector's separation from the answer-quality ledger. The restack merge for #1074 (`3078949c`) had silently reverted `openrouter_uptime.py` to its pre-`b3be48e3` form, so uptime polls once again rewrote the quality router's prior and blended in the benchmark quality prior. The collector now updates only the transport ledger again. The fixed `_UPTIME_FETCH_TIMEOUT_SECONDS` bound from #971 is kept. Also repair test drift that stopped the hosted `Tests and package quality` job at collection or kept suites red: the renamed provider-embedding claim-lease constant, a fake HTTP connection without `connect()`/`sock`, fingerprinted discovered-agent ids, a fake binary response without `headers.get`, and a stale batch-retention assertion that contradicted the unbounded-execution contract. Provider embedding waits now accept the application default `None` as an unbounded deadline, matching the synchronous endpoint contract instead of raising `TypeError` before provider completion. | ||
| Bind `rustfmt` and `clippy` to the repository's pinned Rust 1.97.1 toolchain. The minimal rustup profile does not include either component, so the hosted Rust gate previously selected the directory override and failed before formatting or linting could run. | ||
| Audit the hashed runtime index pins alongside the installed environment, and require the non-PyPI Git source to agree across locks before the security gate can pass. |
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.