Skip to content

T-rollup: rollup bot merges ready PRs into one commit (≤200 lines via gh, close constituents only after SHA on main) #5737

Closed as not planned

Description

@noahgift

Refs #5510 (EPIC 20 merged/h), #5394. Ordered by aprender-57 (operator ruling 4); intake line from aprender-flow (T-rollup). Owner aprender-w5404.

Operator ruling (verbatim, relayed)

"Rollup bot checks the <=200-line rule itself via gh additions+deletions, not blocked on #5733. Bot may close a constituent only after the rollup commit is on main, with the SHA posted; never on red; ejected PRs stay open with a reason."

Loss

Green PRs queue up behind each other and every merge dirties the rest (#5394). A bot that rolls ready PRs into one merge removes the per-PR queue cost.

Change

A rollup bot (new crate aprender-rollup, work in flight on branch feat/rollup-bot): pure selection/split/outcome core first, then the gh I/O layer and a bin.

Falsifiers (test first)

Process

One ticket, owner w5404. The new crate touches Cargo.toml/Cargo.lock: a3 confirms. No PR until open ≤10 (operator freeze). Workflow or gate changes need "gate/workflow sign-off: YES".

🤖 Generated with Claude Code

Activity

  1. added this to the 0.72.0 milestone on Oct 19, 2026
  2. noahgift commented on Oct 20, 2026

    @noahgift
    MemberAuthor

    LAB red (not a gate): deep-nightly run 39513981499, job deep-bins-smoke, fails because the aprender-rollup binary does not answer --version (rc=2, prints usage). Owner: w5018, after #5815. Fix: make --version exit 0 (or drop the binary from the smoke list with the reason). One ticket, one owner; no further reports unless it stays red 7 days.

  3. noahgift commented on Oct 22, 2026

    @noahgift
    MemberAuthor

    Tracked in #5510 (triage 2026-10-22).

  4. noahgift commented on Oct 22, 2026

    @noahgift
    MemberAuthor

    tracked in #5962

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions