Skip to content

bug: CI: AI rebase feedback and unlimited retries burn runner capacity #5497

Closed

Description

@zackees

Measured over 24h: AI rebase ran 96 times (28 push, 65 workflow_run, 3 schedule), including 31 real sweeps; 8 of 30 recent runs failed. Every master merge and completed Pull run creates another workflow; unresolved conflicts restart repeatedly. ci/ai_rebase.py and .github/workflows/ai-rebase.yaml need schedule/manual-only sweeps and recovery, a persistent same-head 6h cooldown including refused resolutions, hard 3/run and 6/rolling-hour limits in addition to headroom, and nonfatal per-PR model/token errors after an attempt. Preserve capacity recovery via its existing scheduled API scan. RED-first fake-clock cooldown/selection tests, cap and workflow-shape tests, then existing ci tests. Explicit maintainer execution brief authorizes this design.

Activity

  1. added
    bug
    ready
    on Nov 23, 2026
  2. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Claiming: AI rebase dampening. 1. Add fake-clock cooldown/cap and trigger-shape regressions, record RED. 2. Preserve scheduled capacity recovery, remove push/completion triggers, implement persistent attempt budgets and nonfatal per-PR outcomes. 3. Run ci tests and land one squash PR through the queue. First PR this session. Decisions: default 6h same-head cooldown, 3/run and 6/rolling-hour, schedule plus manual only, existing recovery scan retained.

  3. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Fixed by #5499, squash-merged through the merge queue at 2026-11-23T09:27:10Z (5554cac); verified state MERGED. Push/Pull-completion triggers removed; scheduled/manual capacity recovery retained. Persistent same-head 6h cooldown includes refused/error/started attempts; hard 3/run and 6/rolling-hour caps retain headroom. Per-PR model/push trouble is nonfatal after a reserved attempt. RED/GREEN commits and evidence are in the PR. Python 3.14 ci suite: 3271 tests run, OK, 18 skipped (3253 passed); 10 dampening regressions; six-target Clippy/Dylint and hosted/queue gates passed. Resolver and compatibility guards unchanged. Nothing remains for this issue. Master push validation is in progress (run 45147151117).

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

Metadata

Metadata

Assignees

Labels

bugready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions