Cloud sessions blocked: command-code-ai GitHub App is private (422 GITHUB_APP_NOT_INSTALLED)

未关闭
#1,112 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github
领域
cloud

调研方向

Start by checking the GitHub App configuration for command-code-ai and the code path that handles 422 GITHUB_APP_NOT_INSTALLED for cmdc --cloud; the issue does not name repository files or tests. Confirm the intended installation path and make sure the app can be installed by users outside its owner. Done when a regular user can install the app for a repository and start a cloud session.

由索引模型根据 Issue 内容生成。

描述

Summary

Cloud sessions cannot start because the command-code-ai GitHub App is configured as private, so it cannot be installed by anyone outside the app's owner. cmdc --cloud fails with 422 GITHUB_APP_NOT_INSTALLED, and the install URL shows no Install button.

Related report: #1105 (same root cause, opened 2026-11-03).

Environment

  • Command Code: 1.88.2
  • OS: Windows 11, PowerShell 5.1
  • Repo: vincentsch/explainroo (has origin remote, push access confirmed)

Steps to reproduce

  1. From a clone of a GitHub repo, run:
    cmdc --cloud "Reply with the current git branch and the last commit subject. Do not modify any files."
    
  2. Observe the output and open the install URL it prints in a signed-in browser.

Actual behavior

Warning: local changes are not included (the cloud session works from the repo on GitHub).
422 Command Code GitHub App is not installed on vincentsch/explainroo. Install it at
https://github.com/apps/command-code-ai/installations/new

Opening https://github.com/apps/command-code-ai/installations/new while signed in to GitHub shows:

command-code-ai is a private GitHub App.

The page only offers "Learn more about GitHub Apps". There is no "Install" button, so the suggested fix in the error message cannot be completed.

cmdc cloud list works and reports "No cloud sessions yet.", so CLI auth itself is fine.

Expected behavior

The app installation page offers an Install button so the app can be granted access to the repository, and cmdc --cloud starts a session.

Additional context

Per GitHub's documentation, a private GitHub App can only be installed by the account that owns it. Making the app public (or providing the intended installation path) would unblock cloud sessions for all users. cmdc update is not a workaround; 1.88.2 is current and the blocker is the app's visibility on GitHub, not the CLI.

主要语言
没有语言数据
星标
4.2k
派生
377
平均合并
1 天 3 小时
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 Cloud Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。