Skip to content

Fix DTS snapshot validation in CI - #879

Open
bofeng-song wants to merge 6 commits into
cocos:mainfrom
bofeng-song:fix/check-dts-snapshot-sync
Open

Fix DTS snapshot validation in CI#879
bofeng-song wants to merge 6 commits into
cocos:mainfrom
bofeng-song:fix/check-dts-snapshot-sync

Conversation

@bofeng-song

@bofeng-song bofeng-song commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Regenerate the DTS snapshot from the declarations built for the pull request and fail the check when the generated snapshot differs from the committed file.

This prevents API changes from passing when the snapshot update was not included in the pull request.

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