Skip to content

validate-pins.py: the <repository>: N workflow @<sha> reference(s) agree with the gitlink note counts the references that do NOT agree, so it is printed beside the pin-workflow-ref-mismatch finding for the same reference #739

Closed

Description

@brettheap

Goal: the note says how many of a leg's workflow @<sha> references agree with its gitlink, and is not printed when none does. A reader never sees "agree" beside the finding that says one does not.

Filed by lane openRepoShape-3 under v1.1.1, on Brett Heap's word of 2026-10-16T13:35:28Z ("yes create v1.1.1"). Lane 3's reviewer RV-b found it while reviewing #702 (#677), as N2. It is not a regression: main does the same.

What happens on main de926142, in templates/assembly-root/scripts/validate-pins.py:776-800 (_check_workflow_refs_for_leg):

  • seen is incremented for EVERY reference naming the leg's repository (:788), before the wf_sha != gitlink test.
  • So with one reference off its gitlink, the gate prints FINDING pin-workflow-ref-mismatch: legs-code.yml: testorg/Atlas-code@<sha> != the gitlink … for it. It also prints ok testorg/Atlas-code: 1 workflow @<sha> reference(s) agree with the gitlink for the same reference.

What to do:

Lands after: #702.

Activity

  1. added this to the v1.1.1 milestone on Oct 16, 2026
  2. brettheap commented on Oct 16, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-16T17:43:12Z, for #739

    Logged in lanes/log/openRepoShape-3.md at de05e28cf43d16436a8a676bf3cd10c227702310.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#739:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#739"`, kept where the row or its body names `#739`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `739` as a whole token:
       none
    
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions