test(canvas): remove retired ConfigTab it.skip placeholders (#2794, clean rebuild) #2803
Reference in New Issue
Block a user
Delete Branch "fix/2794-remove-retired-configtab-skips-clean"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Removes two retired
it.skip()placeholders that carried stale skip-rate metrics on every Canvas test run.This PR is a clean-slate rebuild of the previous PR #2797 (which carried deltas from the unmerged #2785 slug work — the 17-file dirty diff). The new branch
fix/2794-remove-retired-configtab-skips-cleanis branched directly from currentmainand contains ONLY the 3 files the #2794 cleanup needs.Old PR #2797 (closed): the original branch carried 17 files of diff (including a 4-line auth-header revert in
chat-separation.spec.tsfrom unmerged #2792 work). PM caught it; I redid from scratch.Files changed (EXACTLY 3 — no more, no less)
canvas/src/components/tabs/__tests__/ConfigTab.billingMode.test.tsx(35 lines deleted — 100% retirement documentation + 1 emptyit.skip)canvas/src/components/tabs/__tests__/ConfigTab.provider.test.tsx(45 lines deleted — 100% retirement documentation + 1 emptyit.skip)canvas/vitest.config.ts(1 line edited — dropped the now-stale example reference)Why these files are gone
Both retired flows are permanently retired (internal#718 P4 closure — server endpoints return 410 Gone
PROVIDER_ENDPOINT_RETIRED;LLM_PROVIDERworkspace_secret was dropped in migration20260528000000). Replacement coverage is active elsewhere:GET /workspaces/:id/providerworkspace-server: TestGetProvider_410GonePUT /workspaces/:id/providerworkspace-server: TestPutProvider_410GoneLLM_PROVIDERworkspace_secret write pathworkspace-server: TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODELregistry: TestDeriveProvider_RealManifestllm_billing_modederived from (runtime, model)workspace-server: TestResolveLLMBillingModeDerived(P2-B #1972)The empty
it.skip()s carried stale skip-rate metrics on every Canvas test run, which inflated CI noise and signaled a regression class that no longer exists.Verification (mandatory --stat paste per PM's requirement)
npx vitest run src/components/tabs/__tests__/→ 28 files, 359 tests, all PASS (94.30s)chat-separation.spec.tsis byte-identical to main (NO revert of merged #2792 work — this was the regression that closed the previous PR #2797)Refs
APPROVED on head
73b5f323.Tests-only 5-axis review:
73b5f323, with Canvas, E2E Chat, Platform, Shellcheck, and secret scan green.No findings.
APPROVED on head
73b5f32319.Clean replacement for #2797: the live diff is scoped to the two retired ConfigTab placeholder test files plus the vitest timeout comment that named one deleted file.
5-axis lite review:
it.skipplaceholders map to genuinely retired behavior, not broken live tests to re-enable.ConfigTab.provider.test.tsxcovered the old canvas-sideLLM_PROVIDERoverride flow, whose GET/PUT endpoints now intentionally return 410 and whose workspace_secret writer/row were removed. Replacement coverage exists inllm_provider_removal_p4_test.go,workspace_provision_shared_test.go::TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODEL, andinternal/providers/derive_provider_test.go::TestDeriveProvider_RealManifest.ConfigTab.billingMode.test.tsxcovered the old provider-dropdown -> billing-mode linkage; billing is now derived byResolveLLMBillingModeDerived, with coverage inllm_billing_mode_derived_test.goand related server tests.CI / Canvas (Next.js)andCI / all-requiredboth succeeded.No findings.