From c183b5bf0b5fe549b5a00cbd443b46c90b931bc3 Mon Sep 17 00:00:00 2001 From: Vadym O Date: Sun, 8 Nov 2026 00:21:40 +0800 Subject: [PATCH] ci: clear inherited reds on release/.15 (ratchet baseline, preflight fork version, stale-quota expectation) - file-size baseline: raise src/adapters/anthropic.ts to 2035 and tests/codex-integration/codex-auth-api.test.ts to 6544 (growth from 4269f45a, legit feature + test coverage) - release-preflight.sh: the fork's own releases are 2.65.0-vadymhimself.N and ship from main, so allow that prerelease shape on the main channel (5 preflight tests) - provider-quota.test.ts: b93f22bbc keeps the main account's last plan when a probe fails, so unknownPlanAccounts is 0 in the stale-quota case; failed on the .15 head, passes at b93f22bbc~1 Co-Authored-By: Claude Code --- scripts/ci/release-preflight.sh | 3 ++- tests/fixtures/file-size-baseline.json | 4 ++-- tests/providers/provider-quota.test.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/ci/release-preflight.sh b/scripts/ci/release-preflight.sh index 7b6b7b6f67b..2432da8eda4 100755 --- a/scripts/ci/release-preflight.sh +++ b/scripts/ci/release-preflight.sh @@ -36,7 +36,8 @@ expected_tag="" case "$GITHUB_REF" in refs/heads/main) expected_tag="latest" - [[ "$RELEASE_VERSION" != *-* ]] \ + # The fork's own releases are 2.65.0-vadymhimself.N and ship from main. + [[ "$RELEASE_VERSION" != *-* || "$RELEASE_VERSION" == *-vadymhimself.* ]] \ || fail "main releases must use a stable semver version; got ${RELEASE_VERSION}" ;; refs/heads/preview) diff --git a/tests/fixtures/file-size-baseline.json b/tests/fixtures/file-size-baseline.json index 088890a4758..b567efc952d 100644 --- a/tests/fixtures/file-size-baseline.json +++ b/tests/fixtures/file-size-baseline.json @@ -18,7 +18,7 @@ ".github/scripts/issue-quality.test.cjs": 2143, "gui/src/pages/Models.tsx": 2787, "gui/src/styles.css": 2958, - "src/adapters/anthropic.ts": 2031, + "src/adapters/anthropic.ts": 2035, "src/adapters/openai-chat.ts": 820, "src/adapters/openai-responses.ts": 6, "src/bridge.ts": 7, @@ -39,7 +39,7 @@ "tests/claude-integration/claude-messages-endpoint.test.ts": 6026, "tests/claude-integration/claude-outbound.test.ts": 2035, "tests/cli/cli-account.test.ts": 2313, - "tests/codex-integration/codex-auth-api.test.ts": 6514, + "tests/codex-integration/codex-auth-api.test.ts": 6544, "tests/codex-integration/codex-auth-context.test.ts": 2433, "tests/codex-integration/codex-catalog.test.ts": 7974, "tests/codex-integration/codex-reset-credit-recovery.test.ts": 2135, diff --git a/tests/providers/provider-quota.test.ts b/tests/providers/provider-quota.test.ts index 17145320428..825be937a50 100644 --- a/tests/providers/provider-quota.test.ts +++ b/tests/providers/provider-quota.test.ts @@ -2402,7 +2402,7 @@ describe("fetchProviderQuotaReports", () => { includedAccounts: 0, staleQuotaAccounts: 1, missingQuotaAccounts: 1, - unknownPlanAccounts: 1, + unknownPlanAccounts: 0, // b93f22bbc keeps the main account's last plan when a probe fails incomplete: true, currentAccount: { plan: "prolite", quota: null }, });