-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Upgrade Kotlin Version from 1.5.10 to 1.7.20 #5158
Comments
@nicolas-raoul Could you please assign this issue to me? |
@kartikaykaushik14 Done, thanks! |
I have been incrementally updating the Kotlin version of the app, and I was able to successfully upgrade the Kotlin version from 1.5.10 to 1.6.10. However, during the process of incrementing from 1.6.10 to 1.6.20, I encountered some errors in the tests that need to be addressed. Specifically in org.wikipedia.dataclient.mwapi.page.MwMobileViewPageLeadTest and org.wikipedia.dataclient.mwapi.page.MwPageClientTest.
I investigated the issue in MediaWiki and checked the exact URL we were passing as part of the test. I received the following output on running this URL manually -
Also, on checking this link, I found out that there is indeed no action for "mobileview". Please advise on how to proceed from here. |
Interesting, do you have any idea why the same test was not failing with Kotlin 1.6.10? If no immediate fix is found, disabling these unit tests temporarily might also be considered. In such a case, please let us know about how many unit tests would be impacted. Thanks a lot! |
I found 6 test cases that would be impacted if we plan to disable them temporarily. The build on my local is quite unstable. It sometimes fails even for the latest changes on the Master branch. Is there a way I could run the CI pipeline on my own for my branch to test changes? Also, it appears that MobileView API was deprecated and has been replaced by Mobile Content Service. See Link and Mobile Content Service |
Thanks a lot! I think it is OK to disable 6 test cases temporarily if that helps get us on F-Droid. Very interesting, would you mind creating a new issue ("bug" type) about Mobile Content Service? Thanks! |
CI unit tests run every time you push, right? If you want to re-run for any reason, feel free to push a dummy commit. :-) |
What is the user problem or growth opportunity you want to see solved?
As part of this issue and based on this comment, before migrating from Mapbox to MapLibre, we require certain upgrades in dependencies in our application. This enhancement is to upgrade the Kotlin version from 1.5.10 to 1.7.20.
Apart from satisfying the requirements of MapLibre, the upgrade in Kotlin has several advantages -
How do you know that this problem exists today? Why is this important?
No response
Who will benefit from it?
No response
Anything else you would like to add?
No response
The text was updated successfully, but these errors were encountered: