Skip to content

Exercise the comment-check workflow from a shallow checkout (openwizdev/OpenWiz#2301, R1) #2313

Closed
openwizdev/WizLoops
#34

Description

@jparker2006

Follow-up of #2301 (spec #2286)

At ci/test-comment-check.sh:45, the workflow block runs in a repository that already has both merge parents. Deleting the step's git fetch leaves all six cases green. The GitHub job starts at depth 1, where the same deletion makes the checker exit 2 because HEAD^1 is missing. A synthetic depth-1 checkout reproduces that exit and gets the expected disallowed-comment diagnostic once the fetch runs.

Run the workflow block from a depth-1 clone of the synthetic merge commit, backed by a separate fixture origin. Keep the existing direct wrapper cases.

Found in openwizdev/WizLoops#33 at c87372147f4b2c5fd9053f5ed7b0ab4e02ae9dbe. This is polish.

Activity

  1. added
    needs-triage
    on Nov 22, 2026
  2. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    This was generated by AI during triage.

    Still true: On main (after WizLoops#33), workflow_step runs inside the full fixture repository with itself as origin, so HEAD^1 is always present and the fetch is never exercised.

    Owned paths

    • ci/test-comment-check.sh in openwizdev/WizLoops

    Fix

    Run the workflow step's block from a depth-1 clone of the synthetic merge commit, with a separate fixture repository as its origin, so deleting the step's git fetch fails the proof. Keep the direct wrapper cases.

    Batched in #2503 (polish batch WL2 of #2286).

  3. added this to the 0.1.1 milestone on Nov 22, 2026
  4. added
    ready-for-agent
    and removed
    needs-triage
    on Nov 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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions