Skip to content

refactor!: retire the legacy field-name aliases and the semantic threshold read default - #1455

Merged
jarvis9443 merged 4 commits into
mainfrom
nic/retire-legacy-aliases-1375
Nov 19, 2026
Merged

jarvis9443 merged 4 commits into
mainfrom
nic/retire-legacy-aliases-1375

Conversation

@jarvis9443

Copy link
Copy Markdown
Contributor

Ships in 1.11.0 (cherry-pick to release/1.11).

This retires two pieces of read-side compatibility whose floor conditions are now met: the control plane is raising the data-plane support floor (dpfloor.Version) to 1.9.0 in the same release, and re-projects / backfills the affected rows under a new ledger key.

1. Old field names are no longer read (#1375). The gateway stopped accepting secret as provider_key.api_key, and display_name as name on mcp_server, a2a_agent and passthrough_route. The serde aliases are gone, so is accept_renamed_field and its four call sites, and the regenerated schemas/resources/ and schemas/resources-lenient/ now just require api_key / name. The export path's extra redaction of a top-level secret on provider keys is removed too: export only writes rows the loader accepted, and a row still carrying secret is now either rejected (no api_key) or has secret stripped as an ignored field before redaction runs. The real secret fields under mcp_server / a2a_agent auth and the real display_name on provider_key / model / api_key are untouched. Test fixtures that still seeded the old names (unit, integration and e2e) are moved to the new names, and the old dual-spelling tests are replaced by ones pinning that the old names are refused on both the strict and lenient paths and that such an etcd row is rejected whole by the loader while its correctly named twin loads.

What changes for users: a standalone / file-mode resources file, or an Admin-API-style document, that still uses secret or one of those display_names now fails validation instead of loading. Rename the field. For the managed deployment, a stored etcd row that still carries an old name (only a control plane before 1.8.0 wrote them, and the control plane re-projects provider_key, mcp_server and a2a_agent again in this release) is rejected whole on the new gateway's cold start, and whatever references it (e.g. models on that provider key, that MCP server's tools) goes with it. Operators find such a row in aisix_config_rejected_resources (and /status/config's rejected[]), and recover by deleting the resource and recreating it.

2. Semantic guardrail thresholds have no read default for a populated list (#1409). A kind: semantic guardrail with a non-empty deny_examples / allow_examples but no matching deny_threshold / allow_threshold used to load with 0.75. The lenient read schema now requires each threshold beside its own non-empty list, the same rule the write schema already had, and the load rejection names the missing field. A direction with no example list may still omit its threshold, since the control plane still allows that.

What changes for users: such a row could only have been written by a control plane at v0.13.0 or earlier, and the control plane re-runs its threshold backfill under a new ledger key in this release. Any row that pass still leaves behind is rejected whole on the new gateway, attachments referencing it are skipped, and the guardrail stops screening. Find it in aisix_config_rejected_resources; recover by re-saving the guardrail in the console with the threshold filled in.

There is no new config key and nothing to change in the startup config.yaml.

Fixes #1375
Fixes #1409

🤖 Generated with Claude Code

…2a_agent/passthrough_route field names

The read side no longer accepts `secret` for `provider_key.api_key`, or
`display_name` for `name` on mcp_server, a2a_agent and passthrough_route.
The serde aliases, `accept_renamed_field` and its four call sites are
gone, and the published strict and lenient schemas now require `api_key`
/ `name` directly. The export path's redaction of a top-level `secret` on
provider keys is dropped with them: export only writes rows the loader
accepted, and a row that still carries `secret` is either rejected or has
it stripped as an ignored field.

Behaviour change: an etcd document or a standalone/file-mode resources
file that still uses one of the old names is rejected whole at load and
counted in `aisix_config_rejected_resources`. Rename the field (or, for a
stored row, delete and recreate the resource) to recover.

Fixes #1375
… on read too

A `kind: semantic` guardrail whose `deny_examples` / `allow_examples` is
non-empty but which omits the matching `deny_threshold` /
`allow_threshold` was still loaded with a 0.75 read default. The last
control plane that could save such a row (v0.13.0) is below the support
floor, so the lenient read schema now requires each threshold beside its
own non-empty list, exactly as the write schema does, and the rejection
names the missing field. A direction with no example list may still omit
its threshold.

Behaviour change: a stored row of that shape is rejected whole on load
and counted in `aisix_config_rejected_resources`; attachments that
reference it are skipped, so the guardrail stops screening. Re-save the
guardrail in the console with its threshold set to recover.

Fixes #1409
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 473 files, which is 323 over the limit of 150.

To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to Team to raise the limit.

Usage-priced reviews support at most 300 files.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: efc9f5c7-f734-4a1c-859b-c5a32cd3e300
Commits

Reviewing files that changed from the base of the PR and between 27002e7 and 0132dd8.

Files selected for processing: 473

  • CLAUDE.md
  • crates/aisix-a2a/src/bridge.rs
  • crates/aisix-admin/src/playground_handler.rs
  • crates/aisix-admin/tests/etcd_integration.rs
  • crates/aisix-core/src/models/a2a_agent.rs
  • crates/aisix-core/src/models/guardrail.rs
  • crates/aisix-core/src/models/mcp_server.rs
  • crates/aisix-core/src/models/passthrough_route.rs
  • crates/aisix-core/src/models/provider_key.rs
  • crates/aisix-core/src/models/schema.rs
  • crates/aisix-core/src/models/snapshot.rs
  • crates/aisix-core/tests/resource_schema_characterization.rs
  • crates/aisix-etcd/src/loader.rs
  • crates/aisix-etcd/src/supervisor.rs
  • crates/aisix-gateway/src/bridge.rs
  • crates/aisix-gateway/src/hub.rs
  • crates/aisix-gateway/src/media_fetch.rs
  • crates/aisix-guardrails/src/lib.rs
  • crates/aisix-mcp/examples/conformance_server.rs
  • crates/aisix-mcp/src/bridge.rs
  • crates/aisix-mcp/tests/gateway_aggregation.rs
  • crates/aisix-mcp/tests/gateway_scoped.rs
  • crates/aisix-mcp/tests/modern_upstream.rs
  • crates/aisix-provider-anthropic/src/bridge.rs
  • crates/aisix-provider-azure-openai/src/bridge.rs
  • crates/aisix-provider-bedrock/src/bridge.rs
  • crates/aisix-provider-openai/src/bridge.rs
  • crates/aisix-provider-vertex/src/bridge.rs
  • crates/aisix-proxy/src/a2a.rs
  • crates/aisix-proxy/src/audio.rs
  • crates/aisix-proxy/src/background.rs
  • crates/aisix-proxy/src/completions.rs
  • crates/aisix-proxy/src/count_tokens.rs
  • crates/aisix-proxy/src/decisions.rs
  • crates/aisix-proxy/src/dispatch.rs
  • crates/aisix-proxy/src/embeddings.rs
  • crates/aisix-proxy/src/guardrail_blocked_telemetry.rs
  • crates/aisix-proxy/src/guardrail_coverage.rs
  • crates/aisix-proxy/src/images.rs
  • crates/aisix-proxy/src/images_edits.rs
  • crates/aisix-proxy/src/jobs.rs
  • crates/aisix-proxy/src/lib.rs
  • crates/aisix-proxy/src/mcp.rs
  • crates/aisix-proxy/src/messages.rs
  • crates/aisix-proxy/src/models.rs
  • crates/aisix-proxy/src/passthrough_route.rs
  • crates/aisix-proxy/src/realtime.rs
  • crates/aisix-proxy/src/rerank.rs
  • crates/aisix-proxy/src/responses.rs
  • crates/aisix-proxy/src/semantic.rs
  • crates/aisix-proxy/src/usage_attr.rs
  • crates/aisix-proxy/src/videos.rs
  • crates/aisix-proxy/tests/estimate_pool_size.rs
  • crates/aisix-proxy/tests/native_forwarding_body.rs
  • crates/aisix-proxy/tests/request_body_memory.rs
  • crates/aisix-server/src/export/document.rs
  • crates/aisix-server/src/export/document_tests.rs
  • crates/aisix-server/src/main.rs
  • schemas/README.md
  • schemas/resources-lenient/a2a_agent.schema.json
  • schemas/resources-lenient/guardrail.schema.json
  • schemas/resources-lenient/mcp_server.schema.json
  • schemas/resources-lenient/passthrough_route.schema.json
  • schemas/resources-lenient/provider_key.schema.json
  • schemas/resources/a2a_agent.schema.json
  • schemas/resources/mcp_server.schema.json
  • schemas/resources/passthrough_route.schema.json
  • schemas/resources/provider_key.schema.json
  • tests/e2e/src/cases/access-log-body-bytes-e2e.test.ts
  • tests/e2e/src/cases/access-log-switch-e2e.test.ts
  • tests/e2e/src/cases/access-log-token-columns-e2e.test.ts
  • tests/e2e/src/cases/admin-disabled-e2e.test.ts
  • tests/e2e/src/cases/aliyun-sls-content-capture-e2e.test.ts
  • tests/e2e/src/cases/aliyun-sls-exporter-e2e.test.ts
  • tests/e2e/src/cases/allowed-models-e2e.test.ts
  • tests/e2e/src/cases/anthropic-cache-tpm-commit-e2e.test.ts
  • tests/e2e/src/cases/anthropic-content-blocks-cross-provider-e2e.test.ts
  • tests/e2e/src/cases/anthropic-count-tokens-e2e.test.ts
  • tests/e2e/src/cases/anthropic-stream-tool-calls-e2e.test.ts
  • tests/e2e/src/cases/anthropic-streaming-usage-e2e.test.ts
  • tests/e2e/src/cases/anthropic-structured-output-e2e.test.ts
  • tests/e2e/src/cases/anthropic-thinking-budget-e2e.test.ts
  • tests/e2e/src/cases/anthropic-tools-cross-provider-e2e.test.ts
  • tests/e2e/src/cases/anthropic-upstream-e2e.test.ts
  • tests/e2e/src/cases/api-base-tolerance-e2e.test.ts
  • tests/e2e/src/cases/apikey-allow-all-models-e2e.test.ts
  • tests/e2e/src/cases/apikey-allowed-model-ids-e2e.test.ts
  • tests/e2e/src/cases/apikey-lifecycle-e2e.test.ts
  • tests/e2e/src/cases/array-content-answer-e2e.test.ts
  • tests/e2e/src/cases/audio-chat-style-usage-e2e.test.ts
  • tests/e2e/src/cases/audio-duration-cost-basis-e2e.test.ts
  • tests/e2e/src/cases/audio-images-usage-e2e.test.ts
  • tests/e2e/src/cases/audio-stream-relay-e2e.test.ts
  • tests/e2e/src/cases/audio-streaming-duration-e2e.test.ts
  • tests/e2e/src/cases/audio-streaming-usage-e2e.test.ts
  • tests/e2e/src/cases/audio-timeout-e2e.test.ts
  • tests/e2e/src/cases/audio-unscannable-transcript-e2e.test.ts
  • tests/e2e/src/cases/auth-baseline-e2e.test.ts
  • tests/e2e/src/cases/background-health-e2e.test.ts
  • tests/e2e/src/cases/batch-files-finetuning-e2e.test.ts
  • tests/e2e/src/cases/bedrock-anonymize-mask-e2e.test.ts
  • tests/e2e/src/cases/bedrock-auth-modes-e2e.test.ts
  • tests/e2e/src/cases/bedrock-converse-and-chat-completions-e2e.test.ts
  • tests/e2e/src/cases/bedrock-converse-stable-body-e2e.test.ts
  • tests/e2e/src/cases/bedrock-converse-stream-reasoning-e2e.test.ts
  • tests/e2e/src/cases/bedrock-converse-unnamed-tool-result-e2e.test.ts
  • tests/e2e/src/cases/bedrock-credential-isolation-e2e.test.ts
  • tests/e2e/src/cases/bedrock-env-proxy-e2e.test.ts
  • tests/e2e/src/cases/bedrock-forward-header-precedence-e2e.test.ts
  • tests/e2e/src/cases/bedrock-guardrail-failure-tag-e2e.test.ts
  • tests/e2e/src/cases/body-edges-e2e.test.ts
  • tests/e2e/src/cases/budget-documents-e2e.test.ts
  • tests/e2e/src/cases/budget-strict-mode-e2e.test.ts
  • tests/e2e/src/cases/byo-anthropic-adapter-e2e.test.ts
  • tests/e2e/src/cases/cache-creation-ttl-usage-event-e2e.test.ts
  • tests/e2e/src/cases/cache-edges-model-and-disabled-e2e.test.ts
  • tests/e2e/src/cases/cache-env-namespace-e2e.test.ts
  • tests/e2e/src/cases/cache-fingerprint-collision-e2e.test.ts
  • tests/e2e/src/cases/cache-hit-attribution-1571-e2e.test.ts
  • tests/e2e/src/cases/cache-hit-latency-floor-e2e.test.ts
  • tests/e2e/src/cases/cache-hit-output-guardrail-e2e.test.ts
  • tests/e2e/src/cases/cache-policy-backend-e2e.test.ts
  • tests/e2e/src/cases/cache-policy-e2e.test.ts
  • tests/e2e/src/cases/cache-redis-outage-e2e.test.ts
  • tests/e2e/src/cases/cache-scenarios-e2e.test.ts
  • tests/e2e/src/cases/cache-semantic-e2e.test.ts
  • tests/e2e/src/cases/cache-semantic-redis-e2e.test.ts
  • tests/e2e/src/cases/cache-streaming-not-cached-e2e.test.ts
  • tests/e2e/src/cases/cache-ttl-eviction-e2e.test.ts
  • tests/e2e/src/cases/caller-credential-isolation-e2e.test.ts
  • tests/e2e/src/cases/caller-shape-refusal-message-e2e.test.ts
  • tests/e2e/src/cases/chat-anthropic-stream-input-tokens-e2e.test.ts
  • tests/e2e/src/cases/chat-bridge-include-usage-abort-e2e.test.ts
  • tests/e2e/src/cases/chat-bridge-include-usage-e2e.test.ts
  • tests/e2e/src/cases/chat-claude-stream-early-stop-usage-e2e.test.ts
  • tests/e2e/src/cases/chat-developer-role-native-providers-e2e.test.ts
  • tests/e2e/src/cases/chat-media-parts-native-providers-e2e.test.ts
  • tests/e2e/src/cases/chat-stream-audio-e2e.test.ts
  • tests/e2e/src/cases/chat-stream-forced-include-usage-2028-e2e.test.ts
  • tests/e2e/src/cases/chat-usage-audio-tokens-e2e.test.ts
  • tests/e2e/src/cases/chat-usage-details-as-reported-e2e.test.ts
  • tests/e2e/src/cases/claude-platform-native-messages-e2e.test.ts
  • tests/e2e/src/cases/claude-platform-prompt-caching-e2e.test.ts
  • tests/e2e/src/cases/client-cancel-usage-1571-e2e.test.ts
  • tests/e2e/src/cases/client-facing-model-echo-e2e.test.ts
  • tests/e2e/src/cases/client-facing-usage-protocol-matrix-e2e.test.ts
  • tests/e2e/src/cases/client-request-id-e2e.test.ts
  • tests/e2e/src/cases/client-type-1045-e2e.test.ts
  • tests/e2e/src/cases/cohere-upstream-urls-e2e.test.ts
  • tests/e2e/src/cases/completions-legacy-e2e.test.ts
  • tests/e2e/src/cases/completions-output-guardrail-e2e.test.ts
  • tests/e2e/src/cases/completions-tpm-commit-e2e.test.ts
  • tests/e2e/src/cases/concurrency-e2e.test.ts
  • tests/e2e/src/cases/config-forward-compat-e2e.test.ts
  • tests/e2e/src/cases/config-last-known-good-e2e.test.ts
  • tests/e2e/src/cases/content-capture-base64-media-e2e.test.ts
  • tests/e2e/src/cases/cooldown-contract-e2e.test.ts
  • tests/e2e/src/cases/cooldown-opt-in-e2e.test.ts
  • tests/e2e/src/cases/cost-attribution-tags-e2e.test.ts
  • tests/e2e/src/cases/cost-aware-routing-e2e.test.ts
  • tests/e2e/src/cases/count-tokens-usage-event-e2e.test.ts
  • tests/e2e/src/cases/cross-provider-matrix-e2e.test.ts
  • tests/e2e/src/cases/datadog-exporter-e2e.test.ts
  • tests/e2e/src/cases/debug-headers-opt-in-e2e.test.ts
  • tests/e2e/src/cases/decisions-e2e.test.ts
  • tests/e2e/src/cases/deepseek-reasoning-content-e2e.test.ts
  • tests/e2e/src/cases/default-log-level-e2e.test.ts
  • tests/e2e/src/cases/default-upstream-base-e2e.test.ts
  • tests/e2e/src/cases/direct-model-retries-e2e.test.ts
  • tests/e2e/src/cases/dispatched-provenance-e2e.test.ts
  • tests/e2e/src/cases/downstream-connection-e2e.test.ts
  • tests/e2e/src/cases/effort-mapping-e2e.test.ts
  • tests/e2e/src/cases/embedding-failure-log-redaction-e2e.test.ts
  • tests/e2e/src/cases/embeddings-e2e.test.ts
  • tests/e2e/src/cases/embeddings-missing-prompt-tokens-e2e.test.ts
  • tests/e2e/src/cases/embeddings-native-providers-e2e.test.ts
  • tests/e2e/src/cases/ensemble-cancel-usage-e2e.test.ts
  • tests/e2e/src/cases/ensemble-failed-subcall-usage-e2e.test.ts
  • tests/e2e/src/cases/ensemble-prometheus-metrics-e2e.test.ts
  • tests/e2e/src/cases/ensemble-stream-multi-usage-frame-617-e2e.test.ts
  • tests/e2e/src/cases/ensemble-stream-options-panel-e2e.test.ts
  • tests/e2e/src/cases/ensemble-usage-estimation-796-e2e.test.ts
  • tests/e2e/src/cases/error-envelope-normalization-e2e.test.ts
  • tests/e2e/src/cases/error-source-metric-e2e.test.ts
  • tests/e2e/src/cases/etcd-compaction-resync-e2e.test.ts
  • tests/e2e/src/cases/etcd-large-config-e2e.test.ts
  • tests/e2e/src/cases/etcd-timeouts-e2e.test.ts
  • tests/e2e/src/cases/export-classifier-model-ref-e2e.test.ts
  • tests/e2e/src/cases/export-ratelimit-conditions-e2e.test.ts
  • tests/e2e/src/cases/exporter-endpoint-userinfo-e2e.test.ts
  • tests/e2e/src/cases/exporter-error-redaction-e2e.test.ts
  • tests/e2e/src/cases/exporter-pipeline-control-runtime-901-e2e.test.ts
  • tests/e2e/src/cases/exporter-pipeline-reap-954-e2e.test.ts
  • tests/e2e/src/cases/exporter-plain-http-endpoint-e2e.test.ts
  • tests/e2e/src/cases/failed-request-attribution-1325-e2e.test.ts
  • tests/e2e/src/cases/failure-row-block-mask-parity-e2e.test.ts
  • tests/e2e/src/cases/failure-row-content-e2e.test.ts
  • tests/e2e/src/cases/failure-row-metadata-only-e2e.test.ts
  • tests/e2e/src/cases/fallback-e2e.test.ts
  • tests/e2e/src/cases/fallback-edges-e2e.test.ts
  • tests/e2e/src/cases/fallback-on-statuses-e2e.test.ts
  • tests/e2e/src/cases/files-guardrail-scope-e2e.test.ts
  • tests/e2e/src/cases/final-attempt-marker-e2e.test.ts
  • tests/e2e/src/cases/gateway-error-message-usage-e2e.test.ts
  • tests/e2e/src/cases/gauge-retirement-e2e.test.ts
  • tests/e2e/src/cases/gemini-openai-compat-embeddings-e2e.test.ts
  • tests/e2e/src/cases/gemini-openai-compat-parallel-tool-calls-e2e.test.ts
  • tests/e2e/src/cases/global-pricing-e2e.test.ts
  • tests/e2e/src/cases/group-model-condition-ratelimit-e2e.test.ts
  • tests/e2e/src/cases/guardrail-aliyun-ai-guardrail-e2e.test.ts
  • tests/e2e/src/cases/guardrail-aliyun-body-code-e2e.test.ts
  • tests/e2e/src/cases/guardrail-aliyun-e2e.test.ts
  • tests/e2e/src/cases/guardrail-aliyun-request-id-e2e.test.ts
  • tests/e2e/src/cases/guardrail-applied-set-e2e.test.ts
  • tests/e2e/src/cases/guardrail-block-log-name-e2e.test.ts
  • tests/e2e/src/cases/guardrail-blocked-usage-flag-e2e.test.ts
  • tests/e2e/src/cases/guardrail-buffer-cap-enforced-hit-e2e.test.ts
  • tests/e2e/src/cases/guardrail-bypass-reason-e2e.test.ts
  • tests/e2e/src/cases/guardrail-call-failure-cause-e2e.test.ts
  • tests/e2e/src/cases/guardrail-custom-script-e2e.test.ts
  • tests/e2e/src/cases/guardrail-custom-script-model-e2e.test.ts
  • tests/e2e/src/cases/guardrail-custom-streamed-output-e2e.test.ts
  • tests/e2e/src/cases/guardrail-custom-verdict-diagnostics-e2e.test.ts
  • tests/e2e/src/cases/guardrail-disabled-bypass-e2e.test.ts
  • tests/e2e/src/cases/guardrail-enforced-hits-llm-family-e2e.test.ts
  • tests/e2e/src/cases/guardrail-index-invalidation-e2e.test.ts
  • tests/e2e/src/cases/guardrail-input-messages-latest-turn-e2e.test.ts
  • tests/e2e/src/cases/guardrail-keyword-e2e.test.ts
  • tests/e2e/src/cases/guardrail-keyword-message-locations-e2e.test.ts
  • tests/e2e/src/cases/guardrail-lakera-e2e.test.ts
  • tests/e2e/src/cases/guardrail-mcp-mask-writeback-e2e.test.ts
  • tests/e2e/src/cases/guardrail-metrics-e2e.test.ts
  • tests/e2e/src/cases/guardrail-model-scope-e2e.test.ts
  • tests/e2e/src/cases/guardrail-monitor-full-output-scan-e2e.test.ts
  • tests/e2e/src/cases/guardrail-monitor-mode-e2e.test.ts
  • tests/e2e/src/cases/guardrail-monitor-provider-failure-e2e.test.ts
  • tests/e2e/src/cases/guardrail-monitor-telemetry-e2e.test.ts
  • tests/e2e/src/cases/guardrail-openai-moderation-e2e.test.ts
  • tests/e2e/src/cases/guardrail-output-e2e.test.ts
  • tests/e2e/src/cases/guardrail-phase-applicability-e2e.test.ts
  • tests/e2e/src/cases/guardrail-pii-capture-group-e2e.test.ts
  • tests/e2e/src/cases/guardrail-pii-grouped-card-e2e.test.ts
  • tests/e2e/src/cases/guardrail-pii-mask-unsupported-e2e.test.ts
  • tests/e2e/src/cases/guardrail-pii-redaction-e2e.test.ts
  • tests/e2e/src/cases/guardrail-presidio-e2e.test.ts
  • tests/e2e/src/cases/guardrail-reasoning-parts-e2e.test.ts
  • tests/e2e/src/cases/guardrail-scan-no-tool-call-ids-e2e.test.ts
  • tests/e2e/src/cases/guardrail-segment-parity-e2e.test.ts
  • tests/e2e/src/cases/guardrail-semantic-e2e.test.ts
  • tests/e2e/src/cases/guardrail-semantic-score-e2e.test.ts
  • tests/e2e/src/cases/guardrail-textless-request-e2e.test.ts
  • tests/e2e/src/cases/guardrail-textless-streamed-output-e2e.test.ts
  • tests/e2e/src/cases/guardrail-unattached-notice-e2e.test.ts
  • tests/e2e/src/cases/guardrail-window-chat-tool-call-cap-e2e.test.ts
  • tests/e2e/src/cases/guardrail-window-stream-hold-e2e.test.ts
  • tests/e2e/src/cases/images-edits-e2e.test.ts
  • tests/e2e/src/cases/images-generations-e2e.test.ts
  • tests/e2e/src/cases/in-band-error-200-e2e.test.ts
  • tests/e2e/src/cases/internal-call-usage-2075-e2e.test.ts
  • tests/e2e/src/cases/invalid-upstream-config-400-e2e.test.ts
  • tests/e2e/src/cases/invalid-upstream-credentials-401-e2e.test.ts
  • tests/e2e/src/cases/json-mode-e2e.test.ts
  • tests/e2e/src/cases/jwt-tag-claims-e2e.test.ts
  • tests/e2e/src/cases/latency-aware-routing-e2e.test.ts
  • tests/e2e/src/cases/latency-guardrail-holdback-e2e.test.ts
  • tests/e2e/src/cases/latency-histograms-e2e.test.ts
  • tests/e2e/src/cases/latency-upstream-downstream-e2e.test.ts
  • tests/e2e/src/cases/least-busy-passthrough-endpoints-e2e.test.ts
  • tests/e2e/src/cases/least-busy-routing-e2e.test.ts
  • tests/e2e/src/cases/mcp-access-policy-e2e.test.ts
  • tests/e2e/src/cases/mcp-anonymous-access-e2e.test.ts
  • tests/e2e/src/cases/mcp-cleartext-credential-warn-e2e.test.ts
  • tests/e2e/src/cases/mcp-guardrail-e2e.test.ts
  • tests/e2e/src/cases/mcp-request-logging-e2e.test.ts
  • tests/e2e/src/cases/mcp-scoped-endpoint-e2e.test.ts
  • tests/e2e/src/cases/mcp-server-ratelimit-e2e.test.ts
  • tests/e2e/src/cases/mcp-tool-failure-telemetry-e2e.test.ts
  • tests/e2e/src/cases/mcp-upstream-message-cap-e2e.test.ts
  • tests/e2e/src/cases/memory-observability-e2e.test.ts
  • tests/e2e/src/cases/messages-cross-provider-extras-e2e.test.ts
  • tests/e2e/src/cases/messages-cross-provider-stream-usage-e2e.test.ts
  • tests/e2e/src/cases/messages-guardrail-error-code-726-e2e.test.ts
  • tests/e2e/src/cases/messages-input-guardrail-e2e.test.ts
  • tests/e2e/src/cases/messages-model-group-e2e.test.ts
  • tests/e2e/src/cases/messages-openai-cache-tokens-e2e.test.ts
  • tests/e2e/src/cases/messages-output-guardrail-e2e.test.ts
  • tests/e2e/src/cases/messages-stream-delta-only-usage-e2e.test.ts
  • tests/e2e/src/cases/messages-streaming-output-guardrail-e2e.test.ts
  • tests/e2e/src/cases/messages-streaming-toolcall-guardrail-e2e.test.ts
  • tests/e2e/src/cases/messages-system-role-e2e.test.ts
  • tests/e2e/src/cases/metric-cardinality-model-label-e2e.test.ts
  • tests/e2e/src/cases/metric-endpoint-parity-e2e.test.ts
  • tests/e2e/src/cases/metric-label-selection-e2e.test.ts
  • tests/e2e/src/cases/metric-name-labels-e2e.test.ts
  • tests/e2e/src/cases/metrics-dimensions-890-e2e.test.ts
  • tests/e2e/src/cases/model-group-member-ratelimit-e2e.test.ts
  • tests/e2e/src/cases/model-group-single-shot-endpoints-e2e.test.ts
  • tests/e2e/src/cases/model-ip-restriction-e2e.test.ts
  • tests/e2e/src/cases/model-kind-dead-knobs-e2e.test.ts
  • tests/e2e/src/cases/model-reference-ids-e2e.test.ts
  • tests/e2e/src/cases/models-list-model-group-e2e.test.ts
  • tests/e2e/src/cases/multidim-ratelimit-policy-e2e.test.ts
  • tests/e2e/src/cases/non-utf8-prompt-reject-e2e.test.ts
  • tests/e2e/src/cases/nondispatched-upstream-latency-e2e.test.ts
  • tests/e2e/src/cases/object-store-gcs-endpoint-585-e2e.test.ts
  • tests/e2e/src/cases/openai-bridge-tool-call-finish-reason-e2e.test.ts
  • tests/e2e/src/cases/openai-cache-write-ttl-usage-event-e2e.test.ts
  • tests/e2e/src/cases/openai-cache-write-usage-e2e.test.ts
  • tests/e2e/src/cases/openai-embeddings-base64-e2e.test.ts
  • tests/e2e/src/cases/openai-sdk-compat.test.ts
  • tests/e2e/src/cases/openai-tools-roundtrip-e2e.test.ts
  • tests/e2e/src/cases/openrouter-stream-reasoning-e2e.test.ts
  • tests/e2e/src/cases/otlp-genai-semconv-e2e.test.ts
  • tests/e2e/src/cases/otlp-knobs-e2e.test.ts
  • tests/e2e/src/cases/otlp-requested-model-id-e2e.test.ts
  • tests/e2e/src/cases/otlp-structured-output-e2e.test.ts
  • tests/e2e/src/cases/param-handling-bedrock-e2e.test.ts
  • tests/e2e/src/cases/param-handling-by-target-contract-e2e.test.ts
  • tests/e2e/src/cases/param-handling-claude-bridges-e2e.test.ts
  • tests/e2e/src/cases/param-handling-vertex-gemini-e2e.test.ts
  • tests/e2e/src/cases/passthrough-chat-media-guardrail-e2e.test.ts
  • tests/e2e/src/cases/passthrough-guardrail-e2e.test.ts
  • tests/e2e/src/cases/passthrough-model-acl-e2e.test.ts
  • tests/e2e/src/cases/passthrough-model-rate-limit-e2e.test.ts
  • tests/e2e/src/cases/passthrough-redirect-boundary-e2e.test.ts
  • tests/e2e/src/cases/passthrough-rerank-dashscope-usage-e2e.test.ts
  • tests/e2e/src/cases/passthrough-responses-media-guardrail-e2e.test.ts
  • tests/e2e/src/cases/passthrough-route-e2e.test.ts
  • tests/e2e/src/cases/passthrough-scan-coverage-e2e.test.ts
  • tests/e2e/src/cases/passthrough-usage-dimensions-e2e.test.ts
  • tests/e2e/src/cases/per-attempt-telemetry-e2e.test.ts
  • tests/e2e/src/cases/policy-candidate-index-e2e.test.ts
  • tests/e2e/src/cases/prometheus-metrics-e2e.test.ts
  • tests/e2e/src/cases/provider-key-api-base-repoint-e2e.test.ts
  • tests/e2e/src/cases/provider-key-apis-e2e.test.ts
  • tests/e2e/src/cases/provider-key-name-pairing-e2e.test.ts
  • tests/e2e/src/cases/provider-key-resolve-addresses-e2e.test.ts
  • tests/e2e/src/cases/provider-key-rotation-e2e.test.ts
  • tests/e2e/src/cases/provider-key-tls-e2e.test.ts
  • tests/e2e/src/cases/provider-request-id-logging-e2e.test.ts
  • tests/e2e/src/cases/provider-structured-output-e2e.test.ts
  • tests/e2e/src/cases/proxy-protocol-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-attempt-counting-1954-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-cluster-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-day-window-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-exclude-estimated-usage-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-sliding-window-e2e.test.ts
  • tests/e2e/src/cases/ratelimit-standard-headers-e2e.test.ts
  • tests/e2e/src/cases/realtime-close-e2e.test.ts
  • tests/e2e/src/cases/realtime-env-proxy-e2e.test.ts
  • tests/e2e/src/cases/realtime-model-echo-e2e.test.ts
  • tests/e2e/src/cases/realtime-refused-handshake-e2e.test.ts
  • tests/e2e/src/cases/realtime-ws-e2e.test.ts
  • tests/e2e/src/cases/reasoning-effort-translation-e2e.test.ts
  • tests/e2e/src/cases/reasoning-model-token-cap-936-e2e.test.ts
  • tests/e2e/src/cases/recorded-usage-raw-e2e.test.ts
  • tests/e2e/src/cases/request-e2e-latency-side-e2e.test.ts
  • tests/e2e/src/cases/request-id-header-e2e.test.ts
  • tests/e2e/src/cases/request-id-uuid-e2e.test.ts
  • tests/e2e/src/cases/request-latency-label-lifetime-e2e.test.ts
  • tests/e2e/src/cases/request-metrics-endpoint-coverage-e2e.test.ts
  • tests/e2e/src/cases/rerank-e2e.test.ts
  • tests/e2e/src/cases/response-id-never-empty-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-additional-tools-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-codex-parity-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-custom-tool-reply-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-reasoning-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-request-parity-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-tool-parameters-e2e.test.ts
  • tests/e2e/src/cases/responses-bridge-tool-search-e2e.test.ts
  • tests/e2e/src/cases/responses-context-affinity-e2e.test.ts
  • tests/e2e/src/cases/responses-cross-provider-e2e.test.ts
  • tests/e2e/src/cases/responses-endpoint-e2e.test.ts
  • tests/e2e/src/cases/responses-lite-tools-native-key-e2e.test.ts
  • tests/e2e/src/cases/responses-mcp-call-arguments-mask-1621-e2e.test.ts
  • tests/e2e/src/cases/responses-stream-reasoning-part-scope-e2e.test.ts
  • tests/e2e/src/cases/responses-streaming-monitor-guardrail-e2e.test.ts
  • tests/e2e/src/cases/responses-streaming-usage-e2e.test.ts
  • tests/e2e/src/cases/retried-attempt-usage-1136-e2e.test.ts
  • tests/e2e/src/cases/retry-backoff-e2e.test.ts
  • tests/e2e/src/cases/retry-on-429-vs-background-ignore-e2e.test.ts
  • tests/e2e/src/cases/routing-priority-edit-e2e.test.ts
  • tests/e2e/src/cases/routing-strategies-e2e.test.ts
  • tests/e2e/src/cases/runtime-mixed-filtering-e2e.test.ts
  • tests/e2e/src/cases/runtime-status-e2e.test.ts
  • tests/e2e/src/cases/semantic-classifier-e2e.test.ts
  • tests/e2e/src/cases/semantic-member-gates-e2e.test.ts
  • tests/e2e/src/cases/semantic-protocols-groups-e2e.test.ts
  • tests/e2e/src/cases/semantic-routing-e2e.test.ts
  • tests/e2e/src/cases/semantic-session-affinity-e2e.test.ts
  • tests/e2e/src/cases/server-header-identity-e2e.test.ts
  • tests/e2e/src/cases/shutdown-drain-e2e.test.ts
  • tests/e2e/src/cases/sls-content-capture-masked-e2e.test.ts
  • tests/e2e/src/cases/sls-content-capture-nontext-e2e.test.ts
  • tests/e2e/src/cases/sls-content-capture-responses-completions-e2e.test.ts
  • tests/e2e/src/cases/sls-failure-content-e2e.test.ts
  • tests/e2e/src/cases/sls-structured-truncation-e2e.test.ts
  • tests/e2e/src/cases/snapshot-retirement-e2e.test.ts
  • tests/e2e/src/cases/sse-frames-and-reasoning-scope-e2e.test.ts
  • tests/e2e/src/cases/sse-line-terminators-e2e.test.ts
  • tests/e2e/src/cases/startup-config-gate-e2e.test.ts
  • tests/e2e/src/cases/status-config-e2e.test.ts
  • tests/e2e/src/cases/status-config-hash-e2e.test.ts
  • tests/e2e/src/cases/status-models-e2e.test.ts
  • tests/e2e/src/cases/stream-chunk-without-model-e2e.test.ts
  • tests/e2e/src/cases/stream-failure-usage-status-e2e.test.ts
  • tests/e2e/src/cases/stream-output-buffer-cap-e2e.test.ts
  • tests/e2e/src/cases/stream-output-raw-hold-cap-e2e.test.ts
  • tests/e2e/src/cases/stream-reasoning-parts-e2e.test.ts
  • tests/e2e/src/cases/stream-terminal-status-e2e.test.ts
  • tests/e2e/src/cases/streaming-edges-e2e.test.ts
  • tests/e2e/src/cases/streaming-tpm-commit-e2e.test.ts
  • tests/e2e/src/cases/streaming-usage-accumulation-e2e.test.ts
  • tests/e2e/src/cases/structured-output-fake-stream-reasoning-e2e.test.ts
  • tests/e2e/src/cases/tag-routing-e2e.test.ts
  • tests/e2e/src/cases/team-member-ratelimit-e2e.test.ts
  • tests/e2e/src/cases/telemetry-cp-bounds-e2e.test.ts
  • tests/e2e/src/cases/telemetry-cp-floats-e2e.test.ts
  • tests/e2e/src/cases/thinking-cross-protocol-e2e.test.ts
  • tests/e2e/src/cases/timeout-fallback-e2e.test.ts
  • tests/e2e/src/cases/token-metrics-endpoint-coverage-e2e.test.ts
  • tests/e2e/src/cases/token-usage-passthrough-e2e.test.ts
  • tests/e2e/src/cases/tokens-by-client-model-1044-e2e.test.ts
  • tests/e2e/src/cases/tokens-by-client-total-1002-e2e.test.ts
  • tests/e2e/src/cases/tool-choice-without-tools-e2e.test.ts
  • tests/e2e/src/cases/tools-cross-provider-e2e.test.ts
  • tests/e2e/src/cases/trace-hierarchy-e2e.test.ts
  • tests/e2e/src/cases/ttft-first-frame-e2e.test.ts
  • tests/e2e/src/cases/ttft-side-e2e.test.ts
  • tests/e2e/src/cases/unsupported-capability-501-e2e.test.ts
  • tests/e2e/src/cases/upstream-401-error-code-e2e.test.ts
  • tests/e2e/src/cases/upstream-empty-error-body-e2e.test.ts
  • tests/e2e/src/cases/upstream-error-body-stall-e2e.test.ts
  • tests/e2e/src/cases/upstream-error-text-family-e2e.test.ts
  • tests/e2e/src/cases/upstream-header-context-e2e.test.ts
  • tests/e2e/src/cases/upstream-pool-idle-e2e.test.ts
  • tests/e2e/src/cases/upstream-protocol-cache-tokens-e2e.test.ts
  • tests/e2e/src/cases/upstream-request-id-on-errors-e2e.test.ts
  • tests/e2e/src/cases/upstream-retry-after-passthrough-e2e.test.ts
  • tests/e2e/src/cases/upstream-timeout-defaults-e2e.test.ts
  • tests/e2e/src/cases/upstream-tls-trust-e2e.test.ts
  • tests/e2e/src/cases/upstream-url-userinfo-e2e.test.ts
  • tests/e2e/src/cases/upstream-user-agent-e2e.test.ts
  • tests/e2e/src/cases/url-rewrite-e2e.test.ts
  • tests/e2e/src/cases/usage-cache-counters-e2e.test.ts
  • tests/e2e/src/cases/usage-client-source-e2e.test.ts
  • tests/e2e/src/cases/usage-estimation-1074-e2e.test.ts
  • tests/e2e/src/cases/usage-estimation-opaque-payloads-1816-e2e.test.ts
  • tests/e2e/src/cases/usage-event-attribution-1317-e2e.test.ts
  • tests/e2e/src/cases/usage-event-every-request-e2e.test.ts
  • tests/e2e/src/cases/usage-event-latency-modality-e2e.test.ts
  • tests/e2e/src/cases/usage-event-request-headers-e2e.test.ts
  • tests/e2e/src/cases/usage-member-attribution-e2e.test.ts
  • tests/e2e/src/cases/usage-occurred-at-millis-e2e.test.ts
  • tests/e2e/src/cases/usage-operation-e2e.test.ts
  • tests/e2e/src/cases/usage-service-tier-e2e.test.ts
  • tests/e2e/src/cases/usage-total-tokens-every-family-e2e.test.ts
  • tests/e2e/src/cases/vertex-gemini-function-calling-e2e.test.ts
  • tests/e2e/src/cases/vertex-gemini-system-only-e2e.test.ts
  • tests/e2e/src/cases/vertex-secret-shape-error-e2e.test.ts
  • tests/e2e/src/cases/video-followup-failure-labels-e2e.test.ts
  • tests/e2e/src/cases/videos-e2e.test.ts
  • tests/e2e/src/cases/videos-providers-e2e.test.ts
  • tests/e2e/src/cases/videos-sora-content-proxy-e2e.test.ts
  • tests/e2e/src/cases/vision-input-e2e.test.ts
  • tests/e2e/src/cases/vision-messages-e2e.test.ts
  • tests/e2e/src/cases/vision-messages-edges-e2e.test.ts
  • tests/e2e/src/cases/weighted-routing-distribution-e2e.test.ts
  • tests/e2e/src/cases/wildcard-identity-e2e.test.ts
  • tests/e2e/src/cases/wildcard-metric-label-family-e2e.test.ts
  • tests/e2e/src/cases/wildcard-routing-e2e.test.ts
  • tests/e2e/src/real-provider/semantic-embedding-usage-1747-real-provider.smoke.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@jarvis9443
jarvis9443 merged commit a46a139 into main Nov 19, 2026
20 checks passed
@jarvis9443
jarvis9443 deleted the nic/retire-legacy-aliases-1375 branch November 19, 2026 10:37
jarvis9443 added a commit that referenced this pull request Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant