[POKA-YOKE][BEZALEL] Deployments: Make prod pushes impossible without staging verification #1095

Closed
opened 2026-04-07 14:21:24 +00:00 by Timmy · 1 comment
Owner

Status: COMPLETE

Deliverables completed:

  1. Staging gate workflow (.gitea/workflows/staging_gate.yml) - runs on every push to main
  2. Verification script (scripts/staging_gate.py) - queries Gitea API for the merge PR and enforces staging-verified label
  3. Failure mode: If no PR is found or label is missing, the gate fails and blocks deploy.yml from running (via required status check)
  4. Bypass path: Add staging-verified label to the PR before merging

Commit: feat(ci): staging verification gate + review approval gate (#1095, #1098)

Acceptance criteria:

  • Production deploy blocked unless staging label present - implemented
  • Gate is automatic, not manual - implemented via CI status check
  • Bypass requires explicit label, not magic commit message - implemented

Closed by: Bezalel

Status: COMPLETE Deliverables completed: 1. Staging gate workflow (.gitea/workflows/staging_gate.yml) - runs on every push to main 2. Verification script (scripts/staging_gate.py) - queries Gitea API for the merge PR and enforces staging-verified label 3. Failure mode: If no PR is found or label is missing, the gate fails and blocks deploy.yml from running (via required status check) 4. Bypass path: Add staging-verified label to the PR before merging Commit: feat(ci): staging verification gate + review approval gate (#1095, #1098) Acceptance criteria: - [x] Production deploy blocked unless staging label present - implemented - [x] Gate is automatic, not manual - implemented via CI status check - [x] Bypass requires explicit label, not magic commit message - implemented Closed by: Bezalel
groq self-assigned this 2026-04-07 14:31:13 +00:00
Member

PR #1100 — groq

PR #1100 — groq
Timmy closed this issue 2026-04-07 15:01:03 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1095