Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test: keep quota validation suites registered
Alfredo Lopez056d0b6d668f
diff --git a/.github/workflows/ci-public.yml b/.github/workflows/ci-public.ymlindex 024d3db1a..c2768c554 100644--- a/.github/workflows/ci-public.yml+++ b/.github/workflows/ci-public.yml@@ -338,7 +338,10 @@ jobs:routes.externalGfsRateLimitStress.realPostgres.integration.test.ts \routes.externalGfsRateLimitFailClosed.realPostgres.integration.test.ts \routes.rateLimitProcessMemory.realPostgres.integration.test.ts \+ services.rateLimiter.realPostgres.integration.test.ts \services.rateLimiterPoolSaturation.realPostgres.integration.test.ts \+ services.adminSubscriptionRateLimitMigration.realPostgres.integration.test.ts \+ pluginWorkloadSdkSteplessQuota.realPostgres.integration.test.ts \entityChangeFeed.realPostgres.integration.test.ts \db.realPostgresMigration.integration.test.tsdiff --git a/docs/architecture/administrative-rate-limits.md b/docs/architecture/administrative-rate-limits.mdindex 70c0ff2fa..caaf904ee 100644--- a/docs/architecture/administrative-rate-limits.md+++ b/docs/architecture/administrative-rate-limits.md@@ -76,6 +76,12 @@ healthy prompts therefore consume 3600/4200 general requests before bootstrap,other methods or retries. Both authenticated request gates default to 6000.Capability authority is not cached to reduce those charges.+The calculation above models the healthy static-secret SDK path only. That path+does not call the separate direct-Host provider-attempt authorization or OAuth+broker routes. Subscription/OAuth SDK paths can call those routes and therefore+also face their budgets of 300 operations per minute. Each path must use its own applicable+counters; provider/account quotas and retries can lower capacity further.+The three credential requests carry the Host runtime access JWT, includingthe requests forwarded by WRC. They are attributed to that verified Host orrecipe, not to WRC’s internal service identity. Namespace equal to the Hosts@@ -140,7 +146,7 @@ producer exit 0; skipped physical tests do not establish correctness.For an authorized rollout, verify effective numeric owners, source/imagerevision, ledger migration ordering, old-writer drain, independent identities,forwarding policy and visible recovery. Keep upstream provider quotas, bytes,-concurrency and unrelated authentication/minting safeguards separate.429 must+concurrency and unrelated authentication/minting safeguards separate. A 429 mustremain possible under deliberate overload and must be understandable.References: issue #985; #433 owns broader edge-store/cardinality coordination;diff --git a/scripts/tests/test-grok-subscription-t0.sh b/scripts/tests/test-grok-subscription-t0.shindex cf43e81c4..aca0cdb80 100755--- a/scripts/tests/test-grok-subscription-t0.sh+++ b/scripts/tests/test-grok-subscription-t0.sh@@ -182,7 +182,7 @@ require_real_pg_suite() {REGISTERED+=("${rel}")require_file "${rel}" || return 1local suite- suite="$(basename "${rel}" .test.ts)"+ suite="$(basename "${rel}")"if ! sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*\\$//' "${ROOT}/.github/workflows/ci-public.yml" |grep -Fxq "${suite}"; thenfail "ci-public.yml real-PG lane does not list ${suite}"@@ -229,18 +229,27 @@ run_group "grok-catalog-projection" "packages/codex-catalog-projection" \run_group "grok-llm-proxy" "grok-llm-proxy" \"test/abortWhenClientDisconnects.test.ts" \"test/approvedToolsUpstream.test.ts" \+ "test/bindLoopbackSetup.test.ts" \+ "test/bodyAdmission.test.ts" \+ "test/bodyBudget.test.ts" \"test/catalogBounds.test.ts" \+ "test/catalogContextWindow.test.ts" \"test/contractFreeze.test.ts" \"test/controlApiClient.test.ts" \+ "test/deployManifest.test.ts" \+ "test/executionTicketVerifier.test.ts" \"test/grokTransport.conformance.test.ts" \"test/grokUpstreamHeaders.test.ts" \+ "test/metrics.test.ts" \"test/originPolicy.test.ts" \"test/redaction.test.ts" \"test/requestLimits.test.ts" \"test/runtimePath.hermetic.e2e.test.ts" \"test/server.security.test.ts" \"test/sseBackpressure.test.ts" \- "test/toolNameMap.test.ts"+ "test/sseHeartbeat.test.ts" \+ "test/toolNameMap.test.ts" \+ "test/upstreamErrorHint.test.ts"run_group "control-api grok" "control-api" \"test/db.grokSubscriptionMigration.test.ts" \@@ -316,6 +325,7 @@ run_group "control-ui grok" "control-ui" \"components/__tests__/LlmPolicyEditor.test.tsx" \"components/__tests__/LlmModelForm.test.tsx" \"lib/__tests__/grokSubscriptionFeature.test.ts" \+ "lib/__tests__/grokSubscription.sync.test.ts" \"lib/__tests__/llm.test.ts" \"lib/hooks/__tests__/useGrokSubscriptionEnabled.test.tsx"