Skip to content

Route mendys-prod / mendys-wp error-log alerts to @claude issues in izzywdev/MendysRobotics #249

Description

@izzywdev

Request (from izzywdev/MendysRobotics via delegate-to-fuzeinfra)

@claude — please wire the Grafana crit-log → GitHub issue autofix path (the critlogdetect LogQL rule → crit-alert Cloudflare Worker bridge → grafana-crit-fix.yml) to open @claude issues in izzywdev/MendysRobotics for errors originating in our namespaces.

Root cause

The grafana-crit-fix.yml workflow resolves the owning repo from the alert's namespace label via the namespace annotation fuzeinfra.io/owner-repo. Our namespaces mendys-prod and mendys-wp appear to be missing that annotation, so error logs from mendys-backend/consumers (e.g. Python NameError, Postgres relation "..." does not exist, and a wedged crawler) never opened a @claude fix issue in our repo — they silently fall back to FuzeInfra.

Please

  1. Add fuzeinfra.io/owner-repo: izzywdev/MendysRobotics to mendys-prod and mendys-wp — ideally via managedNamespaceMetadata in the Argo Application(s) for these namespaces (mirroring how fuzeinfra's own namespace is annotated in argocd/applications/fuzeinfra-prod.yaml), so it's GitOps-persistent and survives selfHeal.
  2. Confirm the automation PAT (GH_TOKEN) used by grafana-crit-fix.yml has issues:write on izzywdev/MendysRobotics.
  3. Confirm crit_bridge_token is set in terraform/contabo (so the crit-alert Worker/route + CRIT_BRIDGE_TOKEN secret exist and Grafana's webhook actually reaches the bridge).

Notes

  • We've made our backend errors alertable on our side (a mendys_backend_log_errors_total counter + MendysBackendErrorLogs Prometheus rule), but the log→issue→@claude routing is the FuzeInfra half.
  • We own only deploy/** and cannot operate the shared cluster — hence this delegation.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions