Add CI script to catch missing .meta files#883
Merged
Merged
Conversation
Adds scripts/check-meta-files.sh which verifies every .cs, .asmdef, .shader, and .json file in RevenueCat/ and RevenueCatUI/ has a sibling .meta file. Run this in CI to prevent a repeat of the missing-meta compilation failure fixed in #875. Also adds two missing .meta files in IntegrationTests that the script surfaced. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a lightweight check-meta-files job that runs before export-package, failing fast if any .cs/.asmdef/.shader/.json file in RevenueCat/ or RevenueCatUI/ is missing its .meta file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
vegaro
approved these changes
Mar 30, 2026
tonidero
approved these changes
Mar 30, 2026
tonidero
left a comment
Contributor
There was a problem hiding this comment.
Just a comment, but I think it's good to go
(Sorry, had this in review since last week and forgot to submit :( )
RCGitBot
added a commit
that referenced
this pull request
Apr 1, 2026
**This is an automatic release.** ## RevenueCat SDK ### 📦 Dependency Updates * [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.54.0 (#885) via RevenueCat Git Bot (@RCGitBot) * [Android 9.28.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.28.1) * [Android 9.28.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.28.0) * [Android 9.27.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.27.0) * [iOS 5.67.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.0) * [iOS 5.66.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.66.0) ## RevenueCatUI SDK ### ✨ New Features * Add `OnPromotionalOfferSucceeded` callback to Customer Center, bump purchases-hybrid-common to 17.53.0 (#877) via RevenueCat Git Bot (@RCGitBot) ### 🔄 Other Changes * Add CI script to catch missing .meta files (#883) via Facundo Menzella (@facumenzella) * Bump fastlane-plugin-revenuecat_internal from `9a6911b` to `f11fe40` (#884) via dependabot[bot] (@dependabot[bot]) * security: pin GitHub Actions to SHA hashes (#882) via Alfonso Embid-Desmet (@alfondotnet) * Bump activesupport from 8.0.2.1 to 8.0.4.1 (#880) via dependabot[bot] (@dependabot[bot]) * Bump activesupport from 7.2.2.2 to 7.2.3.1 in /IntegrationTests (#881) via dependabot[bot] (@dependabot[bot]) * Merge release PR after deploy (#879) via Antonio Pallares (@ajpallares) * Require PR approval before release tagging (#878) via Antonio Pallares (@ajpallares) * Bump json from 2.15.0 to 2.15.2.1 in /IntegrationTests (#873) via dependabot[bot] (@dependabot[bot]) * Bump json from 2.18.1 to 2.19.2 (#874) via dependabot[bot] (@dependabot[bot])
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.
Summary
scripts/check-meta-files.shthat fails if any.cs,.asmdef,.shader, or.jsonfile inRevenueCat/orRevenueCatUI/is missing its.metafile.metafiles inIntegrationTests/that the script surfaced (PaywallsPresenterAPITests.csandCustomerCenterPresenterAPITests.cs)Prevents a repeat of #875, where a missing
.metafile caused compilation failures for UPM users in 8.7.0 and 8.8.0.Wire up by running
bash scripts/check-meta-files.shas a CI step (e.g. in CircleCI config or a Fastfile lane).Test plan
bash scripts/check-meta-files.shfrom repo root — should print✅ All asset files have corresponding .meta files..metafile and re-run — should fail with❌ Missing .meta file for: ...🤖 Generated with Claude Code