Skip to content

GEN-2846 store and validate one Fly account connection per user - #362

Merged
exe-dev-github-integration[bot] merged 2 commits into
mainfrom
codex/gen-2846-fly-connection
Nov 11, 2026
Merged

exe-dev-github-integration[bot] merged 2 commits into
mainfrom
codex/gen-2846-fly-connection

Conversation

@asselstine

@asselstine asselstine commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add one tenant-owned Fly organization connection with server-key-encrypted provisioning credentials.
  • Add owner-session-only API operations to validate, save, read safe metadata, and remove the connection. Validation uses Fly's documented read-only current-token endpoint and launches no resources.
  • Document the required org-scoped deploy token permissions and generated API contract; add PostgreSQL/API and sanitized fake-provider tests.
  • Stabilize prerequisite Fly Machines timeout tests with explicit local-server synchronization and tune bounded validation lanes for the VM suite.

Validation

  • Focused command: DATABASE_URL=postgresql://postgres:local-validation-only@localhost:5432/factorize_validation AUTH_TEST_DATABASE_URL=postgresql://postgres:local-validation-only@localhost:5432/factorize_validation QUEUE_TEST_DATABASE_URL=postgresql://postgres:local-validation-only@localhost:5432/factorize_validation npm exec --yes --package=node@24.12.0 -- npm test --workspace=factorize -- test/fly-machines-client.test.ts test/fly-account-connection.postgres.test.ts — 13 passed.
  • npm run generate, npm run check:boundaries, OpenAPI checks, and TypeScript checks passed.
  • Required /usr/bin/time -p timeout --signal=TERM --kill-after=5s 590s npm test on Node 24.12.0: passed in 420.77 seconds. Backend/static-slice, browser, and proxy lanes passed; app browser unit tests reported 89 passed and 1 existing optional stress test skipped.

Ready for review; remote PR checks are handed to the GitHub Build Manager.

@linear

linear Bot commented Nov 11, 2026

Copy link
Copy Markdown

GEN-2846

@exe-dev-github-integration
exe-dev-github-integration Bot marked this pull request as ready for review November 11, 2026 05:34
@asselstine
asselstine force-pushed the codex/gen-2846-fly-connection branch from 4626eea to 46baeee Compare November 11, 2026 05:54
@exe-dev-github-integration
exe-dev-github-integration Bot merged commit 56c56f9 into main Nov 11, 2026
2 checks passed
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.

1 participant