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

Combine Java/Kotlin sources in Dackka Plugin #4166

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

daymxn
Copy link
Member

@daymxn daymxn commented Oct 4, 2022

After investigating why AGP's Kotlin directories shared the same sources as the Java variant (b/46984444), it has become apparent that this separation does not have any benefit to us- and is intended behavior. Because of this, I've removed all referenced of the bug- and combined Java and Kotlin source set variables during Dackka generation.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2022

buildSrc Test Results

18 tests   18 ✔️  1m 26s ⏱️
  4 suites    0 💤
  4 files      0

Results for commit 085e4ed.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2022

Unit Test Results

   395 files  +   316     395 suites  +316   20m 42s ⏱️ + 19m 49s
4 718 tests +3 621  4 696 ✔️ +3 615  22 💤 +6  0 ±0 
4 734 runs  +3 637  4 712 ✔️ +3 631  22 💤 +6  0 ±0 

Results for commit 085e4ed. ± Comparison against base commit ab87571.

@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • base

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?8.65 kB? (?)
  • firebase-abt

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?13.8 kB? (?)
    apk (aggressive)?85.8 kB? (?)
    apk (release)?688 kB? (?)
  • firebase-annotations

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?8.89 kB? (?)
  • firebase-appcheck

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?37.6 kB? (?)
    apk (aggressive)?332 kB? (?)
    apk (release)?978 kB? (?)
  • firebase-appcheck-debug

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?11.6 kB? (?)
    apk (aggressive)?332 kB? (?)
    apk (release)?980 kB? (?)
  • firebase-appcheck-debug-testing

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?6.26 kB? (?)
    apk (aggressive)?334 kB? (?)
    apk (release)?1.02 MB? (?)
  • firebase-appcheck-interop

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.03 kB? (?)
    apk (aggressive)?329 kB? (?)
    apk (release)?966 kB? (?)
  • firebase-appcheck-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.98 kB? (?)
    apk (aggressive)?356 kB? (?)
    apk (release)?1.92 MB? (?)
  • firebase-appcheck-playintegrity

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?10.1 kB? (?)
    apk (aggressive)?332 kB? (?)
    apk (release)?991 kB? (?)
  • firebase-appcheck-safetynet

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?12.1 kB? (?)
    apk (aggressive)?332 kB? (?)
    apk (release)?992 kB? (?)
  • firebase-appdistribution

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?140 kB? (?)
    apk (aggressive)?777 kB? (?)
    apk (release)?2.00 MB? (?)
  • firebase-appdistribution-api

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?14.2 kB? (?)
    apk (aggressive)?85.8 kB? (?)
    apk (release)?689 kB? (?)
  • firebase-appdistribution-api-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.84 kB? (?)
    apk (aggressive)?110 kB? (?)
    apk (release)?1.63 MB? (?)
  • firebase-common

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?50.1 kB? (?)
    apk (aggressive)?85.1 kB? (?)
    apk (release)?683 kB? (?)
  • firebase-common-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?6.03 kB? (?)
    apk (aggressive)?109 kB? (?)
    apk (release)?1.62 MB? (?)
  • firebase-components

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?42.8 kB? (?)
    apk (aggressive)?8.68 kB? (?)
    apk (release)?31.9 kB? (?)
  • firebase-config

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?63.0 kB? (?)
    apk (aggressive)?94.4 kB? (?)
    apk (release)?736 kB? (?)
  • firebase-config-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.58 kB? (?)
    apk (aggressive)?119 kB? (?)
    apk (release)?1.67 MB? (?)
  • firebase-crashlytics

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?341 kB? (?)
    apk (aggressive)?217 kB? (?)
    apk (release)?895 kB? (?)
  • firebase-crashlytics-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?6.59 kB? (?)
    apk (aggressive)?237 kB? (?)
    apk (release)?1.83 MB? (?)
  • firebase-crashlytics-ndk

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?1.67 MB? (?)
    apk (aggressive / arm64-v8a)?1.33 MB? (?)
    apk (aggressive / armeabi-v7a)?838 kB? (?)
    apk (aggressive / x86)?1.38 MB? (?)
    apk (aggressive / x86_64)?1.43 MB? (?)
    apk (release / arm64-v8a)?2.00 MB? (?)
    apk (release / armeabi-v7a)?1.51 MB? (?)
    apk (release / x86)?2.05 MB? (?)
    apk (release / x86_64)?2.11 MB? (?)
  • firebase-database

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?488 kB? (?)
    apk (aggressive)?330 kB? (?)
    apk (release)?1.14 MB? (?)
  • firebase-database-collection

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?33.6 kB? (?)
    apk (aggressive)?312 kB? (?)
    apk (release)?941 kB? (?)
  • firebase-database-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?22.6 kB? (?)
    apk (aggressive)?354 kB? (?)
    apk (release)?2.08 MB? (?)
  • firebase-datatransport

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?4.94 kB? (?)
    apk (aggressive)?132 kB? (?)
    apk (release)?771 kB? (?)
  • firebase-decoders-json

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?7.67 kB? (?)
    apk (aggressive)?8.68 kB? (?)
    apk (release)?15.3 kB? (?)
  • firebase-dynamic-links

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?54.6 kB? (?)
    apk (aggressive)?331 kB? (?)
    apk (release)?979 kB? (?)
  • firebase-dynamic-links-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?8.28 kB? (?)
    apk (aggressive)?355 kB? (?)
    apk (release)?1.92 MB? (?)
  • firebase-dynamic-module-support

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.67 kB? (?)
    apk (aggressive)?94.3 kB? (?)
    apk (release)?735 kB? (?)
  • firebase-encoders

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    apk (aggressive)?8.68 kB? (?)
    apk (release)?15.3 kB? (?)
  • firebase-encoders-json

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?10.7 kB? (?)
    apk (aggressive)?8.68 kB? (?)
    apk (release)?20.1 kB? (?)
  • firebase-encoders-proto

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    apk (aggressive)?8.68 kB? (?)
    apk (release)?21.6 kB? (?)
  • firebase-encoders-reflective

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?7.80 kB? (?)
    apk (aggressive)?8.68 kB? (?)
    apk (release)?22.2 kB? (?)
  • firebase-firestore

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?1.30 MB? (?)
    apk (aggressive)?492 kB? (?)
    apk (release)?3.32 MB? (?)
  • firebase-firestore-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?13.7 kB? (?)
    apk (aggressive)?512 kB? (?)
    apk (release)?4.26 MB? (?)
  • firebase-functions

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?25.8 kB? (?)
    apk (aggressive)?399 kB? (?)
    apk (release)?1.21 MB? (?)
  • firebase-functions-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.69 kB? (?)
    apk (aggressive)?418 kB? (?)
    apk (release)?2.15 MB? (?)
  • firebase-inappmessaging

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?470 kB? (?)
    apk (aggressive)?665 kB? (?)
    apk (release)?3.36 MB? (?)
  • firebase-inappmessaging-display

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?201 kB? (?)
    apk (aggressive)?1.50 MB? (?)
    apk (release)?4.61 MB? (?)
  • firebase-inappmessaging-display-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?17.6 kB? (?)
    apk (aggressive)?1.52 MB? (?)
    apk (release)?5.55 MB? (?)
  • firebase-inappmessaging-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.02 kB? (?)
    apk (aggressive)?685 kB? (?)
    apk (release)?4.29 MB? (?)
  • firebase-installations

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?54.9 kB? (?)
    apk (aggressive)?86.5 kB? (?)
    apk (release)?706 kB? (?)
  • firebase-installations-interop

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?8.06 kB? (?)
    apk (aggressive)?65.0 kB? (?)
    apk (release)?651 kB? (?)
  • firebase-installations-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?5.01 kB? (?)
    apk (aggressive)?111 kB? (?)
    apk (release)?1.64 MB? (?)
  • firebase-messaging

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?142 kB? (?)
    apk (aggressive)?440 kB? (?)
    apk (release)?1.14 MB? (?)
  • firebase-messaging-directboot

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?8.76 kB? (?)
    apk (aggressive)?440 kB? (?)
    apk (release)?1.14 MB? (?)
  • firebase-messaging-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?6.10 kB? (?)
    apk (aggressive)?460 kB? (?)
    apk (release)?2.08 MB? (?)
  • firebase-ml-modeldownloader

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?87.4 kB? (?)
    apk (aggressive)?143 kB? (?)
    apk (release)?823 kB? (?)
  • firebase-ml-modeldownloader-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?6.10 kB? (?)
    apk (aggressive)?163 kB? (?)
    apk (release)?1.76 MB? (?)
  • firebase-perf

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?311 kB? (?)
    apk (aggressive)?1.03 MB? (?)
    apk (release)?2.47 MB? (?)
  • firebase-perf-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?15.6 kB? (?)
    apk (aggressive)?1.05 MB? (?)
    apk (release)?3.41 MB? (?)
  • firebase-segmentation

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?20.0 kB? (?)
    apk (aggressive)?87.1 kB? (?)
    apk (release)?712 kB? (?)
  • firebase-storage

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?116 kB? (?)
    apk (aggressive)?330 kB? (?)
    apk (release)?1.01 MB? (?)
  • firebase-storage-ktx

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?13.1 kB? (?)
    apk (aggressive)?354 kB? (?)
    apk (release)?1.95 MB? (?)
  • protolite-well-known-types

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?999 kB? (?)
    apk (aggressive)?134 kB? (?)
    apk (release)?663 kB? (?)
  • transport-api

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?6.74 kB? (?)
    apk (aggressive)?8.68 kB? (?)
    apk (release)?14.9 kB? (?)
  • transport-backend-cct

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?53.6 kB? (?)
    apk (aggressive)?58.2 kB? (?)
    apk (release)?105 kB? (?)
  • transport-runtime

    TypeBase (ab87571)Merge (7d0a5c9)Diff
    aar?180 kB? (?)
    apk (aggressive)?44.0 kB? (?)
    apk (release)?83.5 kB? (?)

Test Logs

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

@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

  • firebase-database

    Overall coverage changed from 50.18% (ab87571) to 50.23% (7d0a5c9) by +0.05%.

    FilenameBase (ab87571)Merge (7d0a5c9)Diff
    DefaultPersistenceManager.java74.76%75.73%+0.97%
    WebsocketConnection.java32.77%35.03%+2.26%
  • firebase-firestore

    Overall coverage changed from 44.26% (ab87571) to 44.26% (7d0a5c9) by +0.00%.

    FilenameBase (ab87571)Merge (7d0a5c9)Diff
    DeleteMutation.java90.48%95.24%+4.76%
  • firebase-messaging

    Overall coverage changed from 85.19% (ab87571) to 85.23% (7d0a5c9) by +0.04%.

    FilenameBase (ab87571)Merge (7d0a5c9)Diff
    FirebaseMessaging.java76.21%75.77%-0.44%
    RequestDeduplicator.java80.00%90.00%+10.00%
  • firebase-storage

    Overall coverage changed from ? (ab87571) to 86.34% (7d0a5c9) by ?.

    46 individual files with coverage change

    FilenameBase (ab87571)Merge (7d0a5c9)Diff
    ActivityLifecycleListener.java?74.14%?
    AdaptiveStreamBuffer.java?84.62%?
    CancelException.java?100.00%?
    CancellableTask.java?100.00%?
    ControllableTask.java?100.00%?
    DeleteNetworkRequest.java?100.00%?
    DeleteStorageTask.java?100.00%?
    ExponentialBackoffSender.java?86.00%?
    FileDownloadTask.java?80.00%?
    FirebaseStorage.java?83.67%?
    FirebaseStorageComponent.java?100.00%?
    GetDownloadUrlTask.java?96.77%?
    GetMetadataNetworkRequest.java?100.00%?
    GetMetadataTask.java?85.19%?
    GetNetworkRequest.java?100.00%?
    HttpURLConnectionFactory.java?0.00%?
    HttpURLConnectionFactoryImpl.java?50.00%?
    ListNetworkRequest.java?100.00%?
    ListResult.java?100.00%?
    ListTask.java?85.71%?
    NetworkRequest.java?86.67%?
    OnPausedListener.java?0.00%?
    OnProgressListener.java?0.00%?
    ResumableNetworkRequest.java?100.00%?
    ResumableUploadByteRequest.java?90.91%?
    ResumableUploadCancelRequest.java?100.00%?
    ResumableUploadQueryRequest.java?100.00%?
    ResumableUploadStartRequest.java?95.24%?
    Slashes.java?88.24%?
    Sleeper.java?0.00%?
    SleeperImpl.java?100.00%?
    SmartHandler.java?87.50%?
    StorageException.java?69.09%?
    StorageMetadata.java?86.34%?
    StorageReference.java?89.94%?
    StorageReferenceUri.java?100.00%?
    StorageRegistrar.java?100.00%?
    StorageTask.java?84.89%?
    StorageTaskManager.java?100.00%?
    StorageTaskScheduler.java?100.00%?
    StreamDownloadTask.java?88.89%?
    TaskListenerImpl.java?100.00%?
    UpdateMetadataNetworkRequest.java?100.00%?
    UpdateMetadataTask.java?82.14%?
    UploadTask.java?83.11%?
    Util.java?73.24%?

Test Logs

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

@daymxn daymxn merged commit fa4adcf into master Oct 4, 2022
@daymxn daymxn deleted the daymon-combine-java-and-kotlin-sources-for-dackka branch October 4, 2022 19:14
lfkellogg added a commit that referenced this pull request Oct 26, 2022
* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

* Add appcheck-ktx to bom config (#4081)

* Removing getRunningAppProcesses since the process_name isn't used (#4057)

* Fix Documentation classpath (#4099)

b/241795594

* Add projectSpecificSources back to the DackkaPlugin (#4110)

* Added extra method for TaskProviders

* Added specificSources method back

* Revert to dependsOn for docstubs dep

* Revamp test harness for macrobenchmark tests (#4071)

* Fix dependabot security alerts (#4123)

* Make firesite transform cacheable (#4124)

* add coroutines-play-services as a transitive dep to firebase-common-ktx (#4044)

* add kotlinx-coroutines-play-services as a transitive dep to firebase-common-ktx

* Update to Coroutines 1.6.4

* database-ktx: add callbackFlow for eventlisteners (#4012)

* add callbackFlow for RTDB's ValueEventListener

* add callbackFlow for RTDB's ChildEventListener

* delegate trySendBlocking to DefaultRunLoop

* add group to ktx.gradle

* update api.txt file

* Update released versions (#4135)

* Upgrade dackkaConfig (#4141)

* Add names to all Firebase components (#4117)

* Add appcheck's ktx artifact back to package list file (#4142)

* Add strict mode testing in firebase-messaging (#4095)

* Add gralde property to instrument Fireperf E2E test (#4144)

The perf gradle PR is #334 in the gradle repo.

b/246802885

* Resolve StrictMode violation in App Check. (#4085)

* Resolve StrictMode violation in App Check.

* Attempt to fix some tests.

* Fix unit tests.

* Make `retrieveStoredAppCheckTokenInBackground` private instead of package-private.

* Move listener invocations back to the main thread while keeping disk write on background thread.

* Refactor to use lambda syntax.

* Implemented exponential backoff and max retry with resumable uploads (#4087)

* storage-ktx: add callbackFlow for upload/download progress (#4139)

* add kotlin flows to storage

* update api.txt file

* add group to storage/ktx.gradle

* Make a best effort attempt to flush reports at crash time (#4112)

This should allow us to upload reports for start-up crashes.

* Public Count (#4130)

* Public Count

* Disable prod testing

* Long to long

* Api.txt

* Backfill changelog

* Add PR

* Fix assertEquals error

* Re-write API javadocs for COUNT API (#4143)

Co-authored-by: Denver Coneybeare <dconeybe@google.com>

* [Fireperf][AASA] send `_experiment_app_start_ttid` trace, controlled by RC flag (#4114)

* log _experiment_as_ttid

* send event and RRC mitigation

* add RC wip

* modified save to cache when RC fetches

* dev-app manifest override

* unit test for RCc cache saving

* better name and comments

* better formatting remoteconfigmanagertest

* better comments and added local RC lookup back

* Specify unique ref tags in Dackka output (#4149)

* Add util methods for gradle projects

* Disable Javadoc generation on empty projects

* Fix ref path generation in Dackka output

* Add documentation for util methods

* Update the DackkaPlugin docs

* Reduced path to relative from tenant

* Reduced ref head path even more

* Fixed ref tag path to working solution

* Disabled publishJavadoc by default for tests

It should be enabled explicitly when being tested anyhow, and causes issues otherwise. Instead of disabling it for the tests that don't need it- this is much quicker and easier to manager.

* Add strict mode tests to inappmessaging and inappmessaging-display (#4136)

* Fix strict mode violations for appcheck (#4148)

* Fix strict mode violations for appcheck

* Formatting

* Add copyright header

* Populate SDKs changelog files (#4070)

* first try seeding changelogs

* Added unreleased section to CHANGELOG

* Fix empty lines between sections

* Add missing entries for abt

* Update data to include latest releases

* Update CHANGELOG.md

* Add missing line in unreleased section for perf.

* Enable CHANGELOG check globally (#4084)

* Enable CHANGELOG check globally

* Simplify conditional.

* Enable COUNT integration tests, now that backend support has rolled out (#4163)

* Remove separation of kotlin directories in dackka (#4166)

* Deprecate App Check SafetyNet SDK (#4187)

* Add `@Deprecated` annotations to Firebase App Check SafetyNet SDK public API.

* Add `@deprecated` tag in the Javadoc as well.

* Remove stale entries from Unreleased section. (#4185)

* Assign ConfigContainer Builder return values. (#4194)

* update bom (#4155)

* update bom

* update

* update

* feat(perf-ktx): add trace(name, block) extension function (#4180)

* Remove smoke test for app indexing (#4219)

App Indexing is deprecated starting BoM 31.0.0 .

https://firebase.google.com/support/release-notes/android#bom_v31-0-0

* Bump Robolectric to 4.9 (#4161)

* Add plexus-utils for firebase-database tests

Looks like firebase-database tests use plexus-utils dependency of
Robolectric directly. But this dependency was removed by Robolectric. So
this CL adds plexus-utils explictly for firebase-database tests.

Signed-off-by: utzcoz <utzcoz@outlook.com>

* Bump Robolectric to 4.9

1. Use legacy LooperMode for tests explicitly, because recent
   Robolectric releases switch to use PAUSED mode default. Before these
   tests migrate to PAUSED mode, they use LEGACY mode to pass tests.
2. Migrate Assert.assertThat to Truth.assertThat to avoid using removed
   APIs.
3. All build.gradle use the same robolectricVersion except
   transport-backend-cct because Robolectric 4.8+ has compatibility
   problem for TelephonyManager with low compile/targetSdkversion.
   To keep httpclient compatibility, transport-backend-ccts continues to
   use Robolectric 4.3.1.
4. Remove unused exclude protobuf-java from Robolectric.
5. Add necessary protobuf-lite dependency on classpath for
   some ktx modules' tests.

Signed-off-by: utzcoz <utzcoz@outlook.com>

Signed-off-by: utzcoz <utzcoz@outlook.com>

* return exception if modelname is empty (#4226)

* Add "create release PR" github action (#4236)

This implementation:

- Creates the base branch (name is based in user input)
- Creates the release branch (name is based in user input)
- Creates the release.cfg file in the release branch without adding
  any SDK (module) to it.

It can create the branches based on any existing branch of the repo.

* Sync spec tests from web SDK to Android SDK (#4230)

* Update versions (#4238)

* Update versions

* Exclude .github dir from `firebaseContinuousIntegration` paths (#4239)

* Performing IN expansion (#4221)

* WIP: `in` expansion.

* Add composite filter in-expansion test.

* Fix formatting.

* Run in-expansion as part of DNF computation and add tests.

* Add test with nested IN filters with CSI.

* Add tests for other cases.

* typo fix (#4237)

* Firestore: Add test that verifies count query error message when missing index (#4232)

* refactor(functions): update firebase-iid to 21.1.0 (#4225)

* refactor(functions): update firebase-iid to 21.1.0

* Update CHANGELOG.md

* Update CHANGELOG.md

* bump firebase-iid-interop to 17.1.0

* exclude firebase-components from firebase-iid dependency

Signed-off-by: utzcoz <utzcoz@outlook.com>
Co-authored-by: Vladimir Kryachko <vkryachko@google.com>
Co-authored-by: Daymon <17409137+daymxn@users.noreply.github.com>
Co-authored-by: Raymond Lam <raymondlam@google.com>
Co-authored-by: Yifan Yang <yifayan@gmail.com>
Co-authored-by: Rosário Pereira Fernandes <rosariopf@google.com>
Co-authored-by: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com>
Co-authored-by: Jeremy Jiang <64182239+jeremyjiang-dev@users.noreply.github.com>
Co-authored-by: Rosalyn Tan <rosalyntan@google.com>
Co-authored-by: Maneesh Tewani <maneesht@users.noreply.github.com>
Co-authored-by: Matthew Robertson <mrober@users.noreply.github.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Denver Coneybeare <dconeybe@google.com>
Co-authored-by: Leo Zhan <zhanl@google.com>
Co-authored-by: Rodrigo Lazo <rlazo@users.noreply.github.com>
Co-authored-by: Dana Silver <danasilver@google.com>
Co-authored-by: Vinay Guthal <vguthal@google.com>
Co-authored-by: utzcoz <43091780+utzcoz@users.noreply.github.com>
Co-authored-by: argzdev <alvinrustan@google.com>
Co-authored-by: Mila <107142260+milaGGL@users.noreply.github.com>
Co-authored-by: Ehsan <ehsannas@gmail.com>
Co-authored-by: cherylEnkidu <96084918+cherylEnkidu@users.noreply.github.com>
lfkellogg added a commit that referenced this pull request Oct 27, 2022
* Minor updates to the App Distribution test app. (#4088)

* Update various versions (#4090)

* Updated various versions (dependencies and SDK to fix Android resource linking failure (AAPT: error: resource android:attr/lStar not found.)

* Update compileSdk/targetSdkVersion from 31 to 33

* Update with latest changes from master (#4091)

* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

Co-authored-by: Vladimir Kryachko <vkryachko@google.com>
Co-authored-by: Daymon <17409137+daymxn@users.noreply.github.com>

* Resolve strict mode violations in firebase-appdistribution (#4092)

* merge master into fad/next (#4102)

* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

Co-authored-by: Vladimir Kryachko <vkryachko@google.com>
Co-authored-by: Daymon <17409137+daymxn@users.noreply.github.com>

* Remove `release` field. (#4174)

* Merge changes from master into fad/next (#4199)

* Merge latest master into fad/next (#4247)

* Deflake firebase_common HeartBeat tests. (#4083)

The tests relied on `TestOnCompleteListener` that was not safe to call
more than once since it was based on a count down latch. So reusing it
multiple times would cause await() to return immediately.

This change makes it so that a new latch is created for every await()
call, making all await() calls work.

Fixes: http://b/245956774

* Add Javadoc support to the DackkaPlugin (#4082)

* Add util method for copying directories

* Add javadoc support to our dackka plugin

* Remove the extension check on fromDirectory

* Add a note about cache compliance and the javadoc task

* Add reference to kotlin stdlib package list (#4093)

* Add appcheck-ktx to bom config (#4081)

* Removing getRunningAppProcesses since the process_name isn't used (#4057)

* Fix Documentation classpath (#4099)

b/241795594

* Add projectSpecificSources back to the DackkaPlugin (#4110)

* Added extra method for TaskProviders

* Added specificSources method back

* Revert to dependsOn for docstubs dep

* Revamp test harness for macrobenchmark tests (#4071)

* Fix dependabot security alerts (#4123)

* Make firesite transform cacheable (#4124)

* add coroutines-play-services as a transitive dep to firebase-common-ktx (#4044)

* add kotlinx-coroutines-play-services as a transitive dep to firebase-common-ktx

* Update to Coroutines 1.6.4

* database-ktx: add callbackFlow for eventlisteners (#4012)

* add callbackFlow for RTDB's ValueEventListener

* add callbackFlow for RTDB's ChildEventListener

* delegate trySendBlocking to DefaultRunLoop

* add group to ktx.gradle

* update api.txt file

* Update released versions (#4135)

* Upgrade dackkaConfig (#4141)

* Add names to all Firebase components (#4117)

* Add appcheck's ktx artifact back to package list file (#4142)

* Add strict mode testing in firebase-messaging (#4095)

* Add gralde property to instrument Fireperf E2E test (#4144)

The perf gradle PR is #334 in the gradle repo.

b/246802885

* Resolve StrictMode violation in App Check. (#4085)

* Resolve StrictMode violation in App Check.

* Attempt to fix some tests.

* Fix unit tests.

* Make `retrieveStoredAppCheckTokenInBackground` private instead of package-private.

* Move listener invocations back to the main thread while keeping disk write on background thread.

* Refactor to use lambda syntax.

* Implemented exponential backoff and max retry with resumable uploads (#4087)

* storage-ktx: add callbackFlow for upload/download progress (#4139)

* add kotlin flows to storage

* update api.txt file

* add group to storage/ktx.gradle

* Make a best effort attempt to flush reports at crash time (#4112)

This should allow us to upload reports for start-up crashes.

* Public Count (#4130)

* Public Count

* Disable prod testing

* Long to long

* Api.txt

* Backfill changelog

* Add PR

* Fix assertEquals error

* Re-write API javadocs for COUNT API (#4143)

Co-authored-by: Denver Coneybeare <dconeybe@google.com>

* [Fireperf][AASA] send `_experiment_app_start_ttid` trace, controlled by RC flag (#4114)

* log _experiment_as_ttid

* send event and RRC mitigation

* add RC wip

* modified save to cache when RC fetches

* dev-app manifest override

* unit test for RCc cache saving

* better name and comments

* better formatting remoteconfigmanagertest

* better comments and added local RC lookup back

* Specify unique ref tags in Dackka output (#4149)

* Add util methods for gradle projects

* Disable Javadoc generation on empty projects

* Fix ref path generation in Dackka output

* Add documentation for util methods

* Update the DackkaPlugin docs

* Reduced path to relative from tenant

* Reduced ref head path even more

* Fixed ref tag path to working solution

* Disabled publishJavadoc by default for tests

It should be enabled explicitly when being tested anyhow, and causes issues otherwise. Instead of disabling it for the tests that don't need it- this is much quicker and easier to manager.

* Add strict mode tests to inappmessaging and inappmessaging-display (#4136)

* Fix strict mode violations for appcheck (#4148)

* Fix strict mode violations for appcheck

* Formatting

* Add copyright header

* Populate SDKs changelog files (#4070)

* first try seeding changelogs

* Added unreleased section to CHANGELOG

* Fix empty lines between sections

* Add missing entries for abt

* Update data to include latest releases

* Update CHANGELOG.md

* Add missing line in unreleased section for perf.

* Enable CHANGELOG check globally (#4084)

* Enable CHANGELOG check globally

* Simplify conditional.

* Enable COUNT integration tests, now that backend support has rolled out (#4163)

* Remove separation of kotlin directories in dackka (#4166)

* Deprecate App Check SafetyNet SDK (#4187)

* Add `@Deprecated` annotations to Firebase App Check SafetyNet SDK public API.

* Add `@deprecated` tag in the Javadoc as well.

* Remove stale entries from Unreleased section. (#4185)

* Assign ConfigContainer Builder return values. (#4194)

* update bom (#4155)

* update bom

* update

* update

* feat(perf-ktx): add trace(name, block) extension function (#4180)

* Remove smoke test for app indexing (#4219)

App Indexing is deprecated starting BoM 31.0.0 .

https://firebase.google.com/support/release-notes/android#bom_v31-0-0

* Bump Robolectric to 4.9 (#4161)

* Add plexus-utils for firebase-database tests

Looks like firebase-database tests use plexus-utils dependency of
Robolectric directly. But this dependency was removed by Robolectric. So
this CL adds plexus-utils explictly for firebase-database tests.

Signed-off-by: utzcoz <utzcoz@outlook.com>

* Bump Robolectric to 4.9

1. Use legacy LooperMode for tests explicitly, because recent
   Robolectric releases switch to use PAUSED mode default. Before these
   tests migrate to PAUSED mode, they use LEGACY mode to pass tests.
2. Migrate Assert.assertThat to Truth.assertThat to avoid using removed
   APIs.
3. All build.gradle use the same robolectricVersion except
   transport-backend-cct because Robolectric 4.8+ has compatibility
   problem for TelephonyManager with low compile/targetSdkversion.
   To keep httpclient compatibility, transport-backend-ccts continues to
   use Robolectric 4.3.1.
4. Remove unused exclude protobuf-java from Robolectric.
5. Add necessary protobuf-lite dependency on classpath for
   some ktx modules' tests.

Signed-off-by: utzcoz <utzcoz@outlook.com>

Signed-off-by: utzcoz <utzcoz@outlook.com>

* return exception if modelname is empty (#4226)

* Add "create release PR" github action (#4236)

This implementation:

- Creates the base branch (name is based in user input)
- Creates the release branch (name is based in user input)
- Creates the release.cfg file in the release branch without adding
  any SDK (module) to it.

It can create the branches based on any existing branch of the repo.

* Sync spec tests from web SDK to Android SDK (#4230)

* Update versions (#4238)

* Update versions

* Exclude .github dir from `firebaseContinuousIntegration` paths (#4239)

* Performing IN expansion (#4221)

* WIP: `in` expansion.

* Add composite filter in-expansion test.

* Fix formatting.

* Run in-expansion as part of DNF computation and add tests.

* Add test with nested IN filters with CSI.

* Add tests for other cases.

* typo fix (#4237)

* Firestore: Add test that verifies count query error message when missing index (#4232)

* refactor(functions): update firebase-iid to 21.1.0 (#4225)

* refactor(functions): update firebase-iid to 21.1.0

* Update CHANGELOG.md

* Update CHANGELOG.md

* bump firebase-iid-interop to 17.1.0

* exclude firebase-components from firebase-iid dependency

Signed-off-by: utzcoz <utzcoz@outlook.com>
Co-authored-by: Vladimir Kryachko <vkryachko@google.com>
Co-authored-by: Daymon <17409137+daymxn@users.noreply.github.com>
Co-authored-by: Raymond Lam <raymondlam@google.com>
Co-authored-by: Yifan Yang <yifayan@gmail.com>
Co-authored-by: Rosário Pereira Fernandes <rosariopf@google.com>
Co-authored-by: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com>
Co-authored-by: Jeremy Jiang <64182239+jeremyjiang-dev@users.noreply.github.com>
Co-authored-by: Rosalyn Tan <rosalyntan@google.com>
Co-authored-by: Maneesh Tewani <maneesht@users.noreply.github.com>
Co-authored-by: Matthew Robertson <mrober@users.noreply.github.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Denver Coneybeare <dconeybe@google.com>
Co-authored-by: Leo Zhan <zhanl@google.com>
Co-authored-by: Rodrigo Lazo <rlazo@users.noreply.github.com>
Co-authored-by: Dana Silver <danasilver@google.com>
Co-authored-by: Vinay Guthal <vguthal@google.com>
Co-authored-by: utzcoz <43091780+utzcoz@users.noreply.github.com>
Co-authored-by: argzdev <alvinrustan@google.com>
Co-authored-by: Mila <107142260+milaGGL@users.noreply.github.com>
Co-authored-by: Ehsan <ehsannas@gmail.com>
Co-authored-by: cherylEnkidu <96084918+cherylEnkidu@users.noreply.github.com>

* Fix ImageUtils test after robolectric update

* Remove extra member initialization in test app

* Ignore flaky test

Signed-off-by: utzcoz <utzcoz@outlook.com>
Co-authored-by: Kai Bolay <kbolay@google.com>
Co-authored-by: Vladimir Kryachko <vkryachko@google.com>
Co-authored-by: Daymon <17409137+daymxn@users.noreply.github.com>
Co-authored-by: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com>
Co-authored-by: Raymond Lam <raymondlam@google.com>
Co-authored-by: Yifan Yang <yifayan@gmail.com>
Co-authored-by: Rosário Pereira Fernandes <rosariopf@google.com>
Co-authored-by: Jeremy Jiang <64182239+jeremyjiang-dev@users.noreply.github.com>
Co-authored-by: Rosalyn Tan <rosalyntan@google.com>
Co-authored-by: Maneesh Tewani <maneesht@users.noreply.github.com>
Co-authored-by: Matthew Robertson <mrober@users.noreply.github.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Denver Coneybeare <dconeybe@google.com>
Co-authored-by: Leo Zhan <zhanl@google.com>
Co-authored-by: Rodrigo Lazo <rlazo@users.noreply.github.com>
Co-authored-by: Dana Silver <danasilver@google.com>
Co-authored-by: Vinay Guthal <vguthal@google.com>
Co-authored-by: utzcoz <43091780+utzcoz@users.noreply.github.com>
Co-authored-by: argzdev <alvinrustan@google.com>
Co-authored-by: Mila <107142260+milaGGL@users.noreply.github.com>
Co-authored-by: Ehsan <ehsannas@gmail.com>
Co-authored-by: cherylEnkidu <96084918+cherylEnkidu@users.noreply.github.com>
@firebase firebase locked and limited conversation to collaborators Nov 4, 2022
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