Skip to content

[Bug]: Pull Requests page ignores trackedFolders when the project root isn't a git repository #42802

Not planned

Description

@Ferranicu

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Create a folder that is not a git repository containing one or more git checkouts of GitHub repositories with open pull requests.
  2. Add that parent folder as a project in T3 Code so the child repositories are discovered as trackedFolders.
  3. Configure GitHub authentication (including SAML SSO authorization if required by the organization).
  4. Open the Pull Requests page in T3 Code.

Expected behavior

Pull requests from the project's trackedFolders repositories are listed on the Pull Requests page.

Actual behavior

None of the pull requests from the trackedFolders repositories appear on the Pull Requests page. If no other project has a top-level GitHub repositoryIdentity with open PRs, the Pull Requests page appears completely empty even though individual PR detail/stack calls succeed.

In PullRequestService.readWorkspaceProjects (called by PullRequestService.listUncached for ws.rpc.pullRequests.list), each project only resolves project.repositoryIdentity from project.workspaceRoot, skipping any project whose root isn't a git repo without inspecting project.trackedFolders.

(Note: open PR #41957 for #40397 also updates PullRequestService.readWorkspaceProjects to resolve trackedFolders when the root has no repositoryIdentity; related issues: #40397, #40350, #39559.)

Impact

Major degradation or frequent failure

Version or commit

0.1.12-nightly.20261125.5230

Environment

Windows 11 (x64), T3 Code Nightly Desktop (0.1.12-nightly.20261125.5230) against local server

Logs or stack traces

Trace a25b1e95c883ff8c683fec0d5ddb9e9b (ws.rpc.pullRequests.list):
- ProjectService.listShells -> Success (returns multi-repo project with repositoryIdentity: null and 21 trackedFolders, plus 1 single-repo project)
- PullRequestService.resolveRemoteHost -> runs only once (for the single-repo project); none of the 21 trackedFolders are resolved or queried
- GitHubGraphQlAuth.execute (searchPullRequests / listPullRequests) -> 200 OK (0 PRs)

Workaround

Add each individual tracked repository folder as its own top-level project in T3 Code so it has a non-null repositoryIdentity.

Activity

  1. Ferranicu commented on Nov 25, 2026

    @Ferranicu
    Author

    Closing in favor of #41957, which already updates PullRequestService.readWorkspaceProjects to resolve trackedFolders when the project root isn't a git repository.

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

Metadata

Metadata

Assignees

No one assigned

    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