Skip to content

Conversation

@nikhilwoodruff
Copy link
Contributor

Fixes the db-reset workflow that was failing with connection timeout.

Changes:

  • Use SUPABASE_POOLER_URL secret (port 6543) for IPv4 access from GitHub Actions
  • Changed env var to SUPABASE_DB_URL which is what settings.py expects
  • Added validation job that runs on PR to test connectivity
  • Added SUPABASE_SERVICE_KEY for storage operations

Required: Add SUPABASE_POOLER_URL secret in GitHub (get from Supabase > Settings > Database > Connection pooling, Session mode).

nikhilwoodruff and others added 3 commits December 30, 2025 13:36
The policyengine package provides parameter values with dates swapped
(start_date > end_date). This fix swaps them back so the current=true
filter works correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Changed DATABASE_URL to SUPABASE_DB_URL (what settings.py expects)
- Use SUPABASE_POOLER_URL secret (port 6543) instead of direct connection
- Added validation job on PR to test connectivity before merge
- Added SUPABASE_SERVICE_KEY for storage bucket operations
@nikhilwoodruff nikhilwoodruff merged commit a69ba37 into main Dec 30, 2025
3 checks passed
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.

2 participants