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

Implement centralized config for Release Note generation #6099

Merged
merged 5 commits into from
Jul 15, 2024

Conversation

daymxn
Copy link
Member

@daymxn daymxn commented Jul 12, 2024

Per b/352342089,

This implements a new extension through FirebaseLibrary called ReleaseNotesConfigurationExtension. This can be configured through the releaseNotes helper method that takes an Action argument; similar to what we do with FirebaseTestLabExtension and FirebaseStaticAnalysis.

The goal of this move is to not only allow teams to modify their release notes metadata, but provide an obvious indicator of release note configuration that must be changed to properly generate release notes. This way, we avoid accidentally not generating release notes for libraries that should otherwise have them.

Furthermore, this opens the door for exposing more release note configurations to product teams (such as annotationsNotToDisplay, suppressedFiles, includedHeadTagsPath, package-list mappings, etc.,).

NO_RELEASE_CHANGE

@daymxn daymxn requested review from rlazo and davidmotson July 12, 2024 19:57
@daymxn daymxn self-assigned this Jul 12, 2024
Copy link
Contributor

github-actions bot commented Jul 12, 2024

Release note changes

No release note changes were detected. If you made changes that should be
present in the next release, ensure you've added an entry in the appropriate
CHANGELOG.md file(s).

Copy link
Contributor

Unit Test Results

     950 files  +     950       950 suites  +950   35m 20s ⏱️ + 35m 20s
  5 211 tests +  5 211    5 190 ✔️ +  5 190  21 💤 +21  0 ±0 
10 507 runs  +10 507  10 465 ✔️ +10 465  42 💤 +42  0 ±0 

Results for commit 3765d90. ± Comparison against base commit f23f6f1.

@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

  • firebase-database

    Overall coverage changed from 50.17% (f23f6f1) to 50.18% (6b47830) by +0.01%.

    FilenameBase (f23f6f1)Merge (6b47830)Diff
    QueryParams.java89.76%90.36%+0.60%
  • firebase-firestore

    Overall coverage changed from 45.89% (f23f6f1) to 45.89% (6b47830) by -0.00%.

    FilenameBase (f23f6f1)Merge (6b47830)Diff
    DeleteMutation.java95.24%90.48%-4.76%
  • firebase-messaging

    Overall coverage changed from 84.18% (f23f6f1) to 84.22% (6b47830) by +0.04%.

    FilenameBase (f23f6f1)Merge (6b47830)Diff
    FirebaseMessaging.java76.40%76.00%-0.40%
    RequestDeduplicator.java80.00%90.00%+10.00%
  • firebase-perf

    Overall coverage changed from ? (f23f6f1) to 70.81% (6b47830) by ?.

    104 individual files with coverage change

    FilenameBase (f23f6f1)Merge (6b47830)Diff
    AddTrace.java?0.00%?
    AndroidApplicationInfo.java?34.71%?
    AndroidApplicationInfoOrBuilder.java?0.00%?
    AndroidLogger.java?100.00%?
    AndroidMemoryReading.java?38.36%?
    AndroidMemoryReadingOrBuilder.java?0.00%?
    ApplicationInfo.java?45.00%?
    ApplicationInfoOrBuilder.java?0.00%?
    ApplicationProcessState.java?73.91%?
    AppStartTrace.java?77.37%?
    AppStateMonitor.java?85.55%?
    AppStateUpdateHandler.java?89.29%?
    Clock.java?100.00%?
    ConfigResolver.java?90.07%?
    ConfigurationConstants.java?97.93%?
    ConfigurationFlag.java?80.00%?
    ConsoleUrlGenerator.java?37.50%?
    Constants.java?95.65%?
    Counter.java?90.91%?
    CpuGaugeCollector.java?92.77%?
    CpuMetricReading.java?39.33%?
    CpuMetricReadingOrBuilder.java?0.00%?
    DaggerFirebasePerformanceComponent.java?100.00%?
    DeviceCacheManager.java?76.42%?
    FirebasePerfApplicationInfoValidator.java?92.86%?
    FirebasePerfEarly.java?76.92%?
    FirebasePerfGaugeMetricValidator.java?100.00%?
    FirebasePerfHttpClient.java?93.85%?
    FirebasePerfMetricProto.java?0.00%?
    FirebasePerfNetworkValidator.java?86.67%?
    FirebasePerfOkHttpClient.java?44.90%?
    FirebasePerformance.java?79.12%?
    FirebasePerformanceAttributable.java?0.00%?
    FirebasePerformanceComponent.java?0.00%?
    FirebasePerformanceInitializer.java?28.57%?
    FirebasePerformanceModule.java?100.00%?
    FirebasePerformanceModule_ProvidesConfigResolverFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesFirebaseAppFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesFirebaseInstallationsFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesRemoteConfigComponentFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesRemoteConfigManagerFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesSessionManagerFactory.java?100.00%?
    FirebasePerformanceModule_ProvidesTransportFactoryProviderFactory.java?100.00%?
    FirebasePerformance_Factory.java?100.00%?
    FirebasePerfRegistrar.java?100.00%?
    FirebasePerfTraceValidator.java?85.87%?
    FirebasePerfUrlConnection.java?44.44%?
    FirstDrawDoneListener.java?85.71%?
    FlgTransport.java?83.33%?
    FragmentStateMonitor.java?94.87%?
    FrameMetricsCalculator.java?96.77%?
    FrameMetricsRecorder.java?76.32%?
    GaugeManager.java?98.40%?
    GaugeMetadata.java?26.17%?
    GaugeMetadataManager.java?77.78%?
    GaugeMetadataOrBuilder.java?0.00%?
    GaugeMetric.java?39.47%?
    GaugeMetricOrBuilder.java?0.00%?
    HttpMetric.java?92.65%?
    ImmutableBundle.java?100.00%?
    InstrHttpInputStream.java?92.86%?
    InstrHttpOutputStream.java?98.00%?
    InstrHttpsURLConnection.java?94.32%?
    InstrHttpURLConnection.java?93.42%?
    InstrumentApacheHttpResponseHandler.java?100.00%?
    InstrumentOkHttpEnqueueCallback.java?100.00%?
    InstrURLConnectionBase.java?94.86%?
    LogWrapper.java?23.08%?
    MemoryGaugeCollector.java?89.66%?
    NetworkConnectionInfo.java?0.00%?
    NetworkConnectionInfoOrBuilder.java?0.00%?
    NetworkRequestMetric.java?49.16%?
    NetworkRequestMetricBuilder.java?95.97%?
    NetworkRequestMetricBuilderUtil.java?75.00%?
    NetworkRequestMetricOrBuilder.java?0.00%?
    Optional.java?86.67%?
    PendingPerfEvent.java?100.00%?
    PerfMetric.java?33.67%?
    PerfMetricOrBuilder.java?0.00%?
    PerfMetricValidator.java?93.55%?
    Performance.kt?7.14%?
    PerfSession.java?93.22%?
    PerfSessionOrBuilder.java?0.00%?
    PreDrawListener.java?94.12%?
    Rate.java?100.00%?
    RateLimiter.java?90.77%?
    RemoteConfigManager.java?91.43%?
    ResourceType.java?0.00%?
    ScreenTraceUtil.java?94.12%?
    SessionAwareObject.java?0.00%?
    SessionManager.java?100.00%?
    SessionVerbosity.java?68.42%?
    StorageUnit.java?57.89%?
    Timer.java?90.63%?
    Trace.java?95.83%?
    TraceMetric.java?43.14%?
    TraceMetricBuilder.java?100.00%?
    TraceMetricOrBuilder.java?0.00%?
    TransportInfo.java?0.00%?
    TransportInfoOrBuilder.java?0.00%?
    TransportManager.java?94.88%?
    URLAllowlist.java?94.44%?
    URLWrapper.java?0.00%?
    Utils.java?78.57%?

Test Logs

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

@google-oss-bot
Copy link
Contributor

Startup Time Report 1

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

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

Copy link
Contributor

buildSrc Test Results

37 tests   37 ✔️  1m 0s ⏱️
  8 suites    0 💤
  8 files      0

Results for commit 3765d90.

@daymxn daymxn merged commit cad0339 into main Jul 15, 2024
171 of 173 checks passed
@daymxn daymxn deleted the daymon-move-release-metadata-to-firebaselib branch July 15, 2024 16:09
@@ -19,7 +19,9 @@ plugins {
firebaseLibrary {
publishSources = true
publishJavadoc = false
publishReleaseNotes = false
releaseNotes {
enabled.set(false)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why are these set rather than = like publish* ?

@firebase firebase locked and limited conversation to collaborators Aug 15, 2024
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