feat: mcp to CLI#33
Conversation
pnpm 11 ignores package-level override configuration and rejects the frozen install when it differs from the lockfile. It also blocks esbuild's required install script unless explicitly approved. Move overrides and the esbuild allowlist into pnpm-workspace.yaml, align React declarations with the React 18 runtime and linked clicky-ui package, and add the Node declarations required by the Vite config.
WalkthroughChangesThe PR adds an authenticated streamable MCP fixture with an MCP CLI end-to-end testing
Suggested reviewers: 🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8).github/workflows/test.ymlTraceback (most recent call last): Taskfile.yamlTraceback (most recent call last): go.modTraceback (most recent call last):
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/test.yml:
- Line 36: Update the actions/checkout@v4 step to set persist-credentials to
false, ensuring the build and test job does not retain GITHUB_TOKEN credentials
in the repository configuration.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f790678b-7dbc-4221-bf8b-01d438a891ce
⛔ Files ignored due to path filters (2)
go.sumis excluded by!**/*.sumpkg/cli/webapp/pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (7)
.github/workflows/test.ymlTaskfile.yamlgo.modpkg/cli/webapp/package.jsonpkg/cli/webapp/pnpm-workspace.yamltests/e2e/mcp2cli/fixture/main.gotests/e2e/mcp2cli/mcp2cli_test.go
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
| steps: | ||
| - uses: actions/checkout@v4 |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
Set persist-credentials: false on checkout. The actions/checkout step leaves the GITHUB_TOKEN in .git/config for the job's lifetime. Since this job only builds and tests, it does not need persisted credentials; disabling them is a low-cost hardening.
🔒️ Proposed hardening
- uses: actions/checkout@v4
+ with:
+ persist-credentials: false
- uses: actions/setup-go@v5📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false |
🧰 Tools
🪛 zizmor (1.26.1)
[warning] 36-36: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/test.yml at line 36, Update the actions/checkout@v4 step
to set persist-credentials to false, ensuring the build and test job does not
retain GITHUB_TOKEN credentials in the repository configuration.
Source: Linters/SAST tools
resolves: #17
Summary by CodeRabbit
Tests
Chores