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
平均合并
12 小时 14 分钟
30 天内合并 PR
760

环境准备

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

从这里开始

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

MapleTechLabs/maple 的其他 Issue

查看 MapleTechLabs/maple 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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