Skip to content

Update API declarations in spec_update workflow#595

Merged
cguldner merged 1 commit into
dropbox:mainfrom
cguldner:fix-api-dump-in-spec-update
Jul 23, 2026
Merged

Update API declarations in spec_update workflow#595
cguldner merged 1 commit into
dropbox:mainfrom
cguldner:fix-api-dump-in-spec-update

Conversation

@cguldner

Copy link
Copy Markdown
Contributor

Summary

  • Run ./gradlew :core:apiDump :android:apiDump after :core:generateStone so the committed .api binary-compatibility declarations are regenerated

Problem

The spec update PR #594 fails :core:apiCheck (the kotlinx binary-compatibility-validator). When a spec update adds/changes public API, the checked-in core/api/core.api no longer matches and CI errors with "You can run :core:apiDump task to overwrite API declarations". Running apiDump in the workflow keeps it in sync.

Test plan

  • Re-trigger spec_update and confirm the resulting PR passes apiCheck

🤖 Generated with Claude Code

CI runs the binary-compatibility-validator (:core:apiCheck and
:android:apiCheck), which fails when a spec update changes the public
API. Run :core:apiDump and :android:apiDump after generation so the
committed .api declarations stay in sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cguldner
cguldner merged commit 7932db1 into dropbox:main Jul 23, 2026
5 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.

1 participant