Skip to content

fix(release): drain v3.8.50 base-reds — build-breaking import, stale provider docs, orphaned suppressions - #11037

Closed
diegosouzapw wants to merge 2 commits into
release/v3.8.50from
fix/release-v3.8.50-basereds
Closed

diegosouzapw wants to merge 2 commits into
release/v3.8.50from
fix/release-v3.8.50-basereds

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Refs #9985

Drains the three classes of base-red currently failing every PR against release/v3.8.50:

  1. Fast Production Build (module-not-found) — src/app/api/usage/utilization/route.ts imported getConnection from @/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 to getProviderConnectionById from @/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).
  2. Docs Gates (fast-path) — docs/reference/PROVIDER_REFERENCE.md regenerated via npm run gen:provider-reference (346 → 347) and the four README diagram SVGs updated to the real count.
  3. No new ESLint warnings — npm run lint:json -- --max-warnings 0 --prune-suppressions on 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.

backryun and others added 2 commits August 18, 2026 07:56
…em metadata

`assertValidEngine()` valida id, apply, compress, getConfigSchema e
validateConfig — não exige `metadata`. Uma engine registrada sem esse campo é,
portanto, um registro legal. Mas `canRunAtCompressionStage` lia
`engine.metadata.executionStages` sem guarda, então essa engine legal derrubava o
pipeline inteiro com `TypeError: Cannot read properties of undefined` em vez de
falhar aberto, que é o contrato da compressão.

Metadata ausente é o mesmo caso de "não declarou executionStages" e passa a cair
no mesmo fallback documentado: só pre-translation.

Isso destravava também `tests/unit/compression/pipeline-circuit-breaker.test.ts`,
que registra uma engine de teste sem metadata e vinha 8/9 na base — agora 9/9. O
teste novo torna o contrato explícito, em vez de deixá-lo dependendo de uma
reprodução incidental noutro arquivo.
@diegosouzapw

Copy link
Copy Markdown
Owner Author

Closing — this PR was accidentally created pointing at another session's in-flight branch of the same name (its head carries a compression fix, not the changes described here). The described base-red fixes are being reopened from a distinctly named branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants