Skip to content

fix(controller): gate project readiness on workloads - #21

Merged
birdmanmandbir merged 2 commits into
mainfrom
supabaseproject-workload-readiness
Sep 5, 2026
Merged

fix(controller): gate project readiness on workloads#21
birdmanmandbir merged 2 commits into
mainfrom
supabaseproject-workload-readiness

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • derive Auth, REST, Studio, Meta, Gateway, and PowerSync readiness from observed current-generation Deployment rollout state
  • keep SupabaseProject in Provisioning with aggregate Ready=False while a core workload is pending
  • clear stale aggregate readiness when core service reconciliation fails, while preserving and returning the component error
  • report observed available replica counts and document the resulting status contract

Verification

  • make test
  • go test ./...
  • go test -race ./internal/controller -run 'Test(Reconcile|DeploymentIsReady)' -count=1
  • go build ./...
  • make lint
  • make test-tanka
  • make test-delivery
  • generated CRD copies remain identical
  • git diff --check

Review

  • whole-spec Standards and high-risk Spec review completed
  • fixed stale aggregate Ready=True on core-service failure
  • post-fix $review-again: focused verification; no remaining blockers or judgement calls

Deployment

This PR does not deploy or publish the operator image. Release and rollout remain separate steps.

@birdmanmandbir
birdmanmandbir merged commit a6cc6dc into main Sep 5, 2026
3 checks passed
@orga-agent
orga-agent Bot deleted the supabaseproject-workload-readiness branch September 5, 2026 00:15
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