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

Add K2 analysis switcher #3152

Merged
merged 7 commits into from
Nov 9, 2023
Merged

Add K2 analysis switcher #3152

merged 7 commits into from
Nov 9, 2023

Conversation

vmishenev
Copy link
Member

It is a part of #3113

@vmishenev vmishenev changed the title Add K2 analysis switcher Add K2 analysis switcher for integration test Sep 1, 2023
@vmishenev vmishenev changed the title Add K2 analysis switcher for integration test Add K2 analysis switcher for integration tests Sep 1, 2023
@vmishenev vmishenev changed the title Add K2 analysis switcher for integration tests Add K2 analysis switcher for Gradle integration tests Oct 27, 2023
…grationTest, JsIRGradleIntegrationTest, Multiplatform0GradleIntegrationTest integrations tests due to KT-63126
@vmishenev vmishenev marked this pull request as ready for review November 4, 2023 22:57
Copy link
Member

@IgnatBeresnev IgnatBeresnev left a comment

Choose a reason for hiding this comment

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

I don't have much to add to the switch itself, well done here!

I do have some comments for the test-related changes though. Given that Andrei is waiting for the switch to begin testing, could you please extract all test-related changes into a separate PR (or extract the switch into a separate one)? Then we can quickly merge the switch and unblock Andrei, and then have more time to discuss the tests.

It was also outlined in #3113 for this particular reason, so that we can implement it quickly and unblock testing

Setting up unit and integration tests to use the switch falls outside of the scope of this issue.

compileOnly(projects.subprojects.analysisKotlinApi)
implementation(projects.subprojects.analysisKotlinApi)
Copy link
Member

@IgnatBeresnev IgnatBeresnev Nov 8, 2023

Choose a reason for hiding this comment

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

(rhetorical question) I wonder how and why it worked before...

Copy link
Collaborator

Choose a reason for hiding this comment

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

This change was not merged in scope of this PR - is it correct? Without it, most likely switch to K2 will not work, no?

Copy link
Member

Choose a reason for hiding this comment

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

Only one way to find out :) #3333

Copy link
Member Author

Choose a reason for hiding this comment

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

This change was not merged in scope of this PR - is it correct? Without it, most likely switch to K2 will not work, no?

Sorry, I have missed it( Thank you for noticing it. It would be nice to have integration tests in single PR.

(rhetorical question) I wonder how and why it worked before...

Do you mean unit tests? This dependency comes from pluginBaseTestUtils where it is not excluded.

@vmishenev vmishenev changed the title Add K2 analysis switcher for Gradle integration tests Add K2 analysis switcher Nov 9, 2023
@vmishenev vmishenev merged commit 58dfa93 into master Nov 9, 2023
10 of 11 checks passed
@vmishenev vmishenev deleted the Add-K2-analysis-switcher branch November 9, 2023 15:34
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