Skip to content

build: migrate Vitest and ESLint major versions#473

Merged
cameroncooke merged 3 commits into
mainfrom
chore/full-vitest-eslint-migrations
Jul 12, 2026
Merged

build: migrate Vitest and ESLint major versions#473
cameroncooke merged 3 commits into
mainfrom
chore/full-vitest-eslint-migrations

Conversation

@cameroncooke

Copy link
Copy Markdown
Collaborator

Vitest 4 and ESLint 10 now run cleanly with the repository's current test and lint setup. The migration updates the compatible TypeScript ESLint stack, moves all Vitest pool settings to the Vitest 4 configuration shape, and replaces non-constructible mocked classes with constructible test doubles. It also aligns the affected TypeScript imports and empty-interface syntax with the upgraded lint rules.\n\nThe branch is ready for CI review. Warden still requires the repository's WARDEN_MODEL secret to be set in provider/model format; that is an external repository configuration prerequisite, not a code change in this PR.

Upgrade the test and lint toolchains to their current major releases. Migrate Vitest mock constructors and pool configuration so unit, snapshot, and smoke configurations load cleanly under Vitest 4, and align TypeScript imports and lint compatibility with ESLint 10.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@pkg-pr-new

pkg-pr-new Bot commented Jul 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/xcodebuildmcp@473

commit: a5648ff

Carry the remaining dependency refresh from the grouped Dependabot update into the migration PR so the vulnerable wireit dependency is upgraded alongside the Vitest and ESLint changes.

Co-Authored-By: OpenAI Codex <noreply@openai.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b3192a5. Configure here.

Comment thread vitest.config.ts Outdated
Comment thread package.json
Use the supported maxWorkers option in every Vitest configuration so the existing concurrency limits remain effective after the Vitest 4 migration.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@cameroncooke cameroncooke merged commit 3e42f4b into main Jul 12, 2026
45 checks passed
@cameroncooke cameroncooke deleted the chore/full-vitest-eslint-migrations branch July 12, 2026 19:22
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.

1 participant