Skip to content

[deep-report] Fix Label Closed PRs workflow: 100% action_required rate suggests trigger mismatch #30646

@github-actions

Description

@github-actions

Problem Statement

The Agent Performance Report (week of 2026-05-06, #30622) identifies Label Closed PRs as a persistently failing agent with 0/2 successes and 100% action_required classification. The pattern is consistent: the agent is triggered but awaits copilot approval on every run, suggesting the trigger conditions don't match the intended activation scenario.

Root Cause (Probable)

The workflow is likely triggered on PR events but the labeling logic requires a closed/merged PR state that isn't present at trigger time. Alternatively, the agent is consuming PRs that have already been labeled.

Expected Impact

  • Converts 2+ daily false action_required classifications to either success or skipped
  • Reduces noise in the ecosystem health dashboard
  • Eliminates wasted runner minutes on mis-triggered runs

Suggested Investigation

  1. Review the on: trigger conditions in the Label Closed PRs workflow file
  2. Check whether the labeling step runs conditionally and whether the noop path is covered
  3. Add explicit noop call when there are no closed/unlabeled PRs to process
  4. If triggers are correct, verify that the workflow's --allowed-tools isn't blocking the PR label write

Estimated Effort

Fast (< 30 minutes)

Data Source

Agent Performance Report — Week of 2026-05-06 (#30622)

Generated by DeepReport - Intelligence Gathering Agent

Generated by DeepReport - Intelligence Gathering Agent · ● 330.7K ·

  • expires on May 8, 2026, 3:35 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions