Skip to content

Repeated stack eligibility warning when creating PRs #9099

Open

Description

@xtqqczze

Every time I create a pull request, I receive the following warning notification:

Unable to check pull request stack eligibility: Unable to find the selected base repository.

The warning appears during PR creation, even when the pull request is created successfully.

Extension version: 0.172.0

Activity

  1. seicke commented on Nov 28, 2026

    @seicke

    Still happens in 0.182.0. It shows up whenever the fork's name differs from the upstream repo's name, and the warning repeats every time the Create Pull Request view refreshes, which is on every Git change.

    Steps to reproduce:

    1. Fork owner/repo and rename the fork to me/owner-repo.
    2. Clone the fork: origin points to me/owner-repo, upstream to owner/repo.
    3. Create a branch and open the Create Pull Request view, base owner/repo:main.

    The log shows that the extension looks up the upstream owner combined with the fork's name, owner/owner-repo:

    [warning] [GitHubRepository+0.2] Repository owner/owner-repo from remote owner-repo in workspace folder … returned HTTP 404 and will be skipped for this session.
    [info] [FolderRepositoryManager+0] Repository owner/owner-repo is not accessible: HttpError: Not Found
    [error] [CreatePullRequestViewProvider] Failed to check stack eligibility: Unable to find the selected base repository.
    

    The Git config of the branch has the correct base, github-pr-base-branch = owner#repo#main. I see this with two forks of this kind; in one window the warning appeared 290 times in two days.

    This matches the cause described in #9149: CreatePullRequestDataModel has a single repositoryName, and the stack check uses it for the base repo too. I checked #9149 against the call sites on main; it covers the refresh path that triggers the warning here.

  2. xtqqczze commented on Nov 28, 2026

    @xtqqczze
    Author

    Can confirm my fork's name differs from the upstream repo's name.

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions