Skip to content

test(vscode): raise lint E2E mocha default timeout - #102

Merged
fi3ework merged 1 commit into
mainfrom
fix/lint-e2e-mocha-timeout
Oct 14, 2026
Merged

fi3ework merged 1 commit into
mainfrom
fix/lint-e2e-mocha-timeout

Conversation

@fi3ework

Copy link
Copy Markdown
Member

Summary

The lint E2E runner (packages/vscode/e2e/lint/runSuite.ts) created Mocha without a timeout, so every hook and test that does not call this.timeout() ran under Mocha's 2000ms default. On Windows CI the workspace document router suite's suiteSetup (create a directory, write a file, open it) exceeded that, and its suiteTeardown then failed on the never-assigned document.

This sets the runner's default timeout to 120s, matching the Rstest runners (e2e/runSuite.ts, e2e/rstest/suite/index.ts). Tests with an explicit this.timeout() keep their own values. The ported test file is unchanged; the harness divergence is recorded in the runner's adaptation list and in packages/vscode/AGENTS.md as an offer-back item.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

The lint E2E runner used Mocha's 2000ms default, so hooks doing real
workspace I/O without their own this.timeout() could time out on
Windows CI runners (the workspace document router suiteSetup). Use the
same 120s default the Rstest runners use.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T09:52:23.441109Z bf815fc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@fi3ework
fi3ework merged commit 392b70b into main Oct 14, 2026
3 checks passed
@fi3ework
fi3ework deleted the fix/lint-e2e-mocha-timeout branch October 14, 2026 10:00
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