Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding baseVersionForMinCompat for min compat version testing #20060

Merged
merged 6 commits into from
Mar 15, 2024

Conversation

dannimad
Copy link
Contributor

@dannimad dannimad commented Mar 11, 2024

Every time we release, the base version in which N-i calculations are based changes. This causes issues at testing specially at bumping the release version. By hard coding the version in which these calculations are made, we decoupled the min version testing from the release process, although we will need to update this hard coded value shortly after the release as after work to make sure that min versions are going to work with the new version. I really believe this is the best attempt so far to test this functionality, given that it's a middle ground between both contending arguments of making the tests deterministic and at the same time not requiring too much of maintenance.

@github-actions github-actions bot added area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch labels Mar 11, 2024
@dannimad dannimad disabled auto-merge March 13, 2024 22:15
@dannimad
Copy link
Contributor Author

Not entirely deterministic since we still use getRequestedVersion() underneath but at least N-i versions will be fixed and tests behavior shouldn't change before/after release

@dannimad dannimad changed the title minCompat N-1 test removal and fixes Adding baseVersionForMinCompat for min compat version testing Mar 15, 2024
@dannimad dannimad merged commit 8eb5443 into microsoft:main Mar 15, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants