[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

fix: configure TINYBIRD_URL for audit logs in workflows and server (#2465) master

* fix: configure TINYBIRD_URL for workflows audit logs Workflows was using Tinybird client without specifying baseUrl, causing it to default to production Tinybird API instead of using the configured TINYBIRD_URL (e.g., tinybird-local for development). This caused 'Unable to ingest to audit_log__v0: Unauthorized' errors because the local token was being sent to production Tinybird. Changes: - Added TINYBIRD_URL to env.ts schema (defaults to production API) - Updated audit-log.ts to pass baseUrl to Tinybird constructor This fixes notifications for private-location monitors by enabling audit log ingestion, which is required for status updates to succeed. * ci: apply automated fixes * fix: configure TINYBIRD_URL for server audit logs Server had the same issue as workflows - using Tinybird client without specifying baseUrl, causing it to default to production Tinybird API instead of using the configured TINYBIRD_URL. Changes: - Added TINYBIRD_URL to env.ts schema (defaults to production API) - Updated audit-log.ts to pass baseUrl to Tinybird constructor This ensures server connects to the correct Tinybird instance (e.g., tinybird-local for development). * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


Author Max Co-author autofix-ci[bot] Committer GitHub Date Commit 1df0805d Parent eaf7e11d
+10 -2
4 changed files