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

Fix part of #1719, part of #3709: Add build stats CI workflow #4092

Merged
merged 244 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
8a3f45c
Add script for computing AAB/APK differences.
BenHenning Jan 11, 2022
ecb742a
Add workflow to show build stats.
BenHenning Jan 11, 2022
4e9ce47
Add missing new build vars.
BenHenning Jan 11, 2022
a34041e
Tests + docs + build changes.
BenHenning Jan 12, 2022
498d24e
Fix CommandExecutorImpl's timeout feature.
BenHenning Jan 12, 2022
a9b686d
Lint fixes.
BenHenning Jan 12, 2022
b06d2b2
Merge branch 'develop' into add-build-stats-ci-workflow
BenHenning Jan 12, 2022
4a9f003
Fix post-merge conflicts.
BenHenning Jan 12, 2022
a19c1a5
Fix workflow name.
BenHenning Jan 13, 2022
ae737ad
Fix workflow names & IDs.
BenHenning Jan 13, 2022
f0af5e5
Temporarily disable workflows -> faster iteration.
BenHenning Jan 13, 2022
4dfdd35
Add Proguard exemption.
BenHenning Jan 13, 2022
7895214
Remove broken & unneeded copy line.
BenHenning Jan 13, 2022
88adf22
Fix variable reference for comment body.
BenHenning Jan 13, 2022
accf003
Add more collapsing in comment.
BenHenning Jan 13, 2022
532bfe5
Only isolate special script deps.
BenHenning Jan 13, 2022
693ce0a
Re-enable CI workflows.
BenHenning Jan 13, 2022
b587830
Merge branch 'develop' into add-build-stats-ci-workflow
BenHenning Mar 20, 2022
2a5f6e0
Post-merge fixes & wording improvements.
BenHenning Mar 21, 2022
53de383
Upgrade to Kotlin 1.6.
BenHenning Mar 22, 2022
9061529
Fix guava_jre deps & in bundle tool client.
BenHenning Mar 22, 2022
31a7605
Buildifier lint fixes.
BenHenning Mar 22, 2022
9ca7e2b
Migrate to rules_jvm_external 5.1.
BenHenning Mar 27, 2023
7238b59
Fix JVm dep build warnings.
BenHenning Mar 27, 2023
f6188ac
Fix Maven license check & update the list.
BenHenning Mar 28, 2023
2c3b6ea
Fix issues with compute_affected_tests.
BenHenning Mar 29, 2023
c325bc9
Use base SHA for computing affected tests.
BenHenning Mar 29, 2023
2012647
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Mar 29, 2023
47f9c02
Post-merge lint fix.
BenHenning Mar 29, 2023
8ae5aa8
Fix updated TODOs.
BenHenning Mar 29, 2023
de3cf14
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Mar 29, 2023
b2ca68b
Fix Dagger structure.
BenHenning Mar 30, 2023
839be0f
Upgrade Dagger version.
BenHenning Mar 30, 2023
c2fe337
Fix test builds that depend on Dagger generation.
BenHenning Mar 30, 2023
a543500
Update Maven dependency licenses.
BenHenning Mar 30, 2023
b882832
Fix broken test & binary builds.
BenHenning Mar 30, 2023
c5b940b
Add support for Kotlin 1.6.
BenHenning Mar 30, 2023
10ae796
Correctly interact with rules_kotlin.
BenHenning Mar 30, 2023
1cf7b76
Fix upgrade by downgrading Moshi to 1.13.
BenHenning Mar 30, 2023
d2799f0
Turn on warnings as errors for Kotlin.
BenHenning Mar 31, 2023
86dacfb
Fix Java build & other warnings.
BenHenning Apr 1, 2023
bc62b22
Try to fix AndroidX databinding compile race.
BenHenning Apr 1, 2023
6f9bbd6
Fix static check failures.
BenHenning Apr 1, 2023
7cc591d
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Apr 1, 2023
a4790a4
Post-merge fixes.
BenHenning Apr 1, 2023
b74ecbb
Fix Proguard builds (temp) and static failures.
BenHenning Apr 1, 2023
aaa0299
Merge branch 'develop' into upgrade-compute-affected-tests
BenHenning Apr 1, 2023
d520fa9
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Apr 1, 2023
037be61
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning Apr 1, 2023
756534a
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning Apr 1, 2023
a92e37c
Fix CI breakages, including Gradle.
BenHenning Apr 1, 2023
bb8592b
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Apr 1, 2023
9890877
Post-merge dep fixes + test fix.
BenHenning Apr 1, 2023
f118fa2
Undo unnecessary changes.
BenHenning Apr 1, 2023
d8792a8
Fix broken CI checks.
BenHenning Apr 3, 2023
6b5291f
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Apr 3, 2023
125be3c
Post-merge fixes.
BenHenning Apr 3, 2023
59f7f87
Address self-review comments.
BenHenning Apr 3, 2023
0709b3d
Fix broken tests.
BenHenning Apr 3, 2023
e44b59d
Address TODOs as part of the migration.
BenHenning Apr 3, 2023
d2df104
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Apr 3, 2023
3b7df64
Post-merge fixes.
BenHenning Apr 3, 2023
a40f75a
Update build stats workflow.
BenHenning Apr 3, 2023
8a19b4e
Merge branch 'develop' into upgrade-compute-affected-tests
BenHenning May 11, 2023
773f7ff
Fix breakage from develop.
BenHenning May 11, 2023
311951f
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning May 11, 2023
9e377d5
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning May 12, 2023
f087488
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning May 12, 2023
413952c
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 12, 2023
e7435a5
Fix hanging CoroutineExecutorService test.
BenHenning May 12, 2023
0b4fefa
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 12, 2023
c0b3894
Permant-ify temporary TODOs for new tests.
BenHenning May 12, 2023
ec33a12
Upgrade runner for build stats.
BenHenning May 12, 2023
8a8101b
Fix broken Gradle build.
BenHenning May 12, 2023
d629d71
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 12, 2023
525a601
Merge branch 'develop' into upgrade-compute-affected-tests
BenHenning Jun 6, 2023
6cca78f
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Jun 6, 2023
327114d
Post-merge fixes.
BenHenning Jun 6, 2023
bb4ff28
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning Jun 6, 2023
5d924f4
Post-merge fixes.
BenHenning Jun 6, 2023
8690354
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning Jun 6, 2023
66bf94f
Post-merge fixes.
BenHenning Jun 6, 2023
667bf89
Fix a variety of dev platform-specific issues.
BenHenning Aug 22, 2023
fb59232
Tidy some things up, and revert fragment test.
BenHenning Aug 28, 2023
2551d4b
Fix test behavior inconsistency in test.
BenHenning Sep 11, 2023
714f3ea
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Sep 11, 2023
7488b9f
Fix broken ProfileAndDeviceIdFragmentTest test.
BenHenning Sep 13, 2023
e3d4091
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Oct 26, 2023
5671673
Post-merge fix.
BenHenning Oct 26, 2023
f5ed0c9
Merge branch 'fix-platform-specific-issues' into upgrade-compute-affe…
BenHenning Oct 26, 2023
bd1466d
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Jan 16, 2024
d9b38ea
Merge branch 'fix-platform-specific-issues' into upgrade-compute-affe…
BenHenning Jan 16, 2024
9f1a2ec
Some follow-up post-merge fixes.
BenHenning Jan 17, 2024
39a3add
Make TodoOpenCheck locally runnable.
BenHenning Jan 18, 2024
4f7bfd6
Simplify GitHubIssue & some static fixes/docs.
BenHenning Jan 18, 2024
000bba3
Add ScriptBackgroundCoroutineDispatcher.
BenHenning Jan 18, 2024
79878cd
Some more robustness fixes.
BenHenning Jan 19, 2024
a5f71d6
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Jan 19, 2024
0b55bd4
Post-merge fixes.
BenHenning Jan 19, 2024
53d6727
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Jan 19, 2024
00c7c28
Post-merge fixes & adjustments.
BenHenning Jan 20, 2024
bd97611
Fix BUILD file lint issue.
BenHenning Jan 20, 2024
d54829d
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Jan 20, 2024
fa9cae4
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Jan 20, 2024
0618b12
Static fix checks.
BenHenning Jan 20, 2024
fb148ea
Merge branch 'make-todo-check-locally-runnable' into upgrade-compute-…
BenHenning Jan 20, 2024
ab326ff
Post-merge fixes.
BenHenning Jan 20, 2024
d5bfad5
Merge branch 'upgrade-compute-affected-tests' of github.com:oppia/opp…
BenHenning Jan 20, 2024
1067a18
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Jan 20, 2024
1e2df14
Post-merge fixes.
BenHenning Jan 20, 2024
211487c
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Feb 6, 2024
1a666a9
Post-merge fixes.
BenHenning Feb 6, 2024
a2ee5d3
Add smoke tests for instr. binaries & tests.
BenHenning Feb 7, 2024
d5b9012
Some minor refactoring for readability.
BenHenning Feb 7, 2024
e6ec869
Fixed broken instrumentation builds.
BenHenning Feb 7, 2024
9f50469
Merge branch 'develop' into fix-instrumentation-build-failure
BenHenning Feb 7, 2024
8dbf4dc
Add missing CODEOWNERS line.
BenHenning Feb 7, 2024
9c38057
Remove old files from CODEOWNERS.
BenHenning Feb 7, 2024
f2ff4e3
Merge branch 'fix-instrumentation-build-failure' into fix-platform-sp…
BenHenning Feb 7, 2024
fad48ed
Add missing tests for TestBlazeWorkspace changes.
BenHenning Feb 8, 2024
e1802c8
Add missing Firebase auth tests.
BenHenning Feb 8, 2024
00c32f6
Merge branch 'fix-instrumentation-build-failure' into fix-platform-sp…
BenHenning Feb 8, 2024
2f87f4d
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Feb 8, 2024
aa3547c
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 8, 2024
d3cbd93
Post-merge fixes for previously missed tests.
BenHenning Feb 8, 2024
13e4358
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Feb 8, 2024
622aced
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 8, 2024
50f41d2
Merge branch 'develop' into fix-instrumentation-build-failure
BenHenning Feb 8, 2024
c8df70e
Merge branch 'fix-instrumentation-build-failure' into fix-platform-sp…
BenHenning Feb 8, 2024
c85d421
Merge branch 'develop' into fix-instrumentation-build-failure
BenHenning Feb 9, 2024
dcf27b6
Merge branch 'fix-instrumentation-build-failure' into fix-platform-sp…
BenHenning Feb 9, 2024
2369514
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Feb 9, 2024
c7ec5d4
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Feb 9, 2024
4b418bd
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 9, 2024
d6a9f70
Merge branch 'make-todo-check-locally-runnable' into upgrade-compute-…
BenHenning Feb 9, 2024
8de4d51
Improve new test robustness.
BenHenning Feb 9, 2024
3f69f11
Fix updated Maven license deps.
BenHenning Feb 9, 2024
ea8e0b1
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 9, 2024
2916770
Update scripts/src/javatests/org/oppia/android/scripts/common/GitClie…
BenHenning Feb 14, 2024
f2d810a
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Feb 14, 2024
808f412
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Feb 14, 2024
2315aea
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 14, 2024
af51395
Add tests for GitHubClient & TodoOpenCheck.
BenHenning Feb 14, 2024
6856e3c
Merge branch 'develop' into fix-platform-specific-issues
BenHenning Feb 14, 2024
5a050de
Merge branch 'fix-platform-specific-issues' into introduce-better-scr…
BenHenning Feb 14, 2024
13b8d4b
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 14, 2024
280b3ec
Add missing docs.
BenHenning Feb 14, 2024
0bd7e2f
Merge branch 'make-todo-check-locally-runnable' into upgrade-compute-…
BenHenning Feb 14, 2024
5951c0f
Post-merge fixes.
BenHenning Feb 15, 2024
ee71b32
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Feb 15, 2024
3627067
Update Maven dep list checker & updater scripts.
BenHenning Feb 15, 2024
a5eb624
Merge branch 'develop' into introduce-better-script-execution-support
BenHenning Feb 20, 2024
ae239b3
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Feb 20, 2024
34ea6aa
Fix broken TodoOpenCheck tests & check exemptions.
BenHenning Feb 20, 2024
df61985
Merge branch 'make-todo-check-locally-runnable' into upgrade-compute-…
BenHenning Feb 20, 2024
161ae8d
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Feb 20, 2024
8c87993
Fix broken checks & failing static checks.
BenHenning Feb 22, 2024
bb6e681
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning Feb 22, 2024
5c812a1
Post merge build, test, and static check fixes.
BenHenning Feb 23, 2024
57c275c
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning Feb 23, 2024
e0e74d5
Merge branch 'develop' into introduce-better-script-execution-support
BenHenning Mar 4, 2024
2dd0cd7
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Mar 4, 2024
79a2f0f
Merge branch 'make-todo-check-locally-runnable' into upgrade-compute-…
BenHenning Mar 4, 2024
60458bf
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning Mar 4, 2024
228a037
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning Mar 4, 2024
195d604
Some post-merge fixes.
BenHenning Mar 4, 2024
3bdd1e0
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning Mar 4, 2024
7cd345b
Silence deprecation warnings.
BenHenning Mar 5, 2024
70df9b3
Merge branch 'develop' into introduce-better-script-execution-support
BenHenning Mar 14, 2024
04fc8b8
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Mar 14, 2024
c301eed
Address reviewer comment.
BenHenning Mar 14, 2024
51a96ce
Merge branch 'develop' into introduce-better-script-execution-support
seanlip Mar 15, 2024
b3e2fd9
Merge commit 'e2f94e41e4cba3bc5b5f3af65f7c43a6543b4c52' into introduc…
BenHenning Mar 20, 2024
73a8bce
Merge branch 'introduce-better-script-execution-support' into make-to…
BenHenning Mar 20, 2024
f48f78e
Merge branch 'develop' into make-todo-check-locally-runnable
BenHenning Mar 20, 2024
02ccc87
Merge branch 'develop' into make-todo-check-locally-runnable
BenHenning May 16, 2024
28fcb9d
Merge branch 'make-todo-check-locally-runnable' into upgrade-compute-…
BenHenning May 16, 2024
aa8988c
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning May 16, 2024
658c9f0
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning May 16, 2024
53d42e1
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning May 16, 2024
4cf06d4
Address self-review comments.
BenHenning May 16, 2024
0cc5d5d
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning May 17, 2024
c43c036
Address review comment.
BenHenning May 17, 2024
c30a839
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning May 17, 2024
fbac9a2
Post-merge fixes.
BenHenning May 17, 2024
840de58
Merge branch 'update-dagger-structure' into upgrade-to-kotlin1.6
BenHenning May 17, 2024
ce2c34b
Fix NetworkLoggingInterceptorTest.
BenHenning May 20, 2024
0f48cf5
Fix more tests & upgrade Robolectric.
BenHenning May 20, 2024
caf6f28
Fix more broken tests.
BenHenning May 20, 2024
118d32f
Undo Robolectric upgrade.
BenHenning May 21, 2024
956b358
Upgrade to rules_kotlin 1.5.0 beta 3.
BenHenning May 21, 2024
dd84da3
Merge branch 'upgrade-to-newer-rules-kotlin' into upgrade-to-kotlin1.6
BenHenning May 21, 2024
f5c07fc
Fix build-time Kotlin & Java warnings.
BenHenning May 22, 2024
0429177
Fix a few follow-up issues.
BenHenning May 22, 2024
8dcb531
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning May 22, 2024
c24069b
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 22, 2024
c2fee1b
Post-merge fixes.
BenHenning May 22, 2024
3dc6b7b
Merge branch 'develop' into upgrade-compute-affected-tests
BenHenning May 22, 2024
acd1c0d
Merge branch 'develop' into upgrade-compute-affected-tests
BenHenning May 22, 2024
c672af0
Address reviewer comment.
BenHenning May 22, 2024
1b19f5b
Merge branch 'upgrade-compute-affected-tests' into update-rules-jvm-e…
BenHenning May 22, 2024
3e923e2
Follow-up variable rename for clarity.
BenHenning May 22, 2024
9af41bd
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning May 22, 2024
6100394
Merge branch 'update-dagger-structure' into upgrade-to-newer-rules-ko…
BenHenning May 22, 2024
b6c3ebe
Merge branch 'upgrade-to-newer-rules-kotlin' into fix-build-time-kotl…
BenHenning May 22, 2024
d3cea44
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning May 22, 2024
da57feb
Address static check failures.
BenHenning May 22, 2024
32733a0
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 22, 2024
441e293
Move forward TODO fixes from #4937.
BenHenning May 23, 2024
2f1eed7
Remove unused view model bridge classes.
BenHenning May 23, 2024
0c96f8d
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning May 23, 2024
afde202
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 23, 2024
e57be5b
Rework CI workflow.
BenHenning May 24, 2024
a07d3a6
Address all reviewer comments.
BenHenning May 25, 2024
785d408
Pull in other warning fixes from #4886.
BenHenning May 26, 2024
7ccba36
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning May 26, 2024
f74d059
Pulled forward Gradle change from #4886.
BenHenning May 26, 2024
baa2c50
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 26, 2024
7951d46
Merge branch 'develop' into update-rules-jvm-external
BenHenning May 26, 2024
d4d8646
Merge branch 'develop' into update-rules-jvm-external
BenHenning May 27, 2024
b6cfd74
Merge branch 'update-rules-jvm-external' into update-dagger-structure
BenHenning May 27, 2024
0468e81
Merge branch 'develop' into update-dagger-structure
BenHenning May 27, 2024
47ad078
Merge branch 'update-dagger-structure' into upgrade-to-newer-rules-ko…
BenHenning May 27, 2024
828e43e
Merge branch 'upgrade-to-newer-rules-kotlin' into fix-build-time-kotl…
BenHenning May 27, 2024
eda781e
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning May 27, 2024
82c530a
Down version to 1.6.10.
BenHenning May 27, 2024
05bc1c2
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 27, 2024
7c186c3
Merge branch 'develop' into upgrade-to-newer-rules-kotlin
BenHenning May 28, 2024
dffff83
Merge branch 'upgrade-to-newer-rules-kotlin' into fix-build-time-kotl…
BenHenning May 28, 2024
bc79bf7
Address review comment.
BenHenning May 29, 2024
2d3f5d5
Merge branch 'develop' into fix-build-time-kotlin-java-warnings
BenHenning May 29, 2024
bc98d27
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning May 29, 2024
bacbc2a
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning May 29, 2024
4b26fd5
Merge branch 'develop' into fix-build-time-kotlin-java-warnings
BenHenning Jun 3, 2024
fd69342
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning Jun 3, 2024
3dcc2ac
Merge branch 'develop' into fix-build-time-kotlin-java-warnings
BenHenning Jun 11, 2024
4cbf04c
Merge branch 'fix-build-time-kotlin-java-warnings' into upgrade-to-ko…
BenHenning Jun 11, 2024
f97c111
Add config for Kotlin warnings.
BenHenning Jun 11, 2024
e9ac7f3
Address reviewer comment.
BenHenning Jun 11, 2024
c1d6959
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Jun 11, 2024
3b682f0
Address lint failures.
BenHenning Jun 11, 2024
9af2662
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Jun 11, 2024
89a184d
Merge branch 'develop' into upgrade-to-kotlin1.6
BenHenning Jun 12, 2024
cae201f
Merge branch 'upgrade-to-kotlin1.6' into add-build-stats-ci-workflow
BenHenning Jun 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ class TopicPracticeFragment : InjectableFragment() {
var selectedSkillId = HashMap<Int, MutableList<String>>()
if (savedInstanceState != null) {
selectedIdList = savedInstanceState.getIntegerArrayList(SUBTOPIC_ID_LIST_ARGUMENT_KEY)!!
@Suppress("UNCHECKED_CAST") // Not quite safe. TODO(#4437): Convert this to a type-safe proto.
// TODO(#4437): Convert this to a type-safe proto.
@Suppress("UNCHECKED_CAST") // Not quite safe.
selectedSkillId = savedInstanceState
.getSerializable(SKILL_ID_LIST_ARGUMENT_KEY)!! as HashMap<Int, MutableList<String>>
}
Expand Down
16 changes: 7 additions & 9 deletions config/proguard/kotlin-proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
-dontwarn sun.misc.Signal
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

# TODO(#4120): Reevaluate if these exemptions are needed long-term.
-dontwarn kotlin.text.Regex$splitToSequence*
# Potentially a Kotlin 1.4-only exception.
-dontwarn kotlin.time.jdk8.DurationConversionsJDK8Kt
# This seems to be a Kotlin 1.6-specific issue. It seems safe to ignore since the class appears to
# be fully generated.
# The entirety of ClassValueCtorCache is ignored for warnings because it tries to reference an
# inherited method from java.lang.ClassValue (which isn't available in the Android SDK). It will
# eventually be an option per https://issuetracker.google.com/issues/196063118, though only on U+
# devices. This is safe to ignore because kotlinx.coroutines avoids using ExceptionConstructors.kt
# (which houses ClassValueCtorCache & the cache it's referencing) when on Android, per:
# https://github.com/Kotlin/kotlinx.coroutines/pull/2997, specifically:
# https://github.com/Kotlin/kotlinx.coroutines/blob/3574c2/kotlinx-coroutines-core/jvm/src/internal/ExceptionsConstructor.kt#L17.
-dontwarn kotlinx.coroutines.internal.ClassValueCtorCache
-dontwarn kotlinx.coroutines.DelayKt
-dontwarn kotlinx.coroutines.flow.Flow*
-dontwarn kotlinx.coroutines.flow.SharingStartedKt
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ class ExplorationProgressController @Inject constructor(
when {
commandQueue == null ->
AsyncResult.Failure(IllegalStateException("Session isn't initialized yet."))
!commandQueue.offer(message) ->
!commandQueue.trySend(message).isSuccess ->
AsyncResult.Failure(IllegalStateException(lazyFailureMessage()))
// Ensure that the result is first reset since there will be a delay before the message is
// processed (if there's a flow).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class CpuPerformanceSnapshotter(
}

private fun sendSwitchIconificationCommand(newIconification: AppIconification) {
commandQueue.offer(CommandMessage.SwitchIconification(newIconification)).apply {
commandQueue.trySend(CommandMessage.SwitchIconification(newIconification)).isSuccess.apply {
if (!this) {
val exception = IllegalStateException("Iconification switching failed")
consoleLogger.e(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class QuestionAssessmentProgressController @Inject constructor(
when {
commandQueue == null ->
AsyncResult.Failure(IllegalStateException("Session isn't initialized yet."))
!commandQueue.offer(message) ->
!commandQueue.trySend(message).isSuccess ->
AsyncResult.Failure(IllegalStateException(lazyFailureMessage()))
// Ensure that the result is first reset since there will be a delay before the message is
// processed (if there's a flow).
Expand Down
28 changes: 14 additions & 14 deletions scripts/assets/maven_dependencies.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -1253,8 +1253,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib:1.6.0"
artifact_version: "1.6.0"
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib:1.6.21"
artifact_version: "1.6.21"
license {
license_name: "The Apache License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand All @@ -1264,8 +1264,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0"
artifact_version: "1.6.0"
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21"
artifact_version: "1.6.21"
license {
license_name: "The Apache License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand All @@ -1275,8 +1275,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0"
artifact_version: "1.6.0"
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21"
artifact_version: "1.6.21"
license {
license_name: "The Apache License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand All @@ -1286,8 +1286,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0"
artifact_version: "1.6.0"
artifact_name: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21"
artifact_version: "1.6.21"
license {
license_name: "The Apache License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand All @@ -1297,8 +1297,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"
artifact_version: "1.4.1"
artifact_name: "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
artifact_version: "1.6.4"
license {
license_name: "The Apache Software License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand All @@ -1308,8 +1308,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1"
artifact_version: "1.4.1"
artifact_name: "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
artifact_version: "1.6.4"
license {
license_name: "The Apache Software License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand All @@ -1319,8 +1319,8 @@ maven_dependency {
}
}
maven_dependency {
artifact_name: "org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.4.1"
artifact_version: "1.4.1"
artifact_name: "org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.6.4"
artifact_version: "1.6.4"
license {
license_name: "The Apache Software License, Version 2.0"
original_link: "https://www.apache.org/licenses/LICENSE-2.0.txt"
Expand Down
3 changes: 1 addition & 2 deletions third_party/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ kt_jvm_import(
visibility = ["@maven//:__subpackages__"],
deps = [
":_stopgap_lib_for_kotlinx_coroutines_desugar_do_not_depend",
"//third_party:org_jetbrains_kotlin_kotlin-stdlib-common",
"//third_party:org_jetbrains_kotlin_kotlin-stdlib-jdk8",
"//third_party:org_jetbrains_kotlin_kotlin-stdlib-jdk8_jar",
],
)

Expand Down
6 changes: 3 additions & 3 deletions third_party/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ MAVEN_PRODUCTION_DEPENDENCY_VERSIONS = {
"org.checkerframework:checker-compat-qual": "2.5.5",
"org.checkerframework:checker-qual": "3.21.3",
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar": "1.3.72",
"org.jetbrains.kotlinx:kotlinx-coroutines-android": "1.4.1",
"org.jetbrains.kotlinx:kotlinx-coroutines-core": "1.4.1",
"org.jetbrains.kotlinx:kotlinx-coroutines-guava": "1.4.1",
"org.jetbrains.kotlinx:kotlinx-coroutines-android": "1.6.4",
"org.jetbrains.kotlinx:kotlinx-coroutines-core": "1.6.4",
"org.jetbrains.kotlinx:kotlinx-coroutines-guava": "1.6.4",
"org.jetbrains:annotations:jar": "13.0",
}

Expand Down