Skip to content

Upgrade gh-aw to main (post-v0.71.1) to unblock autoloop file limit #230

Description

@mrjf

Problem

All three autoloop programs are stuck because create_pull_request enforces a hardcoded 100-file limit that counts diff --git headers in the patch rather than unique files. On long-running branches that merge main before committing, this inflates the count to ~1768 (nearly the entire repo tree) even though each iteration only touches 1-3 files.

  • perf-comparison: E003 — 1767 files (limit 100)
  • build-tsb-pandas-typescript-migration: E003 — 101 files (limit 100)
  • tsb-perf-evolve: patch size failures

Fix

The fix landed on gh-aw main in github/gh-aw#28472 but is not yet in a release (latest is v0.71.1, Apr 24). It:

  • Counts unique files in the patch instead of raw diff --git headers
  • Adds a new max-patch-files config option (default 100, configurable)

Action

Upgrade tsessebe's gh-aw dependency to track main (or a pinned commit) instead of the v0.71.1 release, so we pick up the fix.

Once upgraded, we can also add max-patch-files: 500 to the autoloop workflow's safe-outputs config for additional headroom.

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions