Skip to content

Fix failing CI: point keyboard test at renamed kimi-k3 preset - #10

Merged
rxdt merged 1 commit into
mainfrom
claude/fix-keyboard-preset-id
Sep 8, 2026
Merged

Fix failing CI: point keyboard test at renamed kimi-k3 preset#10
rxdt merged 1 commit into
mainfrom
claude/fix-keyboard-preset-id

Conversation

@rxdt

@rxdt rxdt commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Why main is red

The checks job fails on frontend/tests/keyboard.spec.ts:112 ("tab order reaches every interactive control without a trap") across all 4 viewport projects — expect(stopIndex).toBeGreaterThanOrEqual(0) gets -1.

Root cause: the "Kimi K3 preset" commit (#7) renamed preset mixtral-8x7bkimi-k3 in presets.ts and index.html, but the keyboard test's hardcoded PRESET_IDS list still referenced mixtral-8x7b. That chip no longer exists, so findIndex returns -1. (The dependabot #9 run just inherited the same red.)

It's stale test data, not an accessibility regression — the kimi-k3 chip is keyboard-reachable like every other preset.

Fix

One line: PRESET_IDS mixtral-8x7bkimi-k3.

-  "mixtral-8x7b",
+  "kimi-k3",

🤖 Generated with Claude Code

https://claude.ai/code/session_014RdZJCgjCEYez3bTWjiJ6b


Generated by Claude Code

The Kimi K3 preset commit renamed the mixtral-8x7b preset to kimi-k3 in
presets.ts and index.html but left the keyboard tab-order test's PRESET_IDS
still referencing the removed mixtral chip, so findIndex returned -1 and the
a11y test failed across all viewport projects. Point it at the current chip.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RdZJCgjCEYez3bTWjiJ6b
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai_deployment_calculator Ready Ready Preview Aug 8, 2026 1:36am

@rxdt
rxdt merged commit a9bebd8 into main Sep 8, 2026
5 of 6 checks passed
@rxdt
rxdt deleted the claude/fix-keyboard-preset-id branch September 8, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants