Skip to content

Universal bisect script #16398

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

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Conversation

prolativ
Copy link
Contributor

@prolativ prolativ commented Nov 23, 2022

Improve bisect script:

  • Use locally published versions of scala when bisecting commits to unify validation of commits and published nightly versions
  • Validate compiler versions using custom scripts - e.g scala-cli and/or expect can be used, which allows bisecting errors in compilation, program execution, REPL and more

@prolativ prolativ changed the title Improve bisect script: Universal bisect script Nov 23, 2022
  * Use locally published versions of scala when bisecting commits to unify validation of commits and published nightly versions
  * Validate compiler versions using custom scripts - e.g scala-cli and/or expect can be used
@prolativ
Copy link
Contributor Author

I tried bisecting some issues with the new script and it turns out that we need to publish locally bootstrapped versions of the compiler to get correct results in some cases, even though this makes bisecting commits slower. So I updated the script accordingly

@prolativ
Copy link
Contributor Author

@nicolasstucki does this thumb up mean an actual approve?

@nicolasstucki
Copy link
Contributor

It means I approve publishing the bootstrapped compiler. I also saw that this was necessary. In practice, this is not too long given that we prone the commits extremely fast with the nightly builds.

Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@prolativ prolativ merged commit 845105a into scala:main Dec 1, 2022
@prolativ prolativ deleted the universal-bisect branch December 1, 2022 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants