-
Notifications
You must be signed in to change notification settings - Fork 624
Add keep on ComponentRegistrar to prevent renaming of key lookup #3287
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
Conversation
Hi @mkj-gram. Thanks for your PR. I'm waiting for a firebase member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Size Report 1Affected Products
Test Logs
Notes |
Coverage Report 1Affected ProductsNo changes between base commit (53ff022) and merge commit (d41b839).Test Logs
Notes |
@mkj-gram thanks for your contribution! Could you try syncing your branch to head and re-running the tests (commenting /retest)? Not sure what's causing the failures in check-changed. |
Also, please wait until #3384 is in to rebase your branch to make sure the fix is included. Thanks! |
/retest |
/test device-check-changed |
@mkj-gram: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Test failing is not related to the changes. Approved. Thanks! |
The name
com.google.firebase.components.ComponentRegistrar
is used as a key for looking up in the manifest by ComponentDiscovery. If a developer uses-adaptclassstrings
the string will be renamed and fail to lookup the correct name in the manifest. One such bug was reported at https://issuetracker.google.com/issues/209817768.The developer should never use
-adaptclassstrings
without specifying a filter but since the code uses a type name for component discovery it is best practice to keep the name to ensure it is not renamed.