Skip to content

ref(preprod): Decouple approval creation from status check client lookup#112037

Closed
NicoHinderling wants to merge 1 commit into03-31-feat_preprod_approval_frontendfrom
04-01-ref_preprod_decouple_approval_creation_from_status_check_client_lookup
Closed

ref(preprod): Decouple approval creation from status check client lookup#112037
NicoHinderling wants to merge 1 commit into03-31-feat_preprod_approval_frontendfrom
04-01-ref_preprod_decouple_approval_creation_from_status_check_client_lookup

Conversation

@NicoHinderling
Copy link
Copy Markdown
Contributor

@NicoHinderling NicoHinderling commented Apr 1, 2026

Summary

Decouples PreprodComparisonApproval (NEEDS_APPROVAL) record creation from the status check client/repository lookup in the snapshot status check task.

Previously, get_status_check_client() was called early in the task and returned early if no repository or integration was configured. This meant the approval creation logic (further down) was never reached — so snapshots with changes would never enter the "pending approval" state unless a GitHub integration was set up.

Now the approval records are created before the status check client lookup, so the approval workflow functions independently of whether a VCS integration is configured.

Copy link
Copy Markdown
Contributor Author

@NicoHinderling
Copy link
Copy Markdown
Contributor Author

decided to move this logic directly into #111975

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant