Skip to content

Refactor Publisher #4879

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

Merged
merged 19 commits into from
Apr 17, 2023
Merged

Refactor Publisher #4879

merged 19 commits into from
Apr 17, 2023

Conversation

daymxn
Copy link
Member

@daymxn daymxn commented Apr 10, 2023

Per b/277637432,

This removes the Publisher class, and refactors the functionality that we still need into BaseFirebaseLibraryPlugin. This PR also comes with some optimizations and QOL improvements, such as;

  • Moving our afterEvaluate to where it's actually needed, instead of wrapping all of our publishing configuration in it (which will allow earlier access to the publishing plugin)
  • Usage of existing utility methods
  • Significantly reduced overhead for accumulating aar artifacts during pom customization
  • Additional general purpose util methods
  • Links to new tracking bugs keeping an audit of potential sources of work (when features are added to tools, and bugs are fixed)

@daymxn daymxn requested review from rlazo and davidmotson April 10, 2023 22:03
@daymxn daymxn self-assigned this Apr 10, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2023

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2023

Unit Test Results

   788 files  +  49     788 suites  +49   35m 14s ⏱️ + 3m 26s
4 864 tests ±    0  4 843 ✔️ +    3  21 💤 ±0  0  - 3 
9 637 runs  +781  9 595 ✔️ +783  42 💤 +1  0  - 3 

Results for commit b4d31b8. ± Comparison against base commit 8840eee.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 10, 2023

Coverage Report 1

Affected Products

  • firebase-messaging

    Overall coverage changed from 85.14% (8840eee) to 84.98% (cab6fe9) by -0.15%.

    FilenameBase (8840eee)Merge (cab6fe9)Diff
    FirebaseMessaging.java75.77%76.21%+0.44%
    MessagingAnalytics.java81.38%81.78%+0.40%
    RequestDeduplicator.java90.00%80.00%-10.00%
    TopicsSubscriber.java89.47%88.60%-0.88%
    TopicsSyncTask.java53.33%49.33%-4.00%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/tpfCZHaVHY.html

@daymxn daymxn requested a review from rlazo April 11, 2023 17:36
@github-actions
Copy link
Contributor

github-actions bot commented Apr 14, 2023

buildSrc Test Results

26 tests   26 ✔️  1m 21s ⏱️
  5 suites    0 💤
  5 files      0

Results for commit b4d31b8.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 17, 2023

@daymxn daymxn requested a review from rlazo April 17, 2023 19:21
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 17, 2023

Startup Time Report 1

The report is too large (117,063 chars) to be displayed on GitHub. Please check this report on GCS.

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/Ttbzz7exG6/index.html

@daymxn daymxn merged commit 5aa056e into master Apr 17, 2023
@daymxn daymxn deleted the daymon-refactor-publisher branch April 17, 2023 21:10
@daymxn daymxn mentioned this pull request Apr 21, 2023
@firebase firebase locked and limited conversation to collaborators May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants