Skip to content

The pipeline's release cut waits for the merge commit's checks #5438

Closed

Description

@lex00

releaseCutHook (packages/core/src/pipeline/stages.ts) adds release cut auto --yes after the first stage's last wave. On a product repo that declares no ci.green, the cut takes the forge-checks gate, which reads the merge commit's checks while sibling push workflows may still be running. The verdict then depends on timing, and a commit whose only checks belong to the cut's own run is refused with the general "no check on it". INTENTIUS/plywood#176 found this on the plywood bench; terragucci and sql-yodeler pipelines take the same hook.

Acceptance criteria

  • release cut under forge-checks takes a wait option that waits for pending checks on the commit, with a timeout and a retry on forge errors, the way chant ci verdict --wait waits; it is off unless a caller passes it.
  • releaseCutHook passes that option, so the pipeline's cut waits for the other push workflows on the merge commit, and a commit whose only checks are the cut's own run gets a refusal that says so.
  • The option exports a *_FLOOR, with the floor table regenerated.

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions