Already-installed GitHub app leaves Sources waiting for a callback

Chiusa
#1,998 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jasonkuhrt ci sta già lavorando.

Dal 30/10/2026.

  • #2000 di @jasonkuhrt — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github, typescript

Direzione di ricerca

Start by reviewing linked pull request #2000, then trace GithubConnectService.startConnect and the installation.created flow into VcsSyncService. The issue identifies the missing capability as an authenticated way to discover and connect an existing installation; done means the intended Maple organization can connect it without weakening ownership checks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Written by an AI agent (Codex) on behalf of @jasonkuhrt.

When the Maple GitHub App is installed directly through GitHub, its repositories show as installed on GitHub, but Maple's GitHub source setup cannot finish connecting them. Starting Install on GitHub from Maple opens the existing installation's Configure page, while Maple stays on Waiting for GitHub to send you back….

Reproduction
  1. Install the Maple GitHub App on a GitHub account without starting from Maple's Sources flow.
  2. In the intended Maple organization, open Sources → Connect source → GitHub.
  3. Click Install on GitHub and choose the account where the app is already installed.
  4. GitHub shows the installed repository configuration. Maple never receives the authorization return needed to create the source.

Expected: authorize the GitHub account and select its existing installation for the current Maple organization, preserving repository access without reinstalling.

Observed: GitHub reports the repository installed; Maple reports no GitHub connection and receives no CI runs for it.

Cause

Checked on 35e3b34ff9b218bf038664d186c1fcca8e7e9867:

  • GithubConnectService.startConnect only creates an app-install URL, with Maple's user/org-bound state.
  • A direct GitHub install has no such state; the callback rejects it rather than guessing a Maple tenant.
  • installation.created queues a sync, but VcsSyncService drops unknown installations because there is no Maple ownership row.

The ownership checks are necessary. The missing piece is an authenticated way to discover and connect an existing installation.

Lingua principale
TypeScript
Stelle
1.8k
Fork
120
Merge medio
12h 14m
PR unite (30g)
760

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MapleTechLabs/maple

Tutte le issue di MapleTechLabs/maple

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.