mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-07 15:52:52 +03:00
Expose Arena ELO sync in feature flags (#3821)
Adds ARENA_ELO_SYNC_ENABLED to the Dashboard Feature Flags registry (DB-overridable), routes Arena ELO startup/status checks through the shared feature-flag resolver while preserving the existing env fallback, and refreshes env docs (adds the missing STREAM_READINESS_TIMEOUT_MS example) so env/doc sync stays green. Integrated into release/v3.8.25. Co-authored-by: R.D. <rogerproself@gmail.com>
This commit is contained in:
@@ -88,9 +88,10 @@ describe("Pipeline Wiring — instrumentation-node.ts", () => {
|
||||
it("should initialize Arena ELO sync on the live startup path (on by default, opt-out)", () => {
|
||||
// The Next standalone runtime boots through instrumentation-node, NOT server-init.ts.
|
||||
// The Arena ELO sync (which feeds the Free Provider Rankings page) must be wired here,
|
||||
// or it never runs in production regardless of ARENA_ELO_SYNC_ENABLED.
|
||||
// or it never runs in production. initArenaEloSync self-gates through the feature flag
|
||||
// resolver so ARENA_ELO_SYNC_ENABLED and dashboard overrides still apply.
|
||||
assert.match(src, /initArenaEloSync/);
|
||||
assert.match(src, /ARENA_ELO_SYNC_ENABLED !== "false"/);
|
||||
assert.match(src, /const started = await initArenaEloSync\(\)/);
|
||||
});
|
||||
|
||||
it("should initialize pricing + models.dev sync on the live startup path (self-gated, opt-in)", () => {
|
||||
|
||||
Reference in New Issue
Block a user