Skip to content

Sync upstream: Add deployment documentation for setup patterns#96

Merged
brunoborges merged 2 commits intomainfrom
copilot/sync-upstream-changes-one-more-time
Feb 9, 2026
Merged

Sync upstream: Add deployment documentation for setup patterns#96
brunoborges merged 2 commits intomainfrom
copilot/sync-upstream-changes-one-more-time

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Upstream commit b904431 added 7 SDK-agnostic setup guides covering local CLI, GitHub OAuth, backend services, bundled CLI, BYOK, and scaling patterns.

Changes

  • New documentation: src/site/markdown/setup.md - organizes existing CopilotClientOptions capabilities by deployment scenario
  • Navigation: Added "Setup & Deployment" to site menu
  • Tracking: Updated .lastmerge to b904431d1917e2b86f76fcde79a563921d8ef28c

Approach

The Java SDK already supports all upstream patterns through configuration:

// Local CLI (default)
new CopilotClient()

// GitHub OAuth (multi-user)
new CopilotClient(new CopilotClientOptions()
    .setGithubToken(userAccessToken)
    .setUseLoggedInUser(false))

// Backend services (external server)
new CopilotClient(new CopilotClientOptions()
    .setCliUrl("localhost:4321"))

// Bundled CLI (custom location)
new CopilotClient(new CopilotClientOptions()
    .setCliPath("./bundled/copilot"))

Rather than translating comprehensive upstream guides, the new documentation provides use-case-driven guidance with Java-specific deployment patterns, resource management strategies, and production best practices.

Original prompt

This section details on the original issue you should resolve

<issue_title>Upstream sync: 1 new commits (2026-02-09)</issue_title>
<issue_description>## Automated Upstream Sync

There are 1 new commits in the official Copilot SDK since the last merge.

Recent upstream commits

b904431 Add setup guides for GitHub OAuth and local CLI usage (#415)

Instructions

Follow the agentic-merge-upstream prompt to port these changes to the Java SDK.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Add new setup.md covering deployment patterns:
  * Local CLI (personal development)
  * GitHub OAuth (multi-user apps)
  * Backend Services (server deployments)
  * Bundled CLI (distributable apps)
  * Scaling & Multi-Tenancy patterns

- Update site.xml navigation to include Setup & Deployment

- Update .lastmerge to b904431d1917e2b86f76fcde79a563921d8ef28c

The upstream added comprehensive SDK-agnostic setup guides.
Rather than duplicating those with Java examples, this change
creates a Java-focused deployment guide that leverages the SDK's
existing capabilities (githubToken, cliUrl, cliPath options) which
already support all the upstream patterns.

Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Java SDK with latest upstream commits Sync upstream: Add deployment documentation for setup patterns Feb 9, 2026
@brunoborges brunoborges marked this pull request as ready for review February 9, 2026 19:47
@brunoborges brunoborges merged commit a652202 into main Feb 9, 2026
1 of 2 checks passed
@brunoborges brunoborges deleted the copilot/sync-upstream-changes-one-more-time branch February 16, 2026 15:43
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.

Upstream sync: 1 new commits (2026-02-09)

2 participants