Skip to content

stuck-automerge alert: prove the issue-filing path fires and fail loudly on mint errors #318

Description

@kyle-sexton

Summary

The scheduled standards-sync-stuck-automerge-alert workflow has ZERO non-failure runs in its entire visible history (last 80 runs, back to 2026-07-31) — the stuck-automerge monitor has been dark the whole time and would not have alerted on anything.

Root cause (from run logs): the App-token mint step 404s on the app-installation endpoint while requesting repositories .github,ci-runner,ci-workflows,claude-code-plugins,dotfiles,github-iac,medley,provisioning — the App appears uninstalled on at least one requested repo (medley / provisioning are the newest suspects, since a mint scoped to a repo outside the installation's selection fails the whole request).

Note: these failures attach check-runs to main's head SHA, which makes unrelated merged commits (e.g. f96b2e57) show red — cosmetic fallout worth knowing when reading CI history.

Test plan

  • Compare the workflow's requested repository list against the App installation's actual selection; reconcile (drop the uninstalled repo from the request, or extend the installation — the latter is an org-owner action).
  • After the fix: one green scheduled run, and an induced stuck-automerge condition (or a dry-run assertion) proving the alert path actually fires.

Related

  • Surfaced by a read-only session-ledger audit (ci-workflows .work/agent-returns/session-ledger-audit.md).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions