[ci-drift] molecule-ai/molecule-core/staging: required-checks divergence detected #806

Closed
opened 2026-05-13 06:19:40 +00:00 by mc-drift-bot · 3 comments
Owner

Drift detected on molecule-ai/molecule-core/staging

Auto-filed by .gitea/workflows/ci-required-drift.yml (RFC internal#219 §4 + §6).

Findings

F3a — audit-force-merge.yml REQUIRED_CHECKS env has contexts NOT in branch_protections/staging.status_check_contexts (audit would flag non-force-merges as force):

  • Secret scan / Scan diff for credential-shaped strings (pull_request)
  • sop-tier-check / tier-check (pull_request)
    F3b — branch_protections/staging.status_check_contexts has contexts NOT in audit-force-merge.yml REQUIRED_CHECKS env (real force-merges would be missed):
  • sop-checklist / all-items-acked (pull_request)

Resolution

  • F1 / F1b: add the missing job to all-required.needs: in .gitea/workflows/ci.yml, or remove the stale entry.
  • F2: rename the protection context to match an emitter, or remove it from status_check_contexts (PATCH /api/v1/repos/{owner}/{repo}/branch_protections/{branch}).
  • F3a / F3b: bring REQUIRED_CHECKS env in .gitea/workflows/audit-force-merge.yml into set-equality with status_check_contexts (single PR, both files).

Debug

{
  "audit_env_checks": [
    "CI / all-required (pull_request)",
    "Secret scan / Scan diff for credential-shaped strings (pull_request)",
    "sop-tier-check / tier-check (pull_request)"
  ],
  "branch": "staging",
  "ci_jobs": [
    "canvas-build",
    "changes",
    "platform-build",
    "python-lint",
    "shellcheck"
  ],
  "expected_contexts": [
    "ci / all-required (pull_request)",
    "ci / canvas-build (pull_request)",
    "ci / changes (pull_request)",
    "ci / platform-build (pull_request)",
    "ci / python-lint (pull_request)",
    "ci / shellcheck (pull_request)"
  ],
  "protection_contexts": [
    "CI / all-required (pull_request)",
    "sop-checklist / all-items-acked (pull_request)"
  ],
  "sentinel_needs": [
    "canvas-build",
    "changes",
    "platform-build",
    "python-lint",
    "shellcheck"
  ]
}

This issue is idempotent: drift-detect runs hourly at :17 and edits this body in place. Close the issue once the drift is fixed; the next hourly run will reopen if drift returns.

# Drift detected on `molecule-ai/molecule-core/staging` Auto-filed by `.gitea/workflows/ci-required-drift.yml` (RFC [internal#219](https://git.moleculesai.app/molecule-ai/internal/issues/219) §4 + §6). ## Findings F3a — audit-force-merge.yml `REQUIRED_CHECKS` env has contexts NOT in branch_protections/staging.status_check_contexts (audit would flag non-force-merges as force): - Secret scan / Scan diff for credential-shaped strings (pull_request) - sop-tier-check / tier-check (pull_request) F3b — branch_protections/staging.status_check_contexts has contexts NOT in audit-force-merge.yml `REQUIRED_CHECKS` env (real force-merges would be missed): - sop-checklist / all-items-acked (pull_request) ## Resolution - **F1 / F1b**: add the missing job to `all-required.needs:` in `.gitea/workflows/ci.yml`, or remove the stale entry. - **F2**: rename the protection context to match an emitter, or remove it from `status_check_contexts` (PATCH `/api/v1/repos/{owner}/{repo}/branch_protections/{branch}`). - **F3a / F3b**: bring `REQUIRED_CHECKS` env in `.gitea/workflows/audit-force-merge.yml` into set-equality with `status_check_contexts` (single PR, both files). ## Debug ```json { "audit_env_checks": [ "CI / all-required (pull_request)", "Secret scan / Scan diff for credential-shaped strings (pull_request)", "sop-tier-check / tier-check (pull_request)" ], "branch": "staging", "ci_jobs": [ "canvas-build", "changes", "platform-build", "python-lint", "shellcheck" ], "expected_contexts": [ "ci / all-required (pull_request)", "ci / canvas-build (pull_request)", "ci / changes (pull_request)", "ci / platform-build (pull_request)", "ci / python-lint (pull_request)", "ci / shellcheck (pull_request)" ], "protection_contexts": [ "CI / all-required (pull_request)", "sop-checklist / all-items-acked (pull_request)" ], "sentinel_needs": [ "canvas-build", "changes", "platform-build", "python-lint", "shellcheck" ] } ``` _This issue is idempotent: drift-detect runs hourly at `:17` and edits this body in place. Close the issue once the drift is fixed; the next hourly run will reopen if drift returns._
mc-drift-bot added the
tier:high
label 2026-05-13 06:19:45 +00:00

Triage — duplicate of #798

Re-run of ci-required-drift workflow. PR #802 (fix/798-audit-force-merge-staging) is open targeting staging. Recommend closing as duplicate of #798.

## Triage — duplicate of #798 Re-run of ci-required-drift workflow. PR #802 (fix/798-audit-force-merge-staging) is open targeting staging. Recommend closing as duplicate of #798.
Member

Duplicate of mc#798 which is fixed by PR #802 (core-devops, pending merge). This issue will be closed automatically by the drift-detector once #802 lands.

Duplicate of mc#798 which is fixed by PR #802 (core-devops, pending merge). This issue will be closed automatically by the drift-detector once #802 lands.
Member

Fix merged via PR #802. Closing.

Fix merged via PR #802. Closing.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
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: molecule-ai/molecule-core#806
No description provided.