chore(release): clear release/v3.8.51 base-red gates — docs count, stryker list, lockfile host, stale suppressions, 7 lint regressions (#11502)

Validated in a combined 4-PR batch worktree off release/v3.8.51 tip.
- Every fix individually confirmed against the pristine tip, no runtime behavior change
- typecheck:core, file-size, changelog-integrity, complexity, cognitive-complexity, check:cycles — all OK
- Full-repo lint: 503 → 228 problems, confirming this PR's diagnosis of the exit-2 stale-suppressions + orphaned-code causes; the remaining 228 are pre-existing dashboard react-hooks/* findings this PR never claimed to touch
- node --test tests/unit/combo-routing-engine.test.ts, providers-constants-split.test.ts, and the providerLimits/videoBridge importers — all pass as part of the batch's 246/246 node:test run

Thanks for the meticulous base-red triage — this directly explains and fixes the largest lint-drift finding from the prior merge-batch session.
This commit is contained in:
MumuTW
2026-08-26 00:51:18 +08:00
committed by GitHub
parent 28601b456e
commit 17e4ddfc77
56 changed files with 169 additions and 145 deletions

View File

@@ -1610,10 +1610,9 @@ async function buildUnifiedModelsResponseCore(
) {
continue;
}
const visionFields =
!modelType || modelType === "chat"
? getCustomVisionCapabilityFields(model, aliasId, modelId)
: null;
const visionFields = !modelType
? getCustomVisionCapabilityFields(model, aliasId, modelId)
: null;
if (includeAlias) {
models.push({
@@ -1644,10 +1643,9 @@ async function buildUnifiedModelsResponseCore(
if (includeCanonical && canonicalProviderId !== alias && !prefix && !isNoAuthProvider) {
const providerPrefixedId = `${canonicalProviderId}/${modelId}`;
if (models.some((m) => m.id === providerPrefixedId)) continue;
const providerVisionFields =
!modelType || modelType === "chat"
? getCustomVisionCapabilityFields(model, providerPrefixedId, modelId)
: null;
const providerVisionFields = !modelType
? getCustomVisionCapabilityFields(model, providerPrefixedId, modelId)
: null;
models.push({
id: providerPrefixedId,
object: "model",