Skip to content

fix: remove claude fable 5 model support#17567

Merged
seven332 merged 1 commit into
mainfrom
fix/remove-claude-fable-5
Jun 13, 2026
Merged

fix: remove claude fable 5 model support#17567
seven332 merged 1 commit into
mainfrom
fix/remove-claude-fable-5

Conversation

@seven332

Copy link
Copy Markdown
Contributor

Fixes #17558.

Summary

  • remove Claude Fable 5 from active model catalogs, provider model lists, VM0 routing, model page content, and guest-agent effort handling
  • add migration 0459 to move active Fable selections and org policies to Claude Opus 4.8 while keeping historical zero_runs untouched
  • keep historical usage pricing rows for old or pending usage settlement and add migration coverage for that boundary

Tests

  • pnpm -F @vm0/api-contracts exec vitest run src/contracts/tests/model-providers.test.ts
  • pnpm -F web exec vitest run 'app/[locale]/models/tests/data.test.ts' src/tests/vm0-provider.test.ts
  • pnpm -F @vm0/db exec vitest run src/tests/migrations/0459_remove_claude_fable_5.test.ts
  • pnpm -F @vm0/db db:migrate
  • pnpm -F api exec vitest run src/signals/routes/tests/zero-model-policies.test.ts
  • pnpm -F api exec vitest run src/signals/routes/tests/chat-messages.bdd.test.ts
  • cargo test -p guest-agent build_claude_args_omits_effort
  • pnpm -F @vm0/db test:migration-consistency
  • git diff --check
  • pre-commit hook: prettier, cargo fmt/doc/clippy, knip, check-types

@codecov

codecov Bot commented Jun 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

API preview: https://pr-17567-api.vm6.ai

@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

⚡ Lighthouse — Web

Category Score
🟠 Performance 60
🟢 Accessibility 96
🟠 Best Practices 75
🟢 SEO 100

Tested URL: https://pr-17567-www.vm6.ai/ · Full report

@seven332 seven332 force-pushed the fix/remove-claude-fable-5 branch from 0446c7f to 25cf63c Compare June 13, 2026 06:53
@seven332 seven332 enabled auto-merge June 13, 2026 06:54
@seven332

Copy link
Copy Markdown
Contributor Author

Code Review: PR #17567

Summary

Reviewed the Claude Fable 5 removal across active model catalogs, VM0 routing, provider model lists, web model-page data, guest-agent Claude args, and migration 0459. The approach matches the existing removed-model pattern: remove the model from active catalogs and migrate active stored selections, while preserving historical run/pricing data.

Key Findings

Critical Issues (P0)

  • None found.

High Priority (P1)

  • None found.

Testing Review

Coverage

  • fix: remove Fable from supported run models/provider lists/model page/provider UI/guest-agent effort handling -> covered by model-providers.test.ts, data.test.ts, vm0-provider.test.ts, and build_claude_args_omits_effort.
  • fix: migrate active Fable selections and org model policies to Opus 4.8 -> covered by 0459_remove_claude_fable_5.test.ts.
  • fix: ignore unsupported stored user/default model selections at default resolution -> covered indirectly by policy/model-selection tests and catalog schema tests.

Convention Compliance

  • No internal vi.mock() usage.
  • No direct fetch mocking.
  • No fake timers or artificial sleeps.
  • No DB mocking; migration tests use real DB state.
  • No lint/type suppressions or any usage introduced.

Testing Verdict: Adequate

Bad Smell Analysis

  • Mock violations: 0
  • Test coverage issues: 0
  • Defensive programming: 0
  • Dynamic imports: 0
  • Type safety issues: 0
  • Lint/type suppressions: 0
  • Timer/delay issues: 0

Verification Run During Review

  • pnpm -F @vm0/api-contracts exec vitest run src/contracts/__tests__/model-providers.test.ts
  • pnpm -F @vm0/db exec vitest run src/__tests__/migrations/0459_remove_claude_fable_5.test.ts
  • pnpm -F api exec vitest run src/signals/routes/__tests__/zero-model-policies.test.ts
  • pnpm -F web exec vitest run 'app/[locale]/models/__tests__/data.test.ts' src/__tests__/vm0-provider.test.ts
  • cargo test --manifest-path crates/Cargo.toml -p guest-agent build_claude_args_omits_effort
  • pnpm -F @vm0/db test:migration-consistency
  • git diff --check

Recommendations

  • No blocking changes requested.

Verdict

LGTM


Full review details: codereviews/20260613/pr-17567-commit-list.md
Testing standards: docs/testing.md

@seven332 seven332 added this pull request to the merge queue Jun 13, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Jun 13, 2026
@seven332 seven332 enabled auto-merge June 13, 2026 07:12
@seven332 seven332 force-pushed the fix/remove-claude-fable-5 branch from 25cf63c to 25cd518 Compare June 13, 2026 07:12
@seven332 seven332 added this pull request to the merge queue Jun 13, 2026
@seven332

Copy link
Copy Markdown
Contributor Author

Code Review: PR #17567

Summary

Reviewed the Claude Fable 5 removal across active model catalogs, VM0 routing, provider model lists, web model-page data, guest-agent Claude args, default model resolution, and migration 0459. The approach matches the existing removed-model pattern: remove the model from active catalogs and migrate active stored selections, while preserving historical run/pricing data.

Key Findings

Critical Issues (P0)

  • None found.

High Priority (P1)

  • None found.

Testing Review

Coverage

  • fix: remove Fable from supported run models/provider lists/model page/provider UI/guest-agent effort handling -> covered by model-providers.test.ts, data.test.ts, vm0-provider.test.ts, and build_claude_args_omits_effort.
  • fix: migrate active Fable selections and org model policies to Opus 4.8 -> covered by 0459_remove_claude_fable_5.test.ts, including idempotency, existing-replacement merge, provider aliases, and historical zero_runs/usage_pricing preservation.
  • fix: ignore unsupported stored user/default model selections at default resolution -> covered by catalog schema/provider tests and the service query now filtering to SUPPORTED_RUN_MODELS.

Convention Compliance

  • No internal vi.mock() usage.
  • No direct fetch mocking.
  • No fake timers or artificial sleeps.
  • No DB mocking; migration tests use real DB state.
  • No lint/type suppressions or new any usage introduced.

Testing Verdict: Adequate

Bad Smell Analysis

  • Mock violations: 0
  • Test coverage issues: 0
  • Defensive programming: 0
  • Dynamic imports: 0
  • Type safety issues: 0
  • Lint/type suppressions: 0
  • Timer/delay issues: 0

Recommendations

  • No blocking changes requested.

Verdict

LGTM


Full review details: codereviews/20260613/pr-17567-commit-list.md
Testing standards: docs/testing.md

Merged via the queue into main with commit 63733bf Jun 13, 2026
85 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in VM0 Kanban Jun 13, 2026
@github-actions github-actions Bot mentioned this pull request Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

refactor: centralize rust-side network log row construction

1 participant