Skip to content

[health] Metrics Collector — 2 consecutive failures, metrics infrastructure degraded #23344

Description

@github-actions

Overview

The Metrics Collector workflow has failed on 2 consecutive runs:

Run Date Conclusion
#107 2026-03-27T19:32Z ❌ failure
#106 2026-03-26T19:39Z ❌ failure
#105 2026-03-25T19:35Z ✅ success

This is a metrics infrastructure issue — the Metrics Collector feeds shared metrics data to:

  • Workflow Health Manager (/tmp/gh-aw/repo-memory/default/metrics/latest.json)
  • Agent Performance Analyzer
  • Campaign Manager

Without working metrics, trend analysis across all meta-orchestrators is degraded.

Root Cause Analysis

Run #107 failure (primary failing job: push_repo_memory):

Working in repository: /home/runner/work/gh-aw/gh-aw
Checking out branch: memory/meta-orchestrators...
File glob filter enabled: metrics/**
##[warning]Skipping file that does not match allowed patterns: agent-performance-latest.md
  Pattern: "metrics/**" -> ❌ NO MATCH
Scan complete: Found 0 file(s) to copy
No files to copy from artifact
##[error]Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under
'/home/runner/work/gh-aw/gh-aw/actions/setup'.

Two issues:

  1. Wrong file location: The agent is writing agent-performance-latest.md to the artifact root instead of under the metrics/ subdirectory. The push_repo_memory job has a metrics/** glob filter that doesn't match root-level files. Result: Zero metrics saved.
  2. Post Setup cleanup failure: Same systemic bug as PR Triage Agent ([aw] PR Triage Agent failed #23151) — after checking out memory/meta-orchestrators branch, actions/setup is not found.

Run #106 failure appears to be the same pattern.

Impact

Possible Fixes

Issue 1 (agent writing wrong path):
The Metrics Collector prompt instructs the agent to write to /tmp/gh-aw/repo-memory/default/metrics/latest.json. If the agent is writing to /tmp/gh-aw/repo-memory/default/agent-performance-latest.md instead, either:

  • The agent misunderstood the instructions
  • The agent is reading from another memory source and re-writing it
  • The glob filter in the push_repo_memory job configuration is too restrictive

Issue 2 (Post Setup cleanup): Shared systemic bug tracked in #23151.

Action Required

  1. Investigate run MCP Network Permissions Test Results - Domain Restrictions Validation #107 agent job logs to understand why agent-performance-latest.md was created instead of metrics/latest.json
  2. Consider updating the push_repo_memory file-glob configuration to include *.md or fix the agent prompt
  3. Verify the metrics format after fixing — downstream consumers depend on the JSON structure

Generated by Workflow Health Manager · run #284

Note

🔒 Integrity filter blocked 8 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #18407 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #21242 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #21784 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #17352 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #18991 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #23268 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #21813 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #21306 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Workflow Health Manager - Meta-Orchestrator ·

  • expires on Mar 29, 2026, 12:04 PM UTC

Activity

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

Metadata

Metadata

Labels

cookieIssue Monster Loves Cookies!

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions