Skip to content

test(release): the RC Windows setup bundles its own flagship build - #4949

Merged
kovtcharov-amd merged 1 commit into
mainfrom
kalin/fix-rc-setup-sidecar-test
Oct 11, 2026
Merged

kovtcharov-amd merged 1 commit into
mainfrom
kalin/fix-rc-setup-sidecar-test

Conversation

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

main has failed test_an_rc_builds_the_windows_setup_for_its_own_prerelease_only since #4934 and #4939 both merged. #4934's test expected the RC Windows setup to bundle the pinned flagship, and #4939 deliberately switched it to artifact, the build that RC run freezes. Each PR passed on its own. The test now expects artifact.

Test plan

  • pytest tests/unit/test_release_tag.py: 43 passed, where main has 1 failure
  • python util/lint.py --black --isort

#4934's test pinned the RC setup's sidecar mode to 'pinned'; #4939 then switched it to 'artifact' (the flagship this RC run froze). Each passed alone, so main has failed since both merged.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 11, 2026
Merged via the queue into main with commit 604a47c Oct 11, 2026
@kovtcharov-amd
kovtcharov-amd deleted the kalin/fix-rc-setup-sidecar-test branch October 11, 2026 02:16
@github-actions github-actions Bot added the tests Test changes label Oct 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve

This fixes the test that has been failing on main. Two PRs merged separately: one added a check that the release-candidate Windows setup bundles the published flagship build, and the other changed the workflow so it bundles the flagship that the release-candidate run builds itself. The test now matches the workflow as it actually is. Nothing blocks the merge.

Real-world evidence

N/A: the PR changes tests only. No evidence bundle was produced, so this verdict rests on static review. I confirmed the release workflow passes sidecar: artifact to the RC Windows setup, which is the value the updated assertion expects. I couldn't run pytest here because it isn't installed on the review runner. The author reports 43 passed.

🔍 Technical details

Issues found

🟢 Optional: the test could also pin rc-flagship in needs (tests/unit/test_release_tag.py:360). Bundling artifact only works if the setup job waits for the job that freezes the flagship, and publish.yml:682 lists rc-flagship for that reason. Asserting it here means a later edit can't drop that dependency without failing the test.

    assert "build-desktop-installers" in setup["needs"]
    assert "rc-flagship" in setup["needs"]

Strengths

  • The fix is small and in the right place. The test follows the workflow's deliberate change, and the workflow isn't touched to suit the test.
  • The new one-line comment says why the value is artifact, which helps the next reader avoid reintroducing the conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant