Skip to content

Fix regression-pr-shepherd: bound PR processing per run to prevent context overflow#19526

Merged
T-Gro merged 2 commits intomainfrom
copilot/fix-regression-pr-shepherd
Apr 1, 2026
Merged

Fix regression-pr-shepherd: bound PR processing per run to prevent context overflow#19526
T-Gro merged 2 commits intomainfrom
copilot/fix-regression-pr-shepherd

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

Run #2 of the Regression PR Shepherd crashed mid-edit with an engine termination. Subsequent runs (3–6) all succeeded — transient failure caused by unbounded context accumulation when processing all open PRs in a single run.

Changes

  • Cap at 3 PRs per run — prioritize Category A (review feedback) and B (CI failure) over C (healthy). Remaining PRs picked up by the next scheduled run (every 4h).
  • Triage-first pass — check mergeable state and check-run status before loading diffs/logs. Skip healthy PRs immediately to avoid unnecessary context consumption.
  • Upgrade gh-aw v0.64.4 → v0.65.0 — required recompile of all lock files when editing workflow .md files.

…strategy to prevent context overflow, upgrade gh-aw to v0.65.0

Agent-Logs-Url: https://github.com/dotnet/fsharp/sessions/17022f3a-f1e7-4152-a2e0-879bad03a4e0

Co-authored-by: T-Gro <46543583+T-Gro@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix regression PR Shepherd workflow failure Fix regression-pr-shepherd: bound PR processing per run to prevent context overflow Mar 31, 2026
Copilot AI requested a review from T-Gro March 31, 2026 10:47
@T-Gro T-Gro marked this pull request as ready for review April 1, 2026 09:56
@T-Gro T-Gro requested a review from a team as a code owner April 1, 2026 09:56
@T-Gro T-Gro requested a review from abonie April 1, 2026 09:56
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

✅ No release notes required

@T-Gro T-Gro enabled auto-merge (squash) April 1, 2026 09:59
@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Apr 1, 2026
@T-Gro T-Gro merged commit 599a99f into main Apr 1, 2026
18 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in F# Compiler and Tooling Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[aw] Regression PR Shepherd failed

3 participants