fix(ci): green the release/v3.8.50 base (#9985) - #11201
diegosouzapw merged 1 commit into
Conversation
|
@jonlwheat2-gif this PR is the right shape and it is close, but there is a fourth failing test file that it does not cover, so the base will still be red after it merges. I reproduced it on Linux and traced it, so here is everything you need. What is missing
Same class as your 8 test updates: a deliberate contract change whose sibling tests were updated while this file was missed. Cause
That commit updated 5 sibling combo tests but not this one. The three failures all call
ReproductionFresh clone at tip Worth noting for triage: this is not order-dependence, unlike the I confirmed the root cause by calling the command directly with the server stubbed offline, which surfaces the error message that the exit code otherwise hides. The fixPassing a model to each of the three I have written this up in more detail as #11203. I am deliberately not opening a competing PR, since yours already owns the base-green work and it belongs in one place. Happy to hand over anything else useful, or to open a separate PR for just this file if you would rather keep your diff as-is. |
…gosouzapw#11203) Rebuilt on the current base (79c5bdf) after the owner's diegosouzapw#10964 fixed the first 7 failures (combos, HarImport, aihorde SSRF, config-generator 128K, quota 403, openrouter allExpired, pt-BR keys). This carries the remaining base-red failures: - guide-settings-route.test.ts: v2 providers.omniroute dual-write assertion — diegosouzapw#10964 updated the model-limit blocks but missed the stale content.providers === undefined assert (line 130) - t40-opencode-cli-tools-integration.test.ts: v2 schema assert - clinepass-provider.test.ts: z-ai/glm-5.2 vendor prefix (diegosouzapw#6108) - provider-alias-uniqueness.test.ts: Hack Club AI removal (diegosouzapw#11118) - eslint-suppressions.json: prune 2 stale entries - cli-combo-command.test.ts: pass models to combo create (diegosouzapw#11162, reported by reviewer as diegosouzapw#11203) — verified 5/5 on Linux (Docker)
da7a5a7 to
bb8f28c
Compare
|
Thanks @pacocartones — great catch, and the write-up in #11203 was spot on. The fix is now in this PR (and I've rebuilt it onto the current base What I did
Rebuild notes (since the base moved)
PR is mergeable again (was CONFLICTING against the moved base). Thanks again for the thorough trace — this one would have kept the base red after merge otherwise. |
…l gate drift (batch 1/2) Two upstream-inherited base-red patterns, both surfaced by the merge of release/v3.8.50 (these tests fail identically on pristine upstream in-container; upstream has its own open base-green PR diegosouzapw#11201 that does not cover these): 1. proxy_logs flush race (egress-ip-lock-10880, proxy-egress-route-summary, proxy-management-v1-route): the tests seed rows via proxyLogger.logProxyEvent() which only ENQUEUES for the 1s/100-entry background batch, then immediately read the persisted proxy_logs synchronously. The read races the batch flush, so the rows are usually not on disk yet → "no known egress IP → skipped" → siblings not cooled / metrics zero. Deterministic fix: call proxyLogger.flushProxyLogsSync() right after seeding. No assertion weakened; removes a real timing flake. 2. CCR retrieve-tool gate (diegosouzapw#7746 follow-up, ccr-protocol-instruction + ccr-skip-tool-outputs): upstream added callerSupportsCcrRetrieve() so the engine now skips compression for callers whose tools[] cannot reach omniroute_ccr_retrieve (otherwise the content-addressed marker is unresolvable). Two stale tests assumed the old always-compress behavior: the plain-no-tools caller now correctly yields compressed:false (assertion updated to the safer new contract), and the "still compresses plain user text" regression guard now advertises the retrieve tool so it exercises the real compression path, asserting the marker in ANY message (the tool also triggers a leading system instruction, shifting indices). Verified in-container (omniroute:base): all 5 files 44/44 green.
|
Thanks for jumping on the base-red so quickly. One course correction: we decided on #11176 to COMPLETE the hackclub removal rather than drop the three assertions from provider-alias-uniqueness.test.ts — the assertions are the canary that surfaced the registry/catalog split, and the removal was requested by the Hack Club maintainers. Could you update this PR to: (1) remove hackclub from src/shared/constants/providers/apikey/gateways.ts (entry + alias hc) and the leftover comments in web-cookie.ts:265 and open-sse/config/providers/registry/huggingchat/index.ts:5; (2) keep the uniqueness test assertions intact (they should pass once the catalog entry is gone); (3) run the 348→347 count cascade (npm run gen:provider-reference + README/AGENTS/llm.txt mirrors); (4) keep the cli-combo-command fix as-is (that's correct and independently needed for #11203). That makes this PR green the base AND complete the removal in one sweep. |
2264cff
into
diegosouzapw:release/v3.8.50
…ovider + sign-in) (#11205) Merged after conflict resolution: the 5 conflicting test files were the base-red drains that #11201 already landed on the tip — kept the tip versions; the feature content is untouched. Validated on the combined batch board + this branch: codex-app-server + codex-gpt56-catalog 25/25, typecheck:core clean, docs-counts green (351 providers), provider-consistency 268/351/0. The opt-in codex-app-server transport (JSON-RPC-over-WS, turn/completed-awaited close, Responses SSE bridge) leaves the default codex path untouched. Thank you @arminanton — a 3.4k-line transport with the docs wave and tests to match!
…gosouzapw#11203) (diegosouzapw#11201) Validated on the combined batch board over tip 76f9b2f: static gates clean (changelog, file-size 159 frozen, complexity 2621<=2774, cognitive 1181<=1223, dead-code 408<=416), typecheck:core clean, 107 focused tests green. This drains the remaining diegosouzapw#9985 tail — the v2 dual-write assertions (guide-settings/t40), the zai→z-ai stale id, the hackclub leftovers, and the diegosouzapw#11162 cli-combo models (diegosouzapw#11203). Note: guide-settings also trips this devbox's container guard (/.dockerenv present), an environment artifact unrelated to CI. Base is green again. Thank you @jonlwheat2-gif!
…ovider + sign-in) (diegosouzapw#11205) Merged after conflict resolution: the 5 conflicting test files were the base-red drains that diegosouzapw#11201 already landed on the tip — kept the tip versions; the feature content is untouched. Validated on the combined batch board + this branch: codex-app-server + codex-gpt56-catalog 25/25, typecheck:core clean, docs-counts green (351 providers), provider-consistency 268/351/0. The opt-in codex-app-server transport (JSON-RPC-over-WS, turn/completed-awaited close, Responses SSE bridge) leaves the default codex path untouched. Thank you @arminanton — a 3.4k-line transport with the docs wave and tests to match!
What
Finishes greening the
release/v3.8.50base (#9985). Rebuilt on the current base (79c5bdf68) — the owner's #10964 already fixed the first 7 failures, so this PR now carries only the remaining base-red failures:tests/unit/guide-settings-route.test.tscontent.providers === undefinedassert (line 130)providers.omniroute.package/settingsshapetests/unit/t40-opencode-cli-tools-integration.test.tsproviders.omniroute.packagetests/unit/clinepass-provider.test.tszai/glm-5.2stale idz-ai/glm-5.2vendor prefix (#6108)tests/unit/provider-alias-uniqueness.test.tsconfig/quality/eslint-suppressions.jsoncall-logs,rerank)tests/unit/cli-combo-command.test.tsmodels: ["openai/gpt-4o-mini"]to the create calls, mirroring #11162's sibling-test fixVerification (Linux, Docker, Node 24.19.0)
check:dashboard-typecheck: 0 regressions vs frozen baseline (owner's fix(release): repair v3.8.50 base-red tail after latest root lift #10964 already fixed combos/HarImport)Note
The 7 originally-listed fixes (combos TS2554, HarImport TS2339, aihorde SSRF guard, config-generator 128K, quota 403, openrouter allExpired, pt-BR keys) are no longer in this PR — the owner's #10964 landed equivalent fixes in the base. Thanks to the reviewer for flagging cli-combo-command (#11203).
Closes the remaining base-red tail of #9985 so #11194 and other dependent PRs get a green base.