Skip to content

feat: e2e pg_upgrade support for suspend and wake enabled projects#2173

Closed
pcnc wants to merge 1 commit into
developfrom
pcnc/e2e-pg_upgrade
Closed

feat: e2e pg_upgrade support for suspend and wake enabled projects#2173
pcnc wants to merge 1 commit into
developfrom
pcnc/e2e-pg_upgrade

Conversation

@pcnc
Copy link
Copy Markdown
Member

@pcnc pcnc commented May 27, 2026

Contributes to INFRA-2255

  • prepare.sh sources common.sh, writes a guard file listing services (adminapi, envoy) that supabase-state should leave alone, and stops supabase-state.service before unmounting /data
  • complete.sh guards postgresql before mount, runs setup_state (supabase-state setup --fix-perms --start-services) when the binary exists, and removes the guard at the end of a successful upgrade
  • common.sh adds guard_for_state, unguard_for_state, stop_service_if_exists (systemctl cat-based to avoid SIGPIPE under pipefail), and setup_state helpers

@pcnc pcnc closed this May 29, 2026
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