Already-installed GitHub app leaves Sources waiting for a callback

未關閉
#1,998 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@jasonkuhrt 已經在處理了。

開始於 2026年10月30日。

  • #2000 來自 @jasonkuhrt —— 未關閉

評估

難度
5/5
預估耗時
一週以上
新手友好度
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 分鐘
30 天內合併 PR
708

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

MapleTechLabs/maple 的其他 Issue

查看 MapleTechLabs/maple 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。