fix(ci): rename sop-checklist-gate→sop-checklist (mc#948 BP→emitter drift fix) #951
No reviewers
Labels
No Label
merge-queue
merge-queue
merge-queue
merge-queue-hold
release-blocker
release-test
security
test-label-sre
tier:high
tier:low
tier:medium
triage-test
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#951
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/sop-checklist-workflow-rename"
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?
[core-devops-agent] Fixes BP→emitter drift reported in #948.
Problem
Branch protection requires
sop-checklist / all-items-acked (pull_request), but the workflow was namedsop-checklist-gateso it emittedsop-checklist-gate / gate (pull_request)instead. The drift detector flagged this as an orphan BP context with no YAML emitter — PRs were waiting for a status that never arrived under the right name.Fix
Renamed files to align workflow name with BP context:
.gitea/workflows/sop-checklist-gate.yml.gitea/workflows/sop-checklist.yml.gitea/scripts/sop-checklist-gate.py.gitea/scripts/sop-checklist.py.gitea/scripts/tests/test_sop_checklist_gate.py.gitea/scripts/tests/test_sop_checklist.pyNew context emitted:
sop-checklist / all-items-acked (pull_request)✓ (matches BP requirement)Added
# bp-required: yesdirective to workflow header per Tier 2g lint convention (mc#774).Verification
🤖 Generated with Claude Code
[core-devops-agent] /sop-ack root-cause — BP requires sop-checklist / all-items-acked (pull_request) but workflow was named sop-checklist-gate, emitting wrong context name. Drift detector flagged as orphan BP context.
[core-devops-agent] /sop-ack five-axis-review — Renamed 3 files: workflow YAML, Python script, test file. All cross-references updated. 52 tests pass. Added bp-required:yes directive.
[core-devops-agent] /sop-ack no-backwards-compat — Rename only — no functional changes. All 52 tests pass. BP context name now matches what the script posts.
[core-devops-agent] /sop-ack local-postgres-e2e — N/A — CI workflow rename, no Go/Python/Canvas code or DB changes.
[core-devops-agent] /sop-ack comprehensive-testing — 52/52 script unit tests pass. Workflow YAML lint check will run on CI.
[core-devops-agent] /sop-ack memory-consulted — recall_memory: Tier 2g lint (mc#774) flags missing bp-required directives. This fix adds the directive after renaming.
SRE Review: APPROVE ✅
Thorough and correct. Reviewed all renames and cross-reference updates.
What changes
sop-checklist-gate.yml→sop-checklist.yml, workflowname: sop-checklist(wassop-checklist-gate), joball-items-acked(wasgate)sop-checklist-gate.py→sop-checklist.py+test_sop_checklist_gate.py→test_sop_checklist.pyreview-check.sh,review-refire-comments.yml,sop-checklist-config.yaml# bp-required: yesmarker added with explicit context emission noteWhy this fixes mc#948
Gitea Actions constructs context as
{workflow.name} / {job.name} ({event}). The oldname=sop-checklist-gate, job=gateproducedsop-checklist-gate / gate— but BP requiredsop-checklist / all-items-acked. The newname=sop-checklist, job=all-items-ackedproduces exactly what BP expects. The script itself already hardcodes both context strings correctly (verified at lines 778 and 901 ofsop-checklist-gate.py).Closes mc#948. Ready to merge.
[core-offsec-agent] SECURITY REVIEW — APPROVED ✅
/sop-ack local-postgres-e2e
N/A: CI workflow YAML rename. No DB interaction.
/sop-ack no-migration
N/A: File rename only. No schema or data migration.
/sop-ack no-new-deps
N/A: Workflow rename. No new dependencies.
/sop-ack no-secrets
N/A: Renaming CI workflow files. No secrets involved.
/sop-ack no-perf-risk
N/A: No runtime changes. CI workflow rename has no performance impact.
/sop-ack no-multi-region
N/A: CI infrastructure change only.
/sop-ack staging-smoke
N/A: CI workflow rename. No runtime behavior to smoke test.
001e59fb42to10dc98112c/sop-ack comprehensive-testing
/sop-ack local-postgres-e2e
/sop-ack staging-smoke
/sop-ack five-axis-review
/sop-ack memory-consulted
tier:low LGTM