commons-app / apps-android-commons

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons
https://commons-app.github.io/
Apache License 2.0
1.03k stars 1.24k forks source link

Blockers for 4.2.0 release #5308

Closed nicolas-raoul closed 1 year ago

nicolas-raoul commented 1 year ago

Any blockers for 4.2.0? Feel free to add if I missed something.

Must fix:

Would be much better to fix, but not a blocker either:

nicolas-raoul commented 1 year ago

@sivaraam I believe all blockers are fixed. How about pushing a release to our beta testers? :-)

sivaraam commented 1 year ago

There's a regression in Ritika's changes that's discussed in https://github.com/commons-app/apps-android-commons/issues/5273#issuecomment-1732990195

I think it would be nice to see the fix for that before the release? It's resulting in the in-app camera upload not opening when location is turned off.

nicolas-raoul commented 1 year ago

@sivaraam I think all blockers are fixed now, there are a few things that are not polished but nothing that justifies holding back the greatness of this new version from our users, I believe. :-)

sivaraam commented 1 year ago

Sure. Let me look into pushing a release over the weekend. 👍🏼

sivaraam commented 1 year ago

Reg. the release. I've created the tag v4.2.0 and included the release notes for the same. Let me know in case I've missed to include anything in the release notes.

I'm facing some odd issues with building the release variant of the app. Somehow it seems like Proguard doesn't work with Java 11 all of a sudden (it says it only supports Java 10 max.). I'm unable to build the data-client when switching to Java 8. Not sure about the cause of this. @nicolas-raoul Feel free to push a beta release if you could do so. Otherwise, I'll look into the root-cause of this and push the beta soon.

Note: It's a bit sad that the CI still fails. It would be nice if we're able to figure out the reason behind the failure of the same. I suppose it is fine if we skip that for the beta release, at least. We should definitely get it back to shape for the production release.

mnalis commented 1 year ago

Note: It's a bit sad that the CI still fails

sivaraam commented 1 year ago

After crossing some hurdles with getting the production APK (as observed via conversations at #5323 ), pushed out the v4.2.0 beta release for review today. The changes are available in the v4.2.0-beta tag which points at a commit from the v4.2.0-release branch.

PS: I've deleted the previous v4.2.0 tag as it didn't contain code that was in releasable state.

mnalis commented 1 year ago

PS: I've deleted the previous v4.2.0 tag as it didn't contain code that was in releasable state.

Great to see progress on long awaited release @sivaraam!

Though, I'd highly advise against reusing v4.2.0 tag at least (go with v4.2.1 for actual working release). Because, git won't overwrite existing tags in other forks by default, same tag for different commits would also cause all kind of logistic problems trying to report bug or trace where exactly it happened, it might cause issues with autobuilders (e.g. will f-droid build catch the new release if tag remains the same?) etc. And nothing good would come out from reusing v4.2.0 tag.

(I probably wouldn't have even removed the tag, just marked it as buggy -- as realistically, every .0 release is kind-of expected to be at least somewhat buggy anyway :smiley_cat: ; no need to stress about it. But it is also OK if tag is removed, just let's not reintroduce such "burnt" tag later)

sivaraam commented 1 year ago

That's a good point @mnalis! I'll avoid deleting the tag in future and make sure push out actual prod using a different tag 👍🏼

PS: I'll try and push out that v4.2.0 tag as it used to be for reference purposes, if possible.

sivaraam commented 1 year ago

For the note, I've pushed out the deleted v4.2.0 again and released it as a broken version. The v4.2.0-beta has the actual working code.

nicolas-raoul commented 1 year ago

We now have 166 users on the 4.2.0 beta, and still zero ANR/crash for that version :-) Screenshot from 2023-10-19 16-35-08

nicolas-raoul commented 1 year ago

@sivaraam Srishti fixed the unit tests, I replaced the Mapbox key, we can now consider that there are no blockers. :-) How about releasing a new beta, then upgrade to production for 10% of the users 24 hours later?

sivaraam commented 1 year ago

Tagged v4.2.1 and pushed the same for testing 👍🏼

nicolas-raoul commented 1 year ago

Only 2 ANR (Application Not Responding) and 1 crash so far, for all 4.2.x beta versions, each affecting 1 user:

Screenshot 2023-10-27 at 15 07 02

All of these 3 seem to have also happened recently in the production version, so they are not new bugs:

Screenshot 2023-10-27 at 15 15 28

It looks pretty good to me. How about releasing now? :-)

sivaraam commented 1 year ago

Makes sense, Nicolas. I've sent the release for review 👍🏼

sivaraam commented 1 year ago

Makes sense, Nicolas. I've sent the release for review 👍🏼

Just wanted to update that the release has been published successfully. So, closing this one :-)

nicolas-raoul commented 1 year ago

Wonderful, thanks all and especially @RitikaPahwa4444 thanks to whom this version is so reliable!