Skip to content

Collapse the looping end-to-end scenarios to one Run per behavior #206

Closed

Description

@JacobStephens2

Parent

#174

What to build

Run fewer whole Runs in the scenarios that loop. Several end-to-end tests repeat a full Run for each case: each signal (INT/TERM/HUP), each Repair up to the cap, each move of the Base branch until the budget runs out, and each agent failure mode in the release tests. In the slowest binaries (spec_run, merge_run, release, run_notification), keep one end-to-end case per behavior to prove the wiring, and move the rest of the case list to in-crate unit tests at the level where the cases actually differ, e.g. the Repair and budget accounting, or mapping a signal to an outcome. Leave the argument-parsing loops to the sibling ticket on argument parsing.

Acceptance criteria

  • In each of those four binaries, no test runs the binary more than once per behavior it checks, unless the repetition is the behavior (e.g. a budget running out only after N real rounds). Any such test says so in a comment
  • Every case removed from an end-to-end test is covered by a unit test
  • The PR lists each test changed with its time before and after (libtest --report-time or equivalent), and reports each binary's total time before and after
  • The full suite passes

Blocked by

Activity

  1. added
    enhancement
    ready-for-agent
    on Sep 30, 2026
  2. JacobStephens2 commented on Sep 30, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #217, merged into issue-174 by a thirdshift Merge run.

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

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions