Skip to content

Support self-hosted Svix URL in dashboard webhooks#5079

Draft
igorvolocRC wants to merge 1 commit into
daytonaio:mainfrom
igorvolocRC:support-self-hosted-svix-webhooks
Draft

Support self-hosted Svix URL in dashboard webhooks#5079
igorvolocRC wants to merge 1 commit into
daytonaio:mainfrom
igorvolocRC:support-self-hosted-svix-webhooks

Conversation

@igorvolocRC

@igorvolocRC igorvolocRC commented Jun 16, 2026

Copy link
Copy Markdown

Fixes #5078

Description

This fixes Daytona dashboard webhook management for self-hosted Svix deployments.

The API already supports SVIX_SERVER_URL for server-side Svix calls, but the dashboard did not pass a self-hosted Svix API URL to svix-react. In split-route deployments, browser-side webhook management could fall back to Svix Cloud instead of the configured self-hosted Svix instance.

This change adds optional SVIX_PUBLIC_SERVER_URL, defaulting to SVIX_SERVER_URL, exposes it as optional serverUrl in WebhookAppPortalAccess, and passes it to SvixReactProvider through options.serverUrl.

Generated API clients were regenerated for the public OpenAPI response schema change.

Documentation

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

Related Issue(s)

This PR addresses issue #5078.

Screenshots

Not applicable.

Notes

Validation completed locally:

  • yarn install && yarn generate:api-client using the Nexus npm registry
  • npx nx test api
  • npx nx build api
  • npx nx build dashboard
  • yarn lint:ts

Summary by cubic

Adds support for a browser-facing Svix API URL in the dashboard so self-hosted deployments use the intended endpoint instead of falling back to Svix Cloud. Addresses #5078.

  • New Features

    • Introduced SVIX_PUBLIC_SERVER_URL (defaults to SVIX_SERVER_URL) for browser access.
    • API now returns optional serverUrl in WebhookAppPortalAccess.
    • Dashboard passes serverUrl to svix-react via SvixReactProvider (options.serverUrl).
  • Migration

    • For self-hosted Svix, set SVIX_PUBLIC_SERVER_URL to the public/proxied URL used by browsers; no change needed if it matches SVIX_SERVER_URL.

Written for commit a8e5450. Summary will update on new commits.

Review in cubic

Fixes daytonaio#5078

Signed-off-by: Igor Voloc <Igor.Voloc@RingCentral.com>
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.

Dashboard webhooks use Svix Cloud for self-hosted Svix deployments

1 participant