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

Running monkey on release variant to detect any Proguard misconfiguration #644

Merged
merged 6 commits into from
Jan 20, 2022

Conversation

edualonso
Copy link
Contributor

@edualonso edualonso commented Jan 19, 2022

Fixes #643

Moved Proguard sync-related exceptions located under cinterop to the library-base Proguard consumer file as they are needed when instantiating JVM's JavaClassGlobalDef.

Added missing exceptions for RealmObjectCompanion and JVMScheduler as well since it was also causing similar crashes.

Added a step to CI where the monkey runner is executed on the release sample app instead of the debug one to catch these types of Proguard issues.

Eduardo López added 2 commits January 19, 2022 19:06
…library-base proguard consumer file as they are needed when instantiating JNI's JavaClassGlobalDef. Additionally added a step to CI where the monkey runner is executed on the release sample app instead of the debug one.
@edualonso edualonso requested a review from nhachicha January 19, 2022 18:23
@cla-bot cla-bot bot added the cla: yes label Jan 19, 2022
Copy link
Collaborator

@nhachicha nhachicha left a comment

Choose a reason for hiding this comment

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

Nice catch 👏, I think you forgot to either rebase on top of my branch or add the commit that modifies the Jenkins file to run monkey against the release variant

kotlinx.serialization.KSerializer serializer(...);
}

# Change here com.yourcompany.yourpackage
Copy link
Collaborator

Choose a reason for hiding this comment

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

The rules below were accidentally copied from the Bookshelf app

@edualonso
Copy link
Contributor Author

Nice catch 👏, I think you forgot to either rebase on top of my branch or add the commit that modifies the Jenkins file to run monkey against the release variant

🤦 that's right. I've already changed it. It will hopefully be fine on CI, since I ran it like 10 times on my machine yesterday.

@edualonso edualonso merged commit e69a711 into releases Jan 20, 2022
@edualonso edualonso deleted the el/ci-step-proguard-check branch January 20, 2022 07:55
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants