Repository navigation
Enable Copilot app handoff in production - #23185
Merged
Merged
Conversation
Remove the handoff feature flag and its conditional branches, and verify that the menu command is available without preview features. Co-authored-by: Copilot App <[email protected]>
tidy-dev
previously approved these changes
Nov 16, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for enabling the existing Copilot app handoff in production.
No open issues 🎉
What changed in this PR
Enables the existing GitHub Copilot app handoff in production by removing its feature flag, without changing app discovery or launch behavior.
Changes:
- Makes the Repository menu command and integration preferences available without feature gating.
- Preserves repository-selection checks, custom path validation, and launch error handling.
- Updates menu tests for production availability while retaining shortcut, editor coexistence, and access-key checks.
| File | Description |
|---|---|
app/test/unit/main-process/menu-test.ts |
Verifies production availability and preserves menu behavior checks. |
app/src/ui/preferences/preferences.tsx |
Removes gating from custom path validation and persistence. |
app/src/ui/preferences/integrations.tsx |
Always renders Copilot app preferences. |
app/src/ui/app.tsx |
Removes handoff gating while retaining the selected-repository check. |
app/src/main-process/menu/build-default-menu.ts |
Always includes the Copilot handoff command. |
app/src/lib/stores/app-store.ts |
Removes the feature-gated early return from handoff execution. |
app/src/lib/menu-update.ts |
Always includes handoff in menu-state management. |
app/src/lib/feature-flag.ts |
Removes enableCopilotAppHandoff. |
Review effort: Balanced
Keep upstream feature flag removals alongside unconditional Copilot app handoff. Co-authored-by: Copilot App <[email protected]>
babakks
approved these changes
Nov 17, 2026
elsycharles
pushed a commit
to elsycharles/desktop
that referenced
this pull request
Nov 20, 2026
Backport desktop#23185 onto the tested 3.6.12-beta2 release base for 3.7.0. No other development changes are included. Co-authored-by: Copilot App <[email protected]>
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.
No linked issue; enables the existing Copilot app handoff in production.
Description
Remove
enableCopilotAppHandoffand eliminate its conditional branches so the Repository menu command, handoff action, and integration preferences are always available. Keep repository-selection checks, app discovery, launch error handling, and custom app path validation unchanged. There are no replacement platform guards.Update menu tests to verify availability in production without preview features, preserve the existing editor command and handoff shortcut, and check for duplicate menu access keys.
Validation
Evidence covers commit
95aa60d20d41b1a31b0933a82b5d961bda162e1a; the working tree is clean.npm test -- app/test/unit/main-process/menu-test.ts app/test/unit/copilot-app-test.ts— passed, 26 tests.npm run lint:fix— passed.npm run lint— passed.npx --no-install tsc --noEmit— passed.npm test— 3,448 passed, 6 failed, 2 skipped. The failures are three local-remote push tests ingit/push-test.ts, bare-repository detection ingit/rev-parse-test.ts, and two timeout tests inshort-lived-token-rollout-test.ts.npm test -- app/test/unit/git/push-test.ts app/test/unit/git/rev-parse-test.ts app/test/unit/short-lived-token-rollout-test.ts— reproduced the same six failures both on this change and on an isolated archive of unchanged parent commit585b14b3cbad82dfc559d0e5725a71c0d669dd1d, using the same installed dependencies. These are baseline failures, not introduced by this change.Focused test transcript
Native UI interactions and an actual installed Copilot app launch were not manually exercised.
Screenshots
N/A: no visual redesign; this exposes the existing handoff UI in production. The focused test transcript above provides evidence for the availability change.
Team-authored review
Evidence: Validation and focused test transcript.
Review path: Lightweight review. The author has assessed the diff and evidence. This removes a rollout gate from an existing integration without changing process invocation, authentication, credentials, permissions, destructive operations, or release infrastructure. No specific concern requiring deep review was identified.
Release notes
Notes: Open repositories in the GitHub Copilot app from the Repository menu.