Skip to content

feat(social): social-connections read client for the gatekeeper broker#15

Merged
coopbri merged 1 commit into
masterfrom
feat/social-connections-client
Jul 18, 2026
Merged

feat(social): social-connections read client for the gatekeeper broker#15
coopbri merged 1 commit into
masterfrom
feat/social-connections-client

Conversation

@coopbri

@coopbri coopbri commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Description

Task link: internal plan omni/plans/2026-07-18-social-connector-phase-a-implementation.md

Adds createSocialProvider, a thin fail-open client that reads a user's connected social handles from the gatekeeper broker's token-free GET /social/connections/read endpoint with a service-key bearer. Mirrors the existing gatekeeper apiKey provider.

  • On any network error, non-2xx, or timeout it degrades to an empty result rather than throwing, so consumers render "no connections" instead of failing.
  • getConnections(userId) and getConnection(userId, platform); exported via the ./social subpath.

Consumes the contract from the gatekeeper feat/social-connections-read PR (merge that first). Second step of the Phase A social-connector build-out; blink-api will pin this and expose a socialConnections GraphQL field.

Test Steps

  • bun test src/social (10 pass)
  • bunx tsc --noEmit clean; knip clean; biome clean
  • bun run build emits build/social/

🤖 Generated with Claude Code

…roker

Add createSocialProvider, a thin fail-open client that reads a user's
connected social handles from the gatekeeper broker's token-free read
endpoint (GET /social/connections/read) with a service-key bearer. Mirrors
the existing gatekeeper apiKey provider. On any network error, non-2xx, or
timeout it degrades to an empty result rather than throwing, so consumers
render no connections instead of failing.
@coopbri
coopbri merged commit 6757411 into master Jul 18, 2026
4 checks passed
@coopbri
coopbri deleted the feat/social-connections-client branch July 18, 2026 21:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant