Repository navigation
Move min supported GHE version and allow projects - #9257
Merged
Merged
Conversation
Dmitriy Vasyura (dmitrivMS)
approved these changes
Dec 3, 2026
Contributor
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
5 open issues
extraSchema.defaultis typically aDocumentNode(the whole file), not an object containing… · NewextraSchema.defaultis typically aDocumentNode(the whole file), not an object containing… · Newapollo-boostcommonly only exportsgql(and does not consistently exportDocumentNodeor… · New This truthiness check prevents clearing projects: if the user accepts with zero selections,… · NewselectedItemsis populated fromcurrentProjectsbut never applied to the picker (e.g.… · New
What changed in this PR
Updates Enterprise support by enforcing a newer minimum GHES version and enabling Projects UX/behavior across Enterprise scenarios.
Changes:
- Enable and test Projects display/editing for Enterprise issues/PRs in the webview sidebar.
- Add Enterprise version detection + user warnings for unsupported GHES (< 3.15), including a metadata fallback path.
- Update GraphQL/query plumbing to conditionally include projectItems and handle project pickers more robustly during cancellation/loading.
| File | Description |
|---|---|
| webviews/editorWebview/test/overview.test.tsx | Adds webview tests covering Projects on Enterprise issues/PRs and additional-permissions flow. |
| webviews/components/sidebar.tsx | Always renders the Projects section (incl. Enterprise) and prevents double-triggering header clicks. |
| src/test/github/issueOverview.test.ts | Adds tests for Projects picker behavior (scopes upgrade, cancel flows, loading failures). |
| src/test/github/folderRepositoryManager.test.ts | Adds tests for org-project loading after scopes upgrade and cancel behavior. |
| src/test/github/createPRViewProvider.test.ts | Adds tests for create-PR Projects picker accept/cancel flows. |
| src/test/github/authIssuers.test.ts | Adds tests for GHES version warnings and Enterprise project access after scope upgrades. |
| src/github/quickPicks.ts | Refactors Projects quick pick to return selected projects and handle close/loading races. |
| src/github/queriesLimited.gql | Adds optional includeProjects variable + projectItems fields to limited schema queries/mutations. |
| src/github/issueOverview.ts | Implements additional-scopes upgrade flow + robust reply/error handling for project changes. |
| src/github/githubRepository.ts | Injects includeProjects variable automatically and extends limited schema with project operations when scoped. |
| src/github/folderRepositoryManager.ts | Defers org-project loading until permissions are available, even if granted mid-flight. |
| src/github/credentials.ts | Warns once per Enterprise server for unsupported GHES versions; adds metadata fallback when header absent. |
| src/github/createPRViewProvider.ts | Updates create-PR Projects selection flow to use new quick pick return type + error handling. |
| README.md | Documents minimum supported GHES version (3.15+). |
Review effort: Lite
Henning Dieterichs (hediet)
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes #8253