Skip to content

Drive release integration cases from the producer #124

Description

Context and request

Maintainers need to start a release integration case at an exact producer commit. They need a separate way to verify the result after the fixture pull request merges. Deliver the driver in #122. The fixture contract and the baseline comparison belong to separate pull requests.

Acceptance criteria

  • A manual dispatch on producer main selects the exact head of an open, same-repository pull request to main. With no candidate_pr, it selects the exact producer main commit.
  • The driver rejects a commit that does not declare the fixture action inputs and outputs. The check reads metadata before the workflow requests the fixture write token. It does not run candidate code.
  • Start opens one fixture pull request with one synthetic case file. It stops for an open fixture case from Shelly to fixture main. A fork or a pull request to another branch does not stop Start.
  • Verify uses a read-only fixture token. It accepts a successful bot report only for the selected case, head, and exact squash commit.
  • The driver does not approve, merge, or close fixture pull requests. It does not change repository permissions or publish a producer release.

Technical decisions

Use .github/workflows/Fixture-Test.yml and the PowerShell driver under .github/scripts. Read the pinned candidate's action.yml through the producer REST API. Parse it as data with the hosted runner's yq v4. Keep Shelly's token limited to PSModule/Release-GHRepository-Test.

The fixture contract landed in PSModule/Release-GHRepository-Test#3 and PSModule/Release-GHRepository-Test#4. This task does not require the candidate in #109 to merge. The live baseline-first run uses #123 after both producer changes land.

Implementation plan

  • Add credential-free tests for candidate identity, case creation, and exact bot report selection.
  • Add the manual driver, separate test workflow, and operator guide in docs/Fixture-Test.md.
  • Reproduce the incompatible candidate and unrelated pull request failures in the driver tests.
  • Validate the action metadata and limit the active-case check to fixture pull requests from Shelly to main.
  • Verify the driver tests, the workflow contract, the operator guide, and compatibility with the comparison branch. Record the evidence in Run release integration tests with Shelly #122.

Activity

  1. MariusStorhaug commented on Dec 1, 2026

    @MariusStorhaug
    MemberAuthor

    #122 has the verified driver changes at 4d34fc6. The driver rejects incompatible metadata before the fixture write token step and ignores unrelated pull requests. The comparison branch merges cleanly; its own two open-PR test doubles need a separate refresh. No live fixture run was started.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions