Skip to content

feat(hub): recover after GitHub App transfers - #62

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/hub-app-transfer-recovery
Open

Copilot wants to merge 3 commits into
mainfrom
copilot/hub-app-transfer-recovery

Conversation

Copilot AI commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Why

Hub operators currently need console edits after transferring their GitHub App to another account. Hub should update the owner itself and restore repository access once the new owner reinstalls the same App. Fixes #61.

What changes

Hub stores the installation account separately from the App owner. Its existing scheduled checks and installation notifications confirm the current owner through GitHub, recognize a replacement installation, and ignore outdated work for the previous installation. This also recovers transfers completed before upgrading Hub. The administration page explains when reinstallation is needed, and the setup guide describes the recovery flow.

Repository access pauses while the App is uninstalled. Existing Builds, reviews, users, browser Sessions, and canvas grants remain, but repository access still requires a verified installation in the current App owner's account. No audit-log permission or cross-account installation support is added.

The deployed staging transfer and reinstall have not been verified. Full frontend runs failed in different unchanged notification, administrator, and canvas tests; their focused reruns passed, but full-suite stability remains unverified.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI max review requested due to automatic review settings October 21, 2026 20:24
Copilot AI requested review from a team and nshki as code owners October 21, 2026 20:24

This comment was marked as duplicate.

Copilot AI added 2 commits October 21, 2026 20:29
Keep transfer recovery and critical failure coverage while removing duplicate scenarios, unlikely response variations, and internal-step assertions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Check repository availability instead of counting GitHub requests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@nshki nshki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed in a separate staging environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(hub): recover after GitHub App ownership transfers

4 participants