Skip to content

test(lint): run oxlint without the Windows shell - #1944

Open
soyorin33 wants to merge 1 commit into
Tencent:mainfrom
soyorin33:fix/lint-harness-windows-shell
Open

soyorin33 wants to merge 1 commit into
Tencent:mainfrom
soyorin33:fix/lint-harness-windows-shell

Conversation

@soyorin33

Copy link
Copy Markdown

The package-boundaries test's roughly 9,941-character command exceeds the Windows shell limit. The shell prints “The command line is too long”, oxlint never runs, and JSON parsing fails with 80 cases skipped. Run oxlint's installed JS entry point directly with Node and an argument array in both helpers. This also preserves paths containing spaces.

Test plan

Native Windows, Node 22.19.0, baseline df433c6. The existing package-boundaries suite went from 80 skipped to 80 passed. With a temporary path containing spaces all 8 test-seams cases also ran and passed. For the full lint-plugin tests, the baseline had 1,078 passed, 119 failed and 80 skipped. This branch has 1,158 passed and the same 119 failed cases. Typecheck, changed-file lint and diff checks passed. Full lint still reports the existing 26 family-facts diagnostics (#1927).

Contributor test tooling only. Prepared with Codex assistance.

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