-
Notifications
You must be signed in to change notification settings - Fork 134
MCP Inspector test stability #923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the stability of MCP Inspector tests by improving diagnostic capabilities when tests fail. The changes add npm logging infrastructure to capture detailed information about npm operations during test failures.
- Adds npm log directory configuration with verbose logging for Node.js-related tests
- Implements artifact upload for npm logs when test workflows fail
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/tests.yaml |
Adds artifact upload step to capture npm logs on test failure |
.github/actions/setup-runtimes-caching/action.yml |
Configures npm with verbose logging and dedicated log directory for Node.js tests |
| run: | | ||
| mkdir -p ./.npm-logs | ||
| npm config set loglevel verbose | ||
| npm config set prefix './.npm-logs' |
Copilot
AI
Oct 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting npm prefix to ./.npm-logs changes the global package installation directory, which can break npm operations. This should be npm config set cache './.npm-logs' instead to set the cache directory where logs are stored.
| npm config set prefix './.npm-logs' | |
| npm config set cache './.npm-logs' |
Minimum allowed line rate is |
No description provided.