-
Notifications
You must be signed in to change notification settings - Fork 1
fix(tests): restore main's test signal; re-apply dropped OpenRouter availability/quality split #1266
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
46
commits into
main
Choose a base branch
from
fix/test-drift-main-red
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
fix(tests): restore main's test signal; re-apply dropped OpenRouter availability/quality split #1266
Changes from 44 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
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 e76d3b3
test(uptime): bound provider telemetry response
seonghobae 9cf335a
fix(uptime): bound provider telemetry response
seonghobae 34adc97
docs(changelog): record bounded uptime telemetry
seonghobae 122a4f3
docs(gap): bind bounded uptime telemetry
seonghobae 2eceb64
test(embeddings): carry default HTTP wait contracts
seonghobae ca5efdc
docs(gap): bind #1269 fixture carryover
seonghobae f56e10d
test(route): preserve each same-agent attempt in receipt
seonghobae 9188e23
fix(route): retain every same-agent attempt
seonghobae cad76d4
docs(gap): bind retry receipt repair
seonghobae bd3d83d
fix(route): restore exact source after blob transfer
seonghobae ea48d4e
docs(gap): restore full receipt baseline
seonghobae 2748f4f
test(route): isolate final provider error from storm admission
seonghobae 9e547ed
fix(security): bind decision window IDs in static SQL
seonghobae 2a4bd55
Merge remote-tracking branch 'origin/pr1278-stack' into fix/1266-stat…
seonghobae c601373
fix(routing): release observation lock during embedding
seonghobae 24dd161
fix(review): verify bounded waits and preserve candidate validation
seonghobae 3a52f03
fix(security): audit hashed runtime lock separately
seonghobae 0186b74
fix(security): consume audited fast-mlsirm release
seonghobae f436d2a
Merge protected routing repairs into test-signal successor
seonghobae df836dc
Merge structured quota recovery and failure receipts
seonghobae ef72301
Merge protected multimodal and runner allocation repairs
seonghobae 515ee5b
fix(tests): declare DIF controls in sample-size boundary regressions
seonghobae d6f2761
fix(batch): preserve reviewed shutdown and durable cancellation repairs
seonghobae b6f6ced
fix: preserve provider-owned quota timing across routing paths
seonghobae a0b5592
merge: integrate protected main and preserve provider timing authority
seonghobae bfdb2b0
fix: require provider timing for mixed-pool quota recovery
seonghobae 3a11454
Merge remote-tracking branch 'origin/main' into fix/1266-main-integra…
seonghobae e1fbed0
test: preserve provider-owned timing across main integration
seonghobae 1aa88da
test: align shutdown and unknown quota timing regressions
seonghobae b920dab
fix(rate-limit): restore the finite assumed cooldown for 429s without…
seonghobae bd51c93
build(deps): make anyio 4.14.2 a security floor instead of an exact pin
seonghobae 8d11d75
Merge remote-tracking branch 'origin/main' into fix/1266-main-refresh…
seonghobae 8ec5471
fix(gateway): preserve newer quota cooldown after older success
seonghobae 263dbdc
test(ci): match no-build-isolation wheel build in NIM workflow contract
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Honor provider-declared retry timing that is already carried on a classified provider error (chat, passthrough and structured requests), stop replaying the same agent after an explicit quota rejection, and let a fresh successful provider call clear that agent's cooldown. A 429 without `Retry-After`/`x-ratelimit-reset*` still records the finite, administrator-owned `rate_limit_unknown_cooldown_seconds` assumed cooldown (`cooldown_source: assumed`), exactly as on `main`: the agent is skipped only while that cooldown runs and becomes selectable again once it elapses. An intermediate revision had recorded such a 429 as an infinite cooldown, which excluded the agent permanently whenever an alternative existed; that regression is fixed and covered by a test. |
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,7 @@ | ||
| 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. | ||
| Bound the untrusted OpenRouter uptime response to the same 8 MiB provider-response ceiling and reject oversized JSON before parsing, while preserving valid endpoint telemetry. | ||
| Preserve one deployment identity entry for every real same-agent retry in deterministic selection receipts, so replay evidence no longer understates provider calls. | ||
| Keep provider-backed contextual embedding outside the psychometric persistence lock while revalidating the deployment on both sides of the call, so an unbounded provider wait cannot block observation persistence or Agent-pool edits. | ||
| Repair the OpenRouter bounded-read test double and the finite embedding-wait fixture so both tests exercise their intended production boundary without a swallowed `TypeError` or a timer-driven race. | ||
| Restore the required hash-locked `requirements.lock` supply-chain audit alongside the installed-environment audit. Replace the obsolete fast-mlsirm VCS pin with immutable released `fast-mlsirm==0.11.4`, declare an `anyio>=4.14.2` security floor and upgrade the locks from vulnerable `anyio==4.14.1` to fixed `anyio==4.14.2`, align the constrained fuzz locks, migrate the held-out DIF benchmark to the release's non-deprecated API, remove an inactive pytest-asyncio option, and keep the environment-derived CycloneDX SBOM as a separate artifact. |
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.