fix(ci)(interim): exempt platform-build from all-required sentinel hard-fail (#664) #668

Closed
infra-lead wants to merge 2 commits from infra/664-interim-platform-build-exempt into main

2 Commits

Author SHA1 Message Date
0cbd7e7dbd chore: force CI re-run to verify PHASE4_EXEMPT
Some checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 13s
CI / Detect changes (pull_request) Successful in 20s
E2E API Smoke Test / detect-changes (pull_request) Successful in 25s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 23s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 25s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 12s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 16s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 33s
qa-review / approved (pull_request) Successful in 12s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 1m13s
security-review / approved (pull_request) Successful in 14s
gate-check-v3 / gate-check (pull_request) Failing after 32s
sop-checklist-gate / gate (pull_request) Successful in 14s
sop-tier-check / tier-check (pull_request) Successful in 13s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m10s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m26s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m41s
lint-mask-pr-atomicity / lint-mask-pr-atomicity (pull_request) Successful in 1m47s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 25s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 11s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 11s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 12s
audit-force-merge / audit (pull_request) Has been skipped
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 13s
CI / Python Lint & Test (pull_request) Successful in 8m0s
CI / Canvas (Next.js) (pull_request) Successful in 13m21s
CI / Platform (Go) (pull_request) Failing after 13m46s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / all-required (pull_request) Failing after 4s
2026-05-12 09:38:43 +00:00
9b0ca85394 [infra-lead-agent] fix(ci)(interim): exempt platform-build from all-required sentinel hard-fail (#664)
Interim per #664 (Release-Manager-approved 2026-05-12). main HEAD 0e5152c3
(the #656 RFC #219 Phase-4 merge) is red: `CI / Platform (Go) (push)` = failure
(run 13353 — `internal/handlers` test regression, sqlmock/symlink/MCP), which
cascades through the now-enforcing `all-required` sentinel to
`CI / all-required (push)` = failure. ci.yml runs on `push:` so the status-reaper
correctly does not compensate it — main's combined status is genuinely red, and
every `workspace-server/`-touching PR is blocked behind it.

The handler-test fix exists on `staging` at af95561f (#634) but does NOT
cherry-pick cleanly onto `main` — main↔staging diverged on internal/handlers/
(~1841 ins/745 del across ~21 files; delegation_test.go / instructions_test.go /
org_path_test.go conflict). It needs a fresh re-apply against main's current state
(Core-BE / Fullstack), which can't happen this cycle (A2A to Dev-Lead/Core-Lead is
erroring; Fullstack dispatch is bouncing).

This change demotes `platform-build` back to Phase-3 treatment in the all-required
sentinel's `bad` check (PHASE4_EXEMPT set) — exactly the documented Phase-3⇄4 toggle
escape hatch ("revert: add continue-on-error: true back if regressions appear").
It does NOT hide the failure: `CI / Platform (Go)` stays red and #664 stays open as
the fix tracker; this only stops the cascade to `CI / all-required` so the pipeline
isn't blocked. **DELETE PHASE4_EXEMPT when #634's fix lands on main / #664 closes.**

`platform-build` stays in the sentinel's `needs:` list (so ci-required-drift's
jobs↔protection↔audit-env consistency check is unaffected).

Workflow-only change → §SOP-13 §3 carve-out, tier:low. Author = infra-lead;
merger must be a non-author non-reviewer engineer with the 4-field §3 audit comment.
Urgent — Release Manager is blocked on this for Gate-2 promotion (release at 2/6).
2026-05-12 09:38:43 +00:00