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

Ouverte
#1,112 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
github
Domaine
cloud

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Aucune donnée de langage
Étoiles
4.2k
Forks
377
Merge moyen
1 j 3 h
PR mergées (30 j)
6

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CommandCodeAI/command-code

Toutes les issues de CommandCodeAI/command-code

Issues similaires

Plus d'issues Cloud

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.