fix(release): drain v3.8.50 base-reds — build-breaking import, stale provider docs, orphaned suppressions - #11038
Conversation
…ale provider docs, orphaned lint suppressions
|
Thanks for chasing this down — the work here is sound and the intent (drain the #10939 build-breaking import) is exactly right. However, this PR has been superseded: the same fix ( |
…nt (keep HEAD 348 provider counts)
…provider docs, orphaned suppressions (diegosouzapw#11038) ⭐5 — Drain de base-reds v3.8.50 (diegosouzapw#9985): corrige build-break do diegosouzapw#10939 (import fantasma @/lib/db/connections → reroteado por getProviderConnectionById real), headers Anthropic no fallback GLM, fallthrough do reject de listing CC-compatible, no-auth leak no auto-combo, retry de mesmo-account nos combo live tests, pin onnxruntime-node ~1.24.3; + alignments de teste + gates (env-doc, docs-counts 347→348, openapi floor, i18n vi/pt-BR). Reconciliado com o tip: 5 conflitos de contagem gerada (SVGs + PROVIDER_REFERENCE — HEAD já em 348, branch em 347 stale) resolvidos ficando com o HEAD. typecheck limpo, gates verdes, 5/5 testes focados (diegosouzapw#10939 regressão + utilização), lint limpo nos tocados. Também rebaselined neste turno via push direto ao tip: config/quality/file-size-baseline.json modelCapabilities.ts 1016→1072 (drift de PRs ja mergeadas, ex: diegosouzapw#11034), com changelog fragment — tip estava vermelho nesse gate e travava esta PR.
Refs #9985
Drains three classes of base-red currently failing every PR against release/v3.8.50 (complementary to the in-flight compression basereds branch — zero file overlap):
src/app/api/usage/utilization/route.tsimportedgetConnectionfrom@/lib/db/connections, a module that does not exist (introduced by the fix(dashboard): show account email/name in Utilization Account Split cards #10939 merge, c0fd109; typecheck:core does not cover app routes, so only next build catches it). Fixed togetProviderConnectionByIdfrom@/lib/db/providers(awaited). Regression test:tests/unit/utilization-route-import-10939.test.ts(module import is the repro — ERR_MODULE_NOT_FOUND on the base, resolves here).docs/reference/PROVIDER_REFERENCE.mdregenerated vianpm run gen:provider-reference(346 → 347) and the four README diagram SVGs updated to the real count.npm run lint:json -- --max-warnings 0 --prune-suppressionson the clean base tip removed suppressions orphaned by earlier merges (the gate fails with "suppressions left that do not occur anymore" for every PR); lint exits 0 after the prune.