Skip to content

Add cross-provider database query access - #18

Merged
davejohnson merged 1 commit into
mainfrom
agent/cross-provider-database-access
Jul 22, 2026
Merged

Add cross-provider database query access#18
davejohnson merged 1 commit into
mainfrom
agent/cross-provider-database-access

Conversation

@davejohnson

Copy link
Copy Markdown
Owner

Summary

  • route operation-scoped database access through the database-adapter boundary
  • keep Railway's temporary TCP proxy behavior while adding a local authenticated connector for Cloud SQL
  • add Amazon RDS support with a temporary caller IPv4 /32 security-group rule that is revoked after the query
  • use Supabase's existing reachable direct or pooled endpoint without creating temporary infrastructure
  • register RDS in desired state and add provider-specific credential and permission guidance

Impact

hv_db_query can now acquire and release the appropriate bounded access mechanism for Railway, Google Cloud SQL, Amazon RDS, and Supabase. Cleanup removes only access Hypervibe created, and concurrent calls continue to share a short-lived lease.

Private-only Cloud SQL and RDS instances still require an existing network path. The diagnostic call does not silently create a billable bastion, proxy, or durable network exposure.

Validation

  • npm test — 111 files, 946 tests passed
  • focused provider tests — 5 files, 51 tests passed
  • npm run typecheck
  • npm run build
  • git diff --check

Provider API calls are mocked in the automated tests; this change did not modify live database infrastructure.

@davejohnson
davejohnson marked this pull request as ready for review July 22, 2026 21:07
@davejohnson
davejohnson merged commit 929acbe into main Jul 22, 2026
@davejohnson
davejohnson deleted the agent/cross-provider-database-access branch July 23, 2026 23:51
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