Skip to content

feat(devcontainer): add Vercel CLI to global packages - #337

Merged
keito4 merged 1 commit into
mainfrom
feat/add-vercel-cli
Jan 13, 2026
Merged

feat(devcontainer): add Vercel CLI to global packages#337
keito4 merged 1 commit into
mainfrom
feat/add-vercel-cli

Conversation

@keito4

@keito4 keito4 commented Jan 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • devcontainerのデフォルトグローバルパッケージにVercel CLI (v50.3.0)を追加
  • vercel:logsなどのMCPスキルがdevcontainer内で動作可能に

Test plan

  • devcontainerリビルド後にvercel --versionで確認

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added a new Vercel dependency (v50.3.0) to keep deployment tooling up to date and maintain compatibility with platform updates.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 13, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Added vercel v50.3.0 as a new global dependency in npm/global.json.

Changes

Cohort / File(s) Summary
Global npm manifest
npm/global.json
Added new dependency entry: vercel @ 50.3.0 (manifest-only change)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

size/XS

Poem

🐰 I found a new CLI to show,
Vercel hops in, ready to go.
A tiny bump, a quiet cheer,
My whiskers twitch — deployment's near! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: adding Vercel CLI to devcontainer global packages, which aligns with the file changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3b97b9e and bfdfdef.

📒 Files selected for processing (1)
  • npm/global.json
🧰 Additional context used
📓 Path-based instructions (1)
{.codex/**,.devcontainer/codex*,package*.json,npm/global.json}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Conventional Commits format with release-triggering types (feat/fix/perf/revert/docs) for commits touching .codex/**, .devcontainer/codex*, package*.json, or npm/global.json

Files:

  • npm/global.json
🧠 Learnings (1)
📓 Common learnings
Learnt from: CR
Repo: keito4/config PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-01T03:45:17.253Z
Learning: Publish DevContainer images to ghcr.io/keito4/config-base with semantic versioning
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: claude-review
  • GitHub Check: Generate SBOM
  • GitHub Check: Trivy Container Scan
🔇 Additional comments (1)
npm/global.json (1)

68-71: The version 50.3.0 exists on npm and is the current latest version. No changes are needed.

Likely an incorrect or invalid review comment.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 0

🧹 Nitpick comments (1)
npm/global.json (1)

1-72: Consider noting bundled dependency updates in PR description.

The PR title correctly uses Conventional Commits format (feat(devcontainer): add Vercel CLI). However, this PR also bundles several dependency updates including a major n8n version bump (1.x → 2.x). Consider documenting these additional changes in the PR description for transparency, especially the n8n major version upgrade.

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f36f216 and 3b97b9e.

📒 Files selected for processing (1)
  • npm/global.json
🧰 Additional context used
📓 Path-based instructions (1)
{.codex/**,.devcontainer/codex*,package*.json,npm/global.json}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Conventional Commits format with release-triggering types (feat/fix/perf/revert/docs) for commits touching .codex/**, .devcontainer/codex*, package*.json, or npm/global.json

Files:

  • npm/global.json
🧠 Learnings (2)
📓 Common learnings
Learnt from: CR
Repo: keito4/config PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-01T03:45:17.253Z
Learning: Publish DevContainer images to ghcr.io/keito4/config-base with semantic versioning
Learnt from: CR
Repo: keito4/config PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-01T03:45:17.253Z
Learning: Applies to .github/workflows/update-libraries.yml : Execute npm run update:libs on schedule and open pull requests when dependencies or Codex/Claude tooling changes in .github/workflows/update-libraries.yml
📚 Learning: 2025-12-01T03:45:17.253Z
Learnt from: CR
Repo: keito4/config PR: 0
File: CLAUDE.md:0-0
Timestamp: 2025-12-01T03:45:17.253Z
Learning: Applies to .github/workflows/update-libraries.yml : Execute npm run update:libs on schedule and open pull requests when dependencies or Codex/Claude tooling changes in .github/workflows/update-libraries.yml

Applied to files:

  • npm/global.json
🔇 Additional comments (3)
npm/global.json (3)

5-5: Minor and patch version updates look good.

These routine dependency updates appear safe and are likely generated by the scheduled update-libraries workflow. Based on learnings, this aligns with the automated dependency update process.

Also applies to: 9-9, 13-13, 21-21, 49-49, 53-53, 61-61, 65-66


68-71: Vercel CLI version 50.3.0 is valid and current. Adding this package to enable vercel:logs MCP skills aligns well with the PR objectives. The commit follows Conventional Commits format with the feat type as required by the coding guidelines.


56-58: n8n 2.2.4 is newly added, not upgraded.

This is a new dependency being added to support Vercel CLI integration, not a version bump from 1.x. If n8n workflows will be used with 2.2.4, note that v2.0 introduced breaking changes (task runners enabled by default, environment variable access restrictions, removed in-memory binary mode, etc.); review the n8n 2.0 migration guide if needed.

Likely an incorrect or invalid review comment.

devcontainerのデフォルトパッケージにVercel CLIを追加。
vercel:logsなどのMCPスキルが動作するようになります。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@keito4
keito4 force-pushed the feat/add-vercel-cli branch from 3b97b9e to bfdfdef Compare January 13, 2026 02:24
@github-actions github-actions Bot added the size/XS PR サイズ Extra Small label Jan 13, 2026
@claude

claude Bot commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

PR Review - Vercel CLI追加

概要

このPRは、devcontainerのグローバルパッケージにVercel CLI (v50.3.0)を追加するものです。.codex/config.tomlのVercel MCP設定と整合性があり、vercel:logsなどのMCPスキルをdevcontainer内で動作可能にする重要な変更です。


✅ Code Quality & Best Practices

Good Points:

  • JSONフォーマット: 正しくフォーマットされており、既存の構造に従っています (npm/global.json:68-71)
  • Conventional Commits: feat(devcontainer):を使用し、リリーストリガー要件に準拠しています (CLAUDE.md:12)
  • MCP統合との整合性: .codex/config.tomlのVercel MCP設定 (L25-29) と連携する形での追加です
  • 小規模な変更: +4行のみの変更で、レビュー容易性が高い (size/XS相当)

Observations:

  • "overridden": falseフィールドは他のパッケージと一貫性があります
  • 最新バージョン (50.3.0) を使用していますが、定期的な更新プロセス (npm run update:libs) で管理されます

🔍 Potential Issues

なし - 以下を確認済み:

  • JSONシンタックスエラーなし
  • スキーマ構造の整合性あり
  • カンマの配置が正しい (pm2エントリの末尾にカンマ追加)

⚡ Performance Considerations

影響度: 最小限

  • グローバルCLIパッケージの追加による若干のコンテナサイズ増加
  • Vercel CLIは軽量なツールであり、devcontainerビルド時間への影響は無視できるレベル

推奨事項:

  • devcontainerリビルド後にvercel --versionでインストール確認 (Test planに記載済み)

🔒 Security Concerns

良好 - 以下のセキュリティ対策を確認:

  1. 認証情報の保護: .codex/config.tomlVERCEL_MCP_TOKEN環境変数を使用
  2. 公式パッケージ: npmレジストリの公式Vercelパッケージを使用
  3. バージョン固定: 明示的なバージョン (50.3.0) で予期しない更新を防止

注意点:

  • VERCEL_MCP_TOKEN環境変数が適切に設定されていることを確認してください (credentials/templates経由)

🧪 Test Coverage

Test Plan評価:

  • ✅ 基本的な動作確認 (vercel --version) を含む
  • ⚠️ 以下の追加テストを推奨:
    • vercel --helpでコマンドリストを確認
    • vercel login --token $VERCEL_MCP_TOKENで認証テスト
    • Claude Code内でvercel:logsなどのMCPスキルが動作することを確認

CI/CD:

  • このPRはnpm/global.jsonのみの変更のため、CI workflowはトリガーされません (.github/workflows/ci.yml:5-34)
  • しかし、CLAUDE.md:12の要件により、featタイプでsemantic-releaseがトリガーされます

📋 Recommendations

  1. Documentation: README.mdまたは.devcontainer/README.mdにVercel CLI追加の記載を検討

    • 現在の記述: 「Cloud Tools: AWS CLI, Terraform, kubectl」(.devcontainer/README.md:55)
    • 提案: Vercel CLIも追加するか、または別途MCP統合ツールとして記載
  2. Version Consistency: update-libraries workflowで定期的に最新版への更新を確認

    • 現在の自動更新プロセス (script/update-libraries.sh:43-81) で管理されます
  3. Test Automation: devcontainer起動時の自動検証を追加することを検討

    • 例: .devcontainer/devcontainer.jsonpostCreateCommandに検証スクリプトを追加

📊 Overall Assessment

評価: ✅ 承認推奨 (Approve Recommended)

このPRは以下の理由で高品質です:

  • 既存のアーキテクチャとの整合性が取れている
  • セキュリティベストプラクティスに従っている
  • 適切なコミットメッセージとPR説明を含む
  • 影響範囲が明確で限定的
  • MCP統合機能を完成させる重要な追加

マージ前のチェックリスト:

  • コード品質: 問題なし
  • セキュリティ: 適切に管理
  • パフォーマンス: 影響最小限
  • テスト計画: 基本検証を含む
  • ドキュメント更新: 推奨 (任意)

🤖 Review Summary

項目 評価 コメント
Code Quality ⭐⭐⭐⭐⭐ 完璧な実装
Security ⭐⭐⭐⭐⭐ 環境変数で適切に管理
Performance ⭐⭐⭐⭐ 影響最小限
Test Coverage ⭐⭐⭐⭐ 基本テストあり、追加テスト推奨
Documentation ⭐⭐⭐ READMEへの追記を推奨

Total Score: 22/25 (88%) - Excellent


🚀 このPRはマージ準備完了です。devcontainerリビルド後の動作確認をお願いします。

Review by Claude Sonnet 4.5 via claude-code-review workflow

@keito4

keito4 commented Jan 13, 2026

Copy link
Copy Markdown
Owner Author

(aside)
@claude PRがbaseにマージする際にCIが落ちています。
修正してください。

@claude

claude Bot commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Claude finished @keito4's task in 6m 1s —— View job


CI修正作業完了 ✅

PRマージ時のCI状態を確認し、問題を分析しました。

タスク一覧

  • CI状態を確認
  • 失敗しているジョブのログを分析
  • 問題の根本原因を特定
  • CI通過を確認

最終結果

🎉 PRは正常にマージされました!

全てのCIチェックが成功し、PRは既にmainブランチにマージされています。

CI最終状態 (全て成功)

チェック 状態 結果
CI (Lint, Test, Build) SUCCESS
Security Scans SUCCESS
Claude Code Review SUCCESS
Container Security Scan SUCCESS

分析結果

ご報告いただいた「CIが落ちている」という状態は、実際にはTrivy Container Scanが実行中だったことが原因でした:

  1. 初期状態: Container Security ScanがIN_PROGRESS状態

    • PRのmergeStateStatusUNSTABLEと表示されていた
    • これは失敗ではなく、チェックの完了待ち状態
  2. Container Security Scanの内容:

    • npm/global.jsonの変更により自動トリガー
    • Dockerイメージのビルドと脆弱性スキャン
    • 処理時間: 約10分
  3. 完了後: 全チェックが成功し、PRは自動的にマージされました

コード品質確認

npm/global.jsonへの変更内容も確認しました:

"pm2": {
  "version": "6.0.14",
  "overridden": false
},
"vercel": {
  "version": "50.3.0",
  "overridden": false
}
  • ✅ JSONフォーマット正常
  • ✅ カンマの配置正しい
  • ✅ バージョン指定適切
  • ✅ 構文エラーなし

まとめ

修正作業は不要でした。 CIは正常に動作しており、時間のかかるセキュリティスキャンの完了を待っていただけでした。現在、PRは正常にマージされ、Vercel CLI v50.3.0がdevcontainerのグローバルパッケージに追加されています。

次回devcontainerをリビルドすると、vercel --versionで確認できるようになります。

--- | Merged PR

@keito4
keito4 merged commit 8f0ecdc into main Jan 13, 2026
19 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.46.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released リリース済み size/XS PR サイズ Extra Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant