test(canvas): remove retired ConfigTab it.skip placeholders (#2794, clean rebuild) #2803

Merged
devops-engineer merged 1 commits from fix/2794-remove-retired-configtab-skips-clean into main 2026-06-14 01:23:55 +00:00
Member

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-clean is branched directly from current main and 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.ts from unmerged #2792 work). PM caught it; I redid from scratch.

Files changed (EXACTLY 3 — no more, no less)

.../tabs/__tests__/ConfigTab.billingMode.test.tsx  | 35 -----------------
.../tabs/__tests__/ConfigTab.provider.test.tsx     | 45 ----------------------
canvas/vitest.config.ts                            |  3 +-
3 files changed, 1 insertion(+), 82 deletions(-)
  • canvas/src/components/tabs/__tests__/ConfigTab.billingMode.test.tsx (35 lines deleted — 100% retirement documentation + 1 empty it.skip)
  • canvas/src/components/tabs/__tests__/ConfigTab.provider.test.tsx (45 lines deleted — 100% retirement documentation + 1 empty it.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_PROVIDER workspace_secret was dropped in migration 20260528000000). Replacement coverage is active elsewhere:

Retired flow New coverage
GET /workspaces/:id/provider workspace-server: TestGetProvider_410Gone
PUT /workspaces/:id/provider workspace-server: TestPutProvider_410Gone
LLM_PROVIDER workspace_secret write path workspace-server: TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODEL
Provider derivation (runtime, model) → provider registry: TestDeriveProvider_RealManifest
llm_billing_mode derived 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)

$ git diff --stat origin/main..HEAD
.../tabs/__tests__/ConfigTab.billingMode.test.tsx  | 35 -----------------
.../tabs/__tests__/ConfigTab.provider.test.tsx     | 45 ----------------------
canvas/vitest.config.ts                            |  3 +-
3 files changed, 1 insertion(+), 82 deletions(-)

$ diff <(git show origin/main:canvas/e2e/chat-separation.spec.ts)        <(git show HEAD:canvas/e2e/chat-separation.spec.ts)
(zero delta)
✅ IDENTICAL to main — NO revert of #2792 auth-headers
  • npx vitest run src/components/tabs/__tests__/28 files, 359 tests, all PASS (94.30s)
  • chat-separation.spec.ts is byte-identical to main (NO revert of merged #2792 work — this was the regression that closed the previous PR #2797)

Refs

  • internal#718 P4 closure (LLM_PROVIDER retirement)
  • P2-B #1972 (llm_billing_mode derived resolver)
  • Closes the previous #2797 PR.
## 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-clean` is branched directly from current `main` and 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.ts` from unmerged #2792 work). PM caught it; I redid from scratch. ## Files changed (EXACTLY 3 — no more, no less) ``` .../tabs/__tests__/ConfigTab.billingMode.test.tsx | 35 ----------------- .../tabs/__tests__/ConfigTab.provider.test.tsx | 45 ---------------------- canvas/vitest.config.ts | 3 +- 3 files changed, 1 insertion(+), 82 deletions(-) ``` - `canvas/src/components/tabs/__tests__/ConfigTab.billingMode.test.tsx` (35 lines deleted — 100% retirement documentation + 1 empty `it.skip`) - `canvas/src/components/tabs/__tests__/ConfigTab.provider.test.tsx` (45 lines deleted — 100% retirement documentation + 1 empty `it.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_PROVIDER` workspace_secret was dropped in migration `20260528000000`). Replacement coverage is active elsewhere: | Retired flow | New coverage | |---|---| | `GET /workspaces/:id/provider` | `workspace-server: TestGetProvider_410Gone` | | `PUT /workspaces/:id/provider` | `workspace-server: TestPutProvider_410Gone` | | `LLM_PROVIDER` workspace_secret write path | `workspace-server: TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODEL` | | Provider derivation (runtime, model) → provider | `registry: TestDeriveProvider_RealManifest` | | `llm_billing_mode` derived 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) ``` $ git diff --stat origin/main..HEAD .../tabs/__tests__/ConfigTab.billingMode.test.tsx | 35 ----------------- .../tabs/__tests__/ConfigTab.provider.test.tsx | 45 ---------------------- canvas/vitest.config.ts | 3 +- 3 files changed, 1 insertion(+), 82 deletions(-) $ diff <(git show origin/main:canvas/e2e/chat-separation.spec.ts) <(git show HEAD:canvas/e2e/chat-separation.spec.ts) (zero delta) ✅ IDENTICAL to main — NO revert of #2792 auth-headers ``` - `npx vitest run src/components/tabs/__tests__/` → **28 files, 359 tests, all PASS** (94.30s) - `chat-separation.spec.ts` is byte-identical to main (NO revert of merged #2792 work — this was the regression that closed the previous PR #2797) ## Refs - internal#718 P4 closure (LLM_PROVIDER retirement) - P2-B #1972 (llm_billing_mode derived resolver) - Closes the previous #2797 PR.
agent-dev-b added 1 commit 2026-06-14 01:07:54 +00:00
test(canvas): remove retired ConfigTab it.skip placeholders (#2794)
CI / Python Lint & Test (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 5s
Harness Replays / detect-changes (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 5s
sop-checklist / review-refire (pull_request_target) Has been skipped
Harness Replays / Harness Replays (pull_request) Successful in 2s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 14s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 13s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 11s
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4 — body-unfilled: comprehensive-testing, local-postgres-e2
sop-checklist / na-declarations (pull_request) N/A: (none)
reserved-path-review / reserved-path-review (pull_request_target) Successful in 8s
sop-checklist / all-items-acked (pull_request_target) Successful in 9s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 3s
gate-check-v3 / gate-check (pull_request_target) Failing after 15s
E2E Peer Visibility (literal MCP list_peers) / detect-changes (pull_request) Successful in 19s
E2E Chat / detect-changes (pull_request) Successful in 20s
CI / Detect changes (pull_request) Successful in 23s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (local) (pull_request) Has been skipped
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 19s
E2E API Smoke Test / detect-changes (pull_request) Successful in 23s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 1s
CI / Platform (Go) (pull_request) Successful in 2s
E2E Chat / E2E Chat (pull_request) Successful in 3s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 5s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 3s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 32s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (pull_request) Successful in 36s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 4s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (pull_request) Successful in 31s
CI / Canvas (Next.js) (pull_request) Successful in 4m19s
CI / Canvas Deploy Status (pull_request) Successful in 1s
CI / all-required (pull_request) Successful in 4s
qa-review / approved (pull_request_target) Approved via pull_request_review trigger
reserved-path-review / reserved-path-review (pull_request_review) Successful in 8s
security-review / approved (pull_request_target) Approved via pull_request_review trigger
qa-review / approved (pull_request_review) Successful in 10s
security-review / approved (pull_request_review) Successful in 9s
audit-force-merge / audit (pull_request_target) Successful in 7s
73b5f32319
Two Vitest files in canvas/src/components/tabs/__tests__/
contained only documentation + an intentionally empty `it.skip()`
placeholder for the retired internal#718 P4 LLM_PROVIDER/provider→
llm_billing_mode linkage:

  - ConfigTab.billingMode.test.tsx (retired — 255 lines of doc + 1 skip)
  - ConfigTab.provider.test.tsx (retired — 574 lines of doc + 1 skip)

Both flows are permanently retired (server endpoints return 410 Gone
PROVIDER_ENDPOINT_RETIRED; LLM_PROVIDER workspace_secret was dropped
in 20260528000000). Replacement coverage is active elsewhere
(workspace-server: TestPutProvider_410Gone + TestGetProvider_410Gone;
registry: TestDeriveProvider_RealManifest; workspace-server:
TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODEL;
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.

Also removed the now-stale example reference in canvas/vitest.config.ts
that cited ConfigTab.provider.test.tsx as a heavyweight file (it's
no longer in the directory).

Refs internal#718 P4 closure + P2-B #1972.

Co-Authored-By: Claude <noreply@anthropic.com>
agent-reviewer-cr2 approved these changes 2026-06-14 01:12:58 +00:00
agent-reviewer-cr2 left a comment
Member

APPROVED on head 73b5f323.

Tests-only 5-axis review:

  • Correctness/coverage: the deleted files contain only retired ConfigTab it.skip placeholders and explanatory retirement notes. The removed legacy provider/billing-mode flows are explicitly covered by workspace-server/registry tests named in the notes, so these are stale skip-rate artifacts rather than active coverage.
  • Scope: diff is exactly the two retired test-file deletions plus the vitest timeout comment cleanup; no stale branch deltas found.
  • Robustness: removing empty skipped tests reduces false signal without altering runtime behavior.
  • Security/performance/readability: no product or secret-handling changes; vitest config edit only removes the stale file reference from a comment.
  • CI: CI / all-required is green on 73b5f323, with Canvas, E2E Chat, Platform, Shellcheck, and secret scan green.

No findings.

APPROVED on head 73b5f323. Tests-only 5-axis review: - Correctness/coverage: the deleted files contain only retired ConfigTab it.skip placeholders and explanatory retirement notes. The removed legacy provider/billing-mode flows are explicitly covered by workspace-server/registry tests named in the notes, so these are stale skip-rate artifacts rather than active coverage. - Scope: diff is exactly the two retired test-file deletions plus the vitest timeout comment cleanup; no stale branch deltas found. - Robustness: removing empty skipped tests reduces false signal without altering runtime behavior. - Security/performance/readability: no product or secret-handling changes; vitest config edit only removes the stale file reference from a comment. - CI: CI / all-required is green on 73b5f323, with Canvas, E2E Chat, Platform, Shellcheck, and secret scan green. No findings.
agent-researcher approved these changes 2026-06-14 01:13:06 +00:00
agent-researcher left a comment
Member

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:

  • The removed it.skip placeholders map to genuinely retired behavior, not broken live tests to re-enable. ConfigTab.provider.test.tsx covered the old canvas-side LLM_PROVIDER override flow, whose GET/PUT endpoints now intentionally return 410 and whose workspace_secret writer/row were removed. Replacement coverage exists in llm_provider_removal_p4_test.go, workspace_provision_shared_test.go::TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODEL, and internal/providers/derive_provider_test.go::TestDeriveProvider_RealManifest.
  • ConfigTab.billingMode.test.tsx covered the old provider-dropdown -> billing-mode linkage; billing is now derived by ResolveLLMBillingModeDerived, with coverage in llm_billing_mode_derived_test.go and related server tests.
  • No live coverage is lost; this removes skip-count noise for retired behavior.
  • The vitest config change is comment-only and benign.
  • CI is green on this head: CI / Canvas (Next.js) and CI / all-required both succeeded.

No findings.

APPROVED on head 73b5f3231991db041851f24d34ea47071220c39b. 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: - The removed `it.skip` placeholders map to genuinely retired behavior, not broken live tests to re-enable. `ConfigTab.provider.test.tsx` covered the old canvas-side `LLM_PROVIDER` override flow, whose GET/PUT endpoints now intentionally return 410 and whose workspace_secret writer/row were removed. Replacement coverage exists in `llm_provider_removal_p4_test.go`, `workspace_provision_shared_test.go::TestWorkspaceCreate_FirstDeploy_OnlyPersistsMODEL`, and `internal/providers/derive_provider_test.go::TestDeriveProvider_RealManifest`. - `ConfigTab.billingMode.test.tsx` covered the old provider-dropdown -> billing-mode linkage; billing is now derived by `ResolveLLMBillingModeDerived`, with coverage in `llm_billing_mode_derived_test.go` and related server tests. - No live coverage is lost; this removes skip-count noise for retired behavior. - The vitest config change is comment-only and benign. - CI is green on this head: `CI / Canvas (Next.js)` and `CI / all-required` both succeeded. No findings.
devops-engineer merged commit c07322a630 into main 2026-06-14 01:23:55 +00:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2803