Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add github CI#371

Open
kongdd wants to merge 5 commits into
colbymchenry:main from
kongdd:CI
Open

add github CI #371
kongdd wants to merge 5 commits into
colbymchenry:main from
kongdd:CI

Conversation

@kongdd

@kongdd kongdd commented May 24, 2026
edited
Loading

Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings May 24, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates Node/Vitest/test infrastructure to avoid known Node 25 issues while enabling Node 26+, and stabilizes MCP-related integration tests/CI.

Changes:

  • Adjust Node version gating to block only Node 25 at runtime and allow Node 26+ via engines.
  • Add a Vitest forks execArgv workaround for a Node 22–25 V8 WASM crash.
  • Stabilize MCP server tests (disable relaunch; await child shutdown) and add a CI workflow matrix for Node 24/26 on Linux/macOS.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
vitest.config.ts Adds conditional worker execArgv to work around a Node/V8 WASM crash in affected majors.
src/bin/codegraph.ts Narrows runtime "unsafe Node" block to Node 25 only.
package.json Updates engines.node to permit Node 26+ while excluding Node 25.
tests/mcp-roots.test.ts Prevents server relaunch in tests; awaits child process shutdown in teardown.
tests/mcp-initialize.test.ts Prevents server relaunch in tests; awaits child process shutdown in teardown.
.github/workflows/CI.yml Introduces CI workflow running build+tests on Node 24 and 26 for Linux/macOS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread vitest.config.ts
include: ['__tests__/**/*.test.ts'],
poolOptions: {
forks: {
execArgv: NEEDS_LIFTOFF_ONLY ? ['--liftoff-only'] : [],
Comment on lines +88 to +93
afterEach(async () => {
if (child) {
if (!child.killed) child.kill('SIGKILL');
if (child.exitCode === null) {
await new Promise<void>(resolve => child!.once('close', resolve));
}
Comment on lines +103 to +108
afterEach(async () => {
if (child) {
if (!child.killed) child.kill('SIGKILL');
if (child.exitCode === null) {
await new Promise<void>(resolve => child!.once('close', resolve));
}
Comment thread .github/workflows/CI.yml
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest] # windows-latest
node-version: [24, 26]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /