fix(binjovi): insert repository grants idempotently #27

Merged
pipeline-bot merged 1 commit from fix/binjovi-bootstrap-grants into trunk 2026-08-27 16:34:20 +00:00
Owner

The generation-v2 bootstrap exposed that Forgejo does not define a unique constraint for (integ_id, repo_id). Replace the invalid ON CONFLICT clause with an idempotent INSERT ... WHERE NOT EXISTS, and roll the immutable Job to generation v3. Add contracts for the SQL shape and one consistent bootstrap generation.

Proof: bash tests/binjovi.sh and bash tests/check.sh pass.

The generation-v2 bootstrap exposed that Forgejo does not define a unique constraint for `(integ_id, repo_id)`. Replace the invalid `ON CONFLICT` clause with an idempotent `INSERT ... WHERE NOT EXISTS`, and roll the immutable Job to generation v3. Add contracts for the SQL shape and one consistent bootstrap generation. Proof: `bash tests/binjovi.sh` and `bash tests/check.sh` pass.
fix(binjovi): insert repository grants idempotently
All checks were successful
pipeline/ci CI green @ ab5f8a9be729
ab5f8a9be7
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/seanfarm!27
No description provided.