Summary
The release workflow that bumps PackageValidationBaselineVersion opens a brand-new PR for every release instead of updating an already-open baseline PR. This leaves a trail of stale, superseded baseline PRs that have to be closed by hand.
Repro
- Run the release workflow (
.github/workflows/release-github-tasks.yml, baseline-pr job) for consecutive patch releases.
- Observe the PRs it creates:
Expected vs. actual
Expected: If a baseline-update PR is already open, the workflow updates that PR (new version bump pushed onto it) rather than opening another one. At most one open baseline PR at a time.
Actual: A new PR is opened for each release. The "Check for Existing Baseline PR" step keys off the version-specific branch name update-baseline-${release_version}, so it only matches a PR for the same version and never finds the previous release's still-open PR. Superseded baseline PRs accumulate and must be closed manually.
cc @joperezr
Summary
The release workflow that bumps
PackageValidationBaselineVersionopens a brand-new PR for every release instead of updating an already-open baseline PR. This leaves a trail of stale, superseded baseline PRs that have to be closed by hand.Repro
.github/workflows/release-github-tasks.yml,baseline-prjob) for consecutive patch releases.Expected vs. actual
Expected: If a baseline-update PR is already open, the workflow updates that PR (new version bump pushed onto it) rather than opening another one. At most one open baseline PR at a time.
Actual: A new PR is opened for each release. The "Check for Existing Baseline PR" step keys off the version-specific branch name
update-baseline-${release_version}, so it only matches a PR for the same version and never finds the previous release's still-open PR. Superseded baseline PRs accumulate and must be closed manually.cc @joperezr