Skip to content

Restore the Android API compatibility gate - #316

Merged
kirich1409 merged 2 commits into
developfrom
fea-22-api-compat-gate
Nov 7, 2026
Merged

kirich1409 merged 2 commits into
developfrom
fea-22-api-compat-gate

Conversation

@kirich1409

@kirich1409 kirich1409 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Closes #225

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Chore / refactor

Checklist

  • Tests added or updated
  • Docs updated (KDoc, README, CHANGELOG)
  • ./gradlew spotlessCheck passes
  • CHANGELOG.md updated

Notes for reviewers

Restores a dump-and-check for the public Android surface named in docs/specs/api-compat-gate.md. checkAndroidApi fails CI when a gated Android signature differs from its committed baseline. updateAndroidApi is the only writer and is not a CI step.

The nine baselines are the Kotlin 2.4.20 JVM ABI dump of the published Android compilation (commonMain + androidMain, or the AGP release compilation). Preview iOS and JVM are not inputs. The gate does not compute the version bump.

No device report. This is a library CI gate.

@kirich1409 kirich1409 changed the title Document the Android API compatibility gate Restore the Android API compatibility gate Nov 7, 2026
@kirich1409
kirich1409 marked this pull request as ready for review November 7, 2026 00:38
Copilot AI balanced review requested due to automatic review settings November 7, 2026 00:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Name the published Android modules the restored dump-and-check covers, and keep preview iOS and JVM surfaces off that major-bump rule.
checkAndroidApi compares the public Android compilation of the nine stable modules to committed dumps. A signature change fails CI until updateAndroidApi writes the baseline on purpose. Preview iOS and JVM stay out of the gate.
@kirich1409
kirich1409 force-pushed the fea-22-api-compat-gate branch from c43e885 to 430560a Compare November 7, 2026 00:40
Copilot AI balanced review requested due to automatic review settings November 7, 2026 00:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@kirich1409
kirich1409 merged commit 4473391 into develop Nov 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants