Skip to content

fix(pr-pipeline): re-run a dispatched in-set post-merge red once before demotion #9126

Closed

Description

@kyle-sexton

This was generated by AI during attend-queue.

Refs: #8898, #9013

Problem

#8968's --judge-run excuses post-merge reds outside the merges' affected set. A red inside the affected set from a flake that does not recover within red-main.confirm-wait-minutes (40) still demotes pr-merge. post-merge-demotion-alert starts no re-run for bot-dispatched runs by design (.github/workflows/post-merge-demotion-alert.yml:47-50); pr-merge's post-merge-dispatch re-runs only inside a lane merge's attribution window (--lane-merges-only, .github/workflows/pr-merge.yml:173).

Done when

  • pr-merge's post-merge re-run selector gives a dispatched in-set red one re-run before demotion, inside the existing attribution rules in babysit_postmerge.py.
  • A test covers an in-set red that passes on re-run (no demotion) and one that fails again (demotion).

Out of scope

Ending the wait early when main recovers (#9013). The live check of the filing path (#8898).

Protected paths (.github/**, babysit-prs scripts): built attended by Automation Lanes.

Activity

  1. added theissue type on Oct 22, 2026
  2. added
    needs-human
    status: confirmed
    on Oct 22, 2026
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

    needs-humanstatus: confirmed

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions