internal/bridges: add tailnet bridge support#20
Merged
Merged
Conversation
Show a diagnostic menu when preflight or endpoint activation fails, detecting Tailscale status to provide actionable guidance. Refactor manager_test.go and tailscale_test.go to table-driven subtests.
Signed-off-by: Remy Guercio <remy@tailscale.com>
Support Copilot CLI's BYOK mode to route through the Aperture gateway. Three backends: OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages, configured entirely via the COPILOT_PROVIDER_* env vars with COPILOT_OFFLINE=true to bypass GitHub auth.
Validate the bridge ID fits the pattern: bridge-{hash} before joining
the tailnet. This creates consistent hostnames like:
aperture-cli-bridge-{hash}
wedow
approved these changes
May 19, 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.
Add using tsnet.Server as a local http proxy to an Aperture instance on the tailnet. This enables using Aperture without tailscaled installed and running on the host machine.