Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Jul 6, 2023

This addition does have some fragility with the current TASTy numbering scheme. The test script will change the TASTy version and recompile the compiler and library with this version to allow TASTy MiMa to read those files.

When we change to a new major version, there is the potential for this TASTy to not be readable from the latest release of TASTy MiMa. In that scenario, we would disable this test until a new version of TASTy MiMa is published.

Only test MiMa: [skip community_build] [skip docs] [skip test] [skip test_windows_fast] [skip test_sbt]

@nicolasstucki nicolasstucki self-assigned this Jul 6, 2023
@nicolasstucki nicolasstucki force-pushed the test-TASTy-MiMa-in-CI branch 5 times, most recently from a4e10dc to fea4f47 Compare July 7, 2023 09:44
@nicolasstucki
Copy link
Contributor Author

In time we need to find better ways to make tools work with new versions of TASTy that are still experimental.

run: |
./project/scripts/sbt ";scala3-interfaces/mimaReportBinaryIssues ;scala3-library-bootstrapped/mimaReportBinaryIssues ;scala3-library-bootstrappedJS/mimaReportBinaryIssues; tasty-core-bootstrapped/mimaReportBinaryIssues; stdlib-bootstrapped/mimaReportBinaryIssues"
- name: TASTy MiMa
Copy link
Contributor Author

@nicolasstucki nicolasstucki Jul 7, 2023

Choose a reason for hiding this comment

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

This takes around 5 minutes (normal MiMa takes 6 minutes). An alternative to this would be to create a new ci job that only executes on nightly or with a flag. Currently, I am the only one doing changes that require these tests and it might not be worth on each PR.

@nicolasstucki nicolasstucki requested a review from sjrd July 7, 2023 10:01
@nicolasstucki nicolasstucki assigned sjrd and unassigned nicolasstucki Jul 7, 2023
@nicolasstucki nicolasstucki marked this pull request as ready for review July 7, 2023 10:01
@nicolasstucki nicolasstucki force-pushed the test-TASTy-MiMa-in-CI branch from fea4f47 to 776cee8 Compare July 27, 2023 13:02
@sjrd sjrd merged commit face377 into scala:main Jul 31, 2023
@sjrd sjrd deleted the test-TASTy-MiMa-in-CI branch July 31, 2023 11:22
@Kordyjan Kordyjan added this to the 3.4.0 milestone Dec 20, 2023
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