Skip to content

Shepherd and churn efficiency: five fixes from the 2026-11-01 data #7455

Closed

Description

@squid-protocol

Five efficiency fixes, found from one day's data on 2026-11-01. Each lands as its own PR "Part of" this issue.

  1. Calm the shepherd's reconcile runs. 319 of the 500 most recent cancelled runs were CI shepherd (reconcile), not real CI. It fires when a workflow finishes and newer runs cancel older ones, which likely explains most of the 22-28% cancelled rate on the dashboard.
  2. Stop cancelled runs showing as failed. A cancelled run's final gate step exits with an error, so GitHub marks it FAILURE. Workers were sent to fix these: 22 of 41 env fix runs from 10-29 to 10-31 found only cancelled checks. ci_digest: a roll-up over cancelled parts is a rerun, not a real failure #7432 fixed how ci_digest reads them; this fixes the source.
  3. Keep approval on a merge-only update. A PR that only takes main loses shepherd:merge, goes to draft and re-runs CI, as Split the CICS stub ggcics.c into eight more family files (Part of #5274) #7441 did twice. If the patch is identical, skip that. Any real code change still needs re-approval. Owner approved starting this 2026-11-01.
  4. Stop holds on data files. Data files were 54 of the week's 75 file-level plan holds. Regenerated files should not hold at all, and same-estate slices should be scheduled apart.
  5. Break repeat fix loops. Release pin bump: cics-crucible v0.11.0 + the BLL cells case (Part of #5119) #7389 went through ten rounds of one blocked fix. After two rounds with the same cause, hold the PR and name the blocker.

Items 4 and 5 are in churn (promoter-bot). The weekly conflict job (#7444) tracks the effect.

Activity

  1. added
    enhancement
    scope:infra
    on Nov 1, 2026
  2. added a commit that references this issue on Nov 1, 2026
  3. squid-protocol commented on Nov 2, 2026

    @squid-protocol
    OwnerAuthor

    All five items are finished.

    Item Outcome Measured effect
    1, reconcile #7463 merged About a third fewer cancelled rows; those runs took no runner, so this is tidiness
    2, cancelled gates #7465 merged Since merge, 21 cancelled gated runs: 17 had no gate job, 4 gates ended cancelled, none failure or skipped. crucible had no cancelled run to observe
    3, approval #7464 closed unmerged Would have kept 2 of 72 drops and loosened a safety gate
    4, data holds promoter-bot #97 merged, live Replay: held runs 30 to 26
    5, fix loops promoter-bot #98 merged, live Replay: #7389 from 22 rounds to 2

    Details are in docs/factory_bottlenecks.md. Follow-ups are in the new issue.

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

    enhancementpriority: mediumscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions