Skip to content

feat(connections): test a stored connection's reachability#466

Open
seonghobae wants to merge 1 commit into
mainfrom
feat/conn-test-on-main
Open

feat(connections): test a stored connection's reachability#466
seonghobae wants to merge 1 commit into
mainfrom
feat/conn-test-on-main

Conversation

@seonghobae

Copy link
Copy Markdown
Collaborator

Independent PR against main (split out of #440). POST /api/connections/{uuid}/test probes a stored DSN (SSRF-guarded, pinned IP), returns ConnectionTestOut{ok, server_version, error}, DSN-redacted, unreachable = ok=false. IDOR-safe. Plus extra dsn-guard/sanitize coverage. backend +47 tests; mypy clean.

🤖 Generated with Claude Code

Split out of the adhesive-piper foundation as an independent PR against main. POST /api/connections/{uuid}/test decrypts the DSN in memory and probes it (SSRF-guarded probe_postgres/probe_snowflake reusing the introspectors' pinned-IP connection); ConnectionTestOut{ok, server_version, error}, DSN-redacted, unreachable = ok=false (200). IDOR-safe. Includes extra dsn_guard/sanitize coverage. +47 tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AxU2xaupAjp912oDNFuWyd
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