Already-installed GitHub app leaves Sources waiting for a callback

オープン
#1,998 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@jasonkuhrt がすでに取り組んでいます。

2026年10月30日 から。

  • #2000 @jasonkuhrt による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
1.8k
フォーク
120
平均マージ
10時間 37分
マージ済み PR(30日)
708

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MapleTechLabs/maple のほかの issue

MapleTechLabs/maple の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。