You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Triage Panel sweep re-selects decided issues and stops before finishing the batch #3260
bugLegacy classification name; prefer type/bug. Retained while discovery consumers are migrated.pillar/foundationsPillar: reliability, platforms, CI, code healthstatus/acceptedHuman scope approval; verify the issue's approval record and review contact before work.
The scheduled Triage Panel (.github/workflows/triage-panel.md) has not produced useful output for most of the last week. Over 7 days only the 11 Oct run gave advice (20 items). The 9, 13 and 14 Oct runs reported incomplete, and the 10, 12 and 15 Oct runs produced no outputs.
Root cause
The sweep re-picks issues that maintainers have already decided. The candidate query excludes only triage/recommended and status/triaged. Issues labelled status/accepted or status/declined, or carrying an <!-- apm-scope:v1 --> record, stay eligible. The prompt correctly forbids the panel from touching them, so it skips them, nothing changes, and the same oldest issues are selected again every day, crowding out issues that actually need triage.
The model gives up early. With COPILOT_MODEL: auto (resolving to claude-sonnet-5.5), a local repro with writes off called noop after about 10 seconds in 2 of 3 sweeps, and the 14 Oct run cited a non-existent "budget" as its reason to stop. The same prompt on grok-4.7 completed the full batch in about 5 minutes.
Proposed fix
Exclude decided issues from the sweep: status/accepted, status/declined, and issues with an apm-scope:v1 record.
Have the helper scripts fetch labels and scope records up front, so the model does not look them up itself mid-run.
State in the prompt that the only limit is the 30-minute job timeout, and that it must not stop until every selected issue is handled.
Cap each scheduled sweep at 3 to 5 issues.
Pin the model instead of auto.
Done when
A week of scheduled runs completes with advice on every selected issue, and no run re-selects an issue that already has a maintainer decision.
Decision: approve
Area: project
Scope: Fix the scheduled Triage Panel in .github/workflows/triage-panel.md: exclude issues labelled status/accepted or status/declined, or carrying an apm-scope:v1 record, from the sweep; have the helper scripts fetch labels and scope records up front; state in the prompt that the only limit is the 30-minute timeout; cap each sweep at 3 to 5 issues; pin the model instead of auto.
Done when: A week of scheduled runs completes with advice on every selected issue, and no run re-selects an issue that already has a maintainer decision.
Out of scope: Changes to the per-issue triage/requested path or to triage criteria and labels.
Review contact: Sergio Sisternes (@sergio-sisternes-epam)
Status update. Maintainer backlog policy (2026-11-10): an accepted issue is closed as completed when a merged PR meets its done-when, and remaining work is filed as a new linked issue. This decision was approved by Daniel Meppiel (@danielmeppiel) at Gate B on 2026-11-10.
Keeping this issue open as the verification tracker. #3277 (merge 6f691d2c8e76f11519bfcc1d5b371b0979138fe4) delivered the code part of the accepted scope: scheduled sweeps prefetch labels and scope records, exclude status/accepted, status/declined and apm-scope:v1 issues, and cap each sweep at five. The done-when is not yet met: every scheduled Triage Panel run since 2026-11-05 has failed on the inaccessible grok-4.7 model pin.
The model pin is addressed by #3515. This issue will be closed as completed under P2 after #3515 merges and 7 consecutive scheduled runs complete with advice on every selected issue and no re-selection of an issue that already has a maintainer decision.
Generated by issue-reduction-lane-a. This comment is AI-generated and may contain errors.
Moved to 0.40.0 at the v0.39.0 scope freeze: v0.39.0 now takes only bug fixes. This item is a feature, design, research or tracking item, or still needs design.
bugLegacy classification name; prefer type/bug. Retained while discovery consumers are migrated.pillar/foundationsPillar: reliability, platforms, CI, code healthstatus/acceptedHuman scope approval; verify the issue's approval record and review contact before work.
Activity
sergio-sisternes-epam commentedon Oct 16, 2026
Decision: approve
Area: project
Scope: Fix the scheduled Triage Panel in .github/workflows/triage-panel.md: exclude issues labelled status/accepted or status/declined, or carrying an apm-scope:v1 record, from the sweep; have the helper scripts fetch labels and scope records up front; state in the prompt that the only limit is the 30-minute timeout; cap each sweep at 3 to 5 issues; pin the model instead of auto.
Done when: A week of scheduled runs completes with advice on every selected issue, and no run re-selects an issue that already has a maintainer decision.
Out of scope: Changes to the per-issue triage/requested path or to triage criteria and labels.
Review contact: Sergio Sisternes (@sergio-sisternes-epam)
Merge pull request #3277 from microsoft/danielmeppiel-scheduled-triag…
fix(triage): prefetch and bound scheduled sweep candidates
danielmeppiel commentedon Nov 10, 2026
Status update. Maintainer backlog policy (2026-11-10): an accepted issue is closed as completed when a merged PR meets its done-when, and remaining work is filed as a new linked issue. This decision was approved by Daniel Meppiel (@danielmeppiel) at Gate B on 2026-11-10.
Keeping this issue open as the verification tracker. #3277 (merge
6f691d2c8e76f11519bfcc1d5b371b0979138fe4) delivered the code part of the accepted scope: scheduled sweeps prefetch labels and scope records, excludestatus/accepted,status/declinedandapm-scope:v1issues, and cap each sweep at five. The done-when is not yet met: every scheduled Triage Panel run since 2026-11-05 has failed on the inaccessiblegrok-4.7model pin.The model pin is addressed by #3515. This issue will be closed as completed under P2 after #3515 merges and 7 consecutive scheduled runs complete with advice on every selected issue and no re-selection of an issue that already has a maintainer decision.
Generated by issue-reduction-lane-a. This comment is AI-generated and may contain errors.
danielmeppiel commentedon Nov 25, 2026
Moved to 0.40.0 at the v0.39.0 scope freeze: v0.39.0 now takes only bug fixes. This item is a feature, design, research or tracking item, or still needs design.