Skip to content

ci: no unstable test helpers in vmgstool releases#2848

Open
tjones60 wants to merge 3 commits intomicrosoft:mainfrom
tjones60:vmgstool_release_notesthelpers
Open

ci: no unstable test helpers in vmgstool releases#2848
tjones60 wants to merge 3 commits intomicrosoft:mainfrom
tjones60:vmgstool_release_notesthelpers

Conversation

@tjones60
Copy link
Copy Markdown
Contributor

@tjones60 tjones60 commented Feb 27, 2026

Release versions of vmgstool shouldn't include the unstable test helpers. Build a version without the feature to publish, while still building with the feature for VMM tests.

Copilot AI review requested due to automatic review settings February 27, 2026 01:37
@tjones60 tjones60 requested a review from a team as a code owner February 27, 2026 01:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions
Copy link
Copy Markdown

@mattkur
Copy link
Copy Markdown
Contributor

mattkur commented Feb 27, 2026

What tests depend on these test helpers? Are we not running those tests in the release CI?

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

chris-oo
chris-oo previously approved these changes Feb 27, 2026
@smalis-msft smalis-msft added the release-ci-required Add to a PR to trigger PR gates in release mode label Feb 27, 2026
@tjones60
Copy link
Copy Markdown
Contributor Author

tjones60 commented Feb 27, 2026

What tests depend on these test helpers? Are we not running those tests in the release CI?

There aren't any integration tests for these test helpers, only unit tests which are unaffected by this change.

Nevermind, I do use the test helpers in vmm tests. Maybe I should just build both, won't take long.

@github-actions
Copy link
Copy Markdown

@tjones60 tjones60 changed the title ci: dont build test helpers in release versions of vmgstool ci: dont include unstable test helpers in release versions of vmgstool Feb 27, 2026
@tjones60 tjones60 changed the title ci: dont include unstable test helpers in release versions of vmgstool ci: no unstable test helpers in vmgstool releases Feb 27, 2026
@tjones60 tjones60 requested a review from a team as a code owner February 27, 2026 22:42
@mattkur mattkur requested a review from Copilot March 2, 2026 21:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@tjones60 tjones60 force-pushed the vmgstool_release_notesthelpers branch from af6cce4 to 0b693a6 Compare March 10, 2026 23:46
@tjones60 tjones60 force-pushed the vmgstool_release_notesthelpers branch from 0b693a6 to fe17add Compare March 11, 2026 17:35
pipeline.new_typed_artifact(format!("{arch_tag}-windows-ohcldiag-dev"));

let job = pipeline
let vmgstool_release = release.then(|| {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this on all release builds, or just CI builds? Like this doesn't need to happen in the pr-release flow right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it might be useful to build the release version in PR release so that it would catch if there was some weird build issue with the feature disabled. I still only gets published on actual PR runs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to catch that then we should be building it always, PR release rarely gets run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it this way since I figured it only happen occasionally when people are messing with the test helpers but I guess building it every time would be reasonable. In that case it might make sense to have two vmm-tests artifacts so we are testing the actual thing when we can.

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

Labels

release-ci-required Add to a PR to trigger PR gates in release mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants