• 
      

    Rewrite reassigned GitHub repositories onto the app plan.

    Review Request #15397 — Created Oct. 13, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    When the install wizard moves Personal Access Token repositories onto a
    GitHub App installation account, the repositories now also switch to the
    'app' repository plan. The old plan-specific fields are removed and
    replaced with the app repository name and the canonical owner/name keys,
    using the installation's username as the owner.

    Ran unit tests.

    Summary ID
    Rewrite reassigned GitHub repositories onto the app plan.
    When the install wizard moves Personal Access Token repositories onto a GitHub App installation account, the repositories now also switch to the 'app' repository plan. The old plan-specific fields are removed and replaced with the app repository name and the canonical owner/name keys, using the installation's username as the owner. Testing Done: Ran unit tests.
    ovwkyomkryonqnrpzyvxltzyrrznntnq
    Description From Last Updated

    We should be explicit about what keys we want to delete instead of just any key that starts with github_, …

    maubin maubin
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.
    maubin
    1. 
        
    2. reviewboard/hostingsvcs/github/views.py (Diff revision 1)
       
       
       
      Show all issues

      We should be explicit about what keys we want to delete instead of just any key that starts with github_, so we don't delete something that an extension or our future selves have set by accident.

    3.