fix(ci): keep status sentinel path scoped #29
Reference in New Issue
Block a user
Delete Branch "fix/status-all-required-path-scoped"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
CI / all-requiredaware that uptime probe is path/schedule scopedset -o pipefaildoes not turnheadSIGPIPE into exit 141pull_requestworkflow keyRoot Cause
Post-merge
mainstayed pending because the sentinel waited for uptime probe contexts on ordinary pushes. The actual uptime workflow is path/schedule scoped. The probe job then failed inInstall probebecauseuptime-probe -h | head -5returns 141 underpipefailwhenheadexits after five lines.SOP Checklist
Comprehensive testing performed:
python3YAML parse/assertion passed for both workflow files; embedded Python snippet compiles;git diff --checkpassed; live logs inspected for the exit-141 root cause.Local-postgres E2E run: N/A - workflow-only Gitea status/probe script logic, no database or service runtime change.
Staging-smoke verified or pending: pending post-merge - verification target is
molecule-ai-statusmain status and uptime probe run after merge.Root-cause not symptom: the aggregate sentinel treated an intentionally absent path-scoped uptime workflow as a required same-SHA context, and the uptime probe install step used a pipefail-unsafe help preview.
Five-Axis review walked: correctness covered by PR neutral path-scoped logic, status/status fallback, and pipefail-safe
sed; readability kept localized; architecture preserves one required sentinel; security adds no secret exposure; performance removes 60m waits for ordinary push/PR.No backwards-compat shim / dead code added: yes - no shim or dead code; incorrect workflow logic is replaced in place.
Memory/saved-feedback consulted: yes - used local CI/monitoring memory and Gitea status enum guidance.
Risk
Low to medium. This changes only workflow behavior, but it intentionally unblocks PRs from path-scoped uptime status and relies on post-merge monitoring for the uptime job.
7938d5b820to3e6d8e4912/sop-ack comprehensive-testing YAML parse/assertion, embedded Python compile check, and git diff --check passed.
/sop-ack local-postgres-e2e N/A: workflow-only sentinel logic; no database/service runtime.
/sop-ack staging-smoke N/A: post-merge main status monitoring is the smoke surface.
/sop-ack five-axis-review Correctness/readability/architecture/security/performance reviewed for the workflow-only change.
/sop-ack memory-consulted Local CI/monitoring and Gitea status guidance consulted.
/sop-ack root-cause Root cause is the sentinel requiring an intentionally absent path-scoped uptime context with stale context/field assumptions.
/sop-ack no-backwards-compat No compatibility shim or dead code added; the incorrect sentinel logic is replaced in place.
3e6d8e4912to0a538e0619Approved workflow-only fix after green PR CI and SOP ack gate.
Approved workflow-only fix after green PR CI and SOP ack gate.