Skip to content

feat: Fly.io cloud sync and machine lifecycle - #89

Draft
tedbrine wants to merge 2 commits into
masterfrom
fly-provider
Draft

feat: Fly.io cloud sync and machine lifecycle#89
tedbrine wants to merge 2 commits into
masterfrom
fly-provider

Conversation

@tedbrine

@tedbrine tedbrine commented Aug 24, 2026

Copy link
Copy Markdown
Member

closes #76

Adds Fly.io as a create-capable sync provider: import Machines via flyctl, then create, stop, start, clone, and destroy.

SSH stays OpenSSH. bast __fly-proxy runs fly proxy over flyctl WireGuard, and fly ssh issue writes a short-lived cert under ~/.ssh/bast/keys. Bast does not store a Fly API token.

  • Auto-connect when flyctl is installed and logged in
  • Hosts groups as Fly.io / <org> / <app>; empty groups stay hidden until a machine is visible (. shows stopped ones)
  • Create from the Sync tab into an existing app; region defaults to iad
  • flyctl is invoked non-interactively (no TTY, isolated cwd, metrics/update checks off) so sync does not fail with prompt: non interactive

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Import Fly Machines through flyctl, connect with OpenSSH via fly proxy and issued certs, and manage create, stop, start, clone, and destroy. Hosts hides empty provider groups until a machine is visible.
flyctl inherited the TUI stdin TTY, then failed with prompt: non
interactive (and a canceled metrics-token warning) during sync.
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bast-web Ready Ready Preview Aug 24, 2026 3:50pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

feat: fly

1 participant