Repository navigation
chore(kotlin): check the public API against a committed dump - #2819
Open
aleksandar-apostolov wants to merge 1 commit into
Open
aleksandar-apostolov wants to merge 1 commit into
aleksandar-apostolov wants to merge 1 commit into
Conversation
👋 Hi Aleksandar, want a second pair of eyes on this?I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.
Or comment |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Refs AND-2082
Nothing caught a change to the Kotlin SDK's public API in review. #2809, for one, breaks several signatures.
Changes
sdks/kotlin/core/api/core.apiis the committed dump of the public API.apiCheckruns in thekotlinjob ofclient-sdks.ymland fails when the API changes without the dump../gradlew :core:apiDumpregenerates it.core/build.gradle.kts: neither it nor the Kotlin plugin's own ABI validation sets itself up under AGP 9's built-in Kotlin. asm, asm-tree and kotlin-metadata-jvm are added to the catalog for them.sdk-kotlinskill says to regenerate the dump in the PR that changes the API.Validation
:core:apiCheckpasses; a temporary public function fails it with the diff.:core:testDebugUnitTest :core:lintDebug: 339 tests pass (10 skipped), no lint errors. Juno compiles. #2809 will need the dump regenerated; #2810 and #2817 do not.