Skip to content

Move min supported GHE version and allow projects - #9257

Merged
Alex Ross (alexr00) merged 1 commit into
mainfrom
alexr00/definite-hippopotamus
Dec 3, 2026
Merged

Alex Ross (alexr00) merged 1 commit into
mainfrom
alexr00/definite-hippopotamus

Conversation

@alexr00

Copy link
Copy Markdown
Member

Fixes #8253

Copilot AI balanced review requested due to automatic review settings December 3, 2026 16:32
@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) December 3, 2026 16:32
@alexr00 Alex Ross (alexr00) self-assigned this Dec 3, 2026

Copilot AI 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.

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
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

Comment thread src/github/githubRepository.ts Resolved
Comment thread src/github/githubRepository.ts Resolved
Comment thread src/test/github/authIssuers.test.ts Resolved
Comment thread src/github/createPRViewProvider.ts Resolved
Comment thread src/github/quickPicks.ts Resolved
@alexr00
Alex Ross (alexr00) merged commit 9560957 into main Dec 3, 2026
5 of 6 checks passed
@alexr00
Alex Ross (alexr00) deleted the alexr00/definite-hippopotamus branch December 3, 2026 16:53
Copilot stopped reviewing on behalf of Alex Ross (alexr00) due to an error December 3, 2026 16:53
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.

Github project selection not available for github entreprise

4 participants