Skip to content

test(e2e): give the convergence and plugin-edit runs the time they take - #230

Merged
sergioazoc merged 1 commit into
mainfrom
test/e2e-timeouts
Oct 9, 2026
Merged

sergioazoc merged 1 commit into
mainfrom
test/e2e-timeouts

Conversation

@sergioazoc

Copy link
Copy Markdown
Owner

Summary

Inside a loaded full suite (the Stop hook's run, load average around 20), two e2e tests ran out of vitest's default 60 s, while alone they take a few seconds. Both failures were timeouts, not wrong results:

  • logical-shorthand-convergence: an allOrders() is 15 oxlint --fix runs in a row, and a test makes up to three (about 5 s alone). Each test now gets 180 s.
  • cache-dir › editing a local @plugin: two cold precomputes, each of which its own run already allows 120 s. The test now gets 240 s, the sum.

oxlint-lsp's tests already have the same kind of per-test budget. Nothing else changes.

Test plan

  • Both files alone: 7/7.
  • Lint, format:check, typecheck.

🤖 Generated with Claude Code

https://claude.ai/code/session_019vTh6S5A41M1HLkmk3FaM1

Inside a loaded full suite (the Stop hook's run, load average around 20),
two e2e tests ran out of vitest's default 60 s, while alone they take a few
seconds:

- logical-shorthand-convergence: an allOrders() is 15 `oxlint --fix` runs in
  a row and a test makes up to three. They now get 180 s each.
- cache-dir's plugin edit: two cold precomputes, each of which its own `run`
  already allows 120 s. The test now gets 240 s, the sum.

The same per-test budget oxlint-lsp's tests already have; nothing else
changes.

Claude-Session: https://claude.ai/code/session_019vTh6S5A41M1HLkmk3FaM1
@sergioazoc
sergioazoc merged commit 4738858 into main Oct 9, 2026
12 checks passed
@sergioazoc
sergioazoc deleted the test/e2e-timeouts branch October 9, 2026 21:20
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