Skip to content

Repo health: say how many repos merge on their own green, and name the two dark-factory findings #85

Description

@bdelanghe

.github#390 (.github-private#913 step 4) added dark_factory per row and totals.gate_ready to the conformance snapshot, plus two findings: gate-absent (a caller whose contexts nothing on the default branch requires — green gates nothing) and arming-lane-absent (gated, but nothing arms the merge — green waits for a person).

The Repo health section renders unknown finding names as their raw slug and says nothing about gate_ready. Two small changes in src/select.js / src/render.js:

  • FINDING_COPY gains sentences for the two new findings.
  • ciSummary appends "N merge on their own green (gated on the standard and the claim, with the arming lane)." — only when totals.gate_ready is an integer, so a snapshot older than #390 prints nothing rather than a zero the lane never measured.

Nothing re-counted; the totals stay the lane's. Tests for both.

Activity

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

    • Status
      In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions