Skip to content

Fix galaxy module deployment#3203

Merged
fire-at-will merged 4 commits into
samsung-devfrom
fix-galaxy-module-deployment
Mar 10, 2026
Merged

Fix galaxy module deployment#3203
fire-at-will merged 4 commits into
samsung-devfrom
fix-galaxy-module-deployment

Conversation

@fire-at-will

@fire-at-will fire-at-will commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Description

The release of the 9.23.1-galaxy-beta.1 didn't break, but it didn't truly succeed either. While the main and amazon modules were published, no purchases-store-galaxy module was ever published. I believe this is because the release job never downloaded the Samsung IAP AAR, so :feature:galaxy was not included during Gradle configuration. That meant the root publish task had no galaxy module to publish.

There was also no explicit BC7 galaxy publish step in Fastlane, unlike amazon.

This change fixes both issues by downloading the Samsung AAR in the deploy job before publishing, and by adding a dedicated feature:galaxy BC7 publication step.

Link to the deploy job in question: https://app.circleci.com/pipelines/github/RevenueCat/purchases-android/20121/workflows/ec6f8c48-734b-427c-84f7-b0558311d74f/jobs/156314


Note

Medium Risk
Touches CI/release publishing flow; while the change is small, mistakes could cause missing or broken Maven publications for Galaxy releases.

Overview
Fixes Galaxy module publishing in release deploys. The CircleCI deploy job now downloads the Samsung IAP SDK AAR before running fastlane android deploy, ensuring the Galaxy Gradle module is configured and eligible for publishing.

Fastlane’s deploy lane now also publishes a dedicated Billing Client 7 Galaxy artifact (purchases-store-galaxy-bc7) via feature:galaxy, mirroring the existing Amazon BC7 publish step.

Written by Cursor Bugbot for commit 651026f. This will update automatically on new commits. Configure here.

@fire-at-will fire-at-will marked this pull request as ready for review March 9, 2026 20:03
@fire-at-will fire-at-will requested a review from a team as a code owner March 9, 2026 20:03
@fire-at-will fire-at-will requested a review from tonidero March 9, 2026 20:03
@emerge-tools

emerge-tools Bot commented Mar 9, 2026

Copy link
Copy Markdown

📸 Snapshot Test

Base build not found

No build was found for the base commit 873e25f. This is required to generate a snapshot diff for your pull request.

It's possible that you created a branch off the base commit before all of the CI steps have finished processing, e.g. the one that uploads a build to our system. If that's the case, no problem! Just wait and this will eventually resolve.


🛸 Powered by Emerge Tools

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Snapshot deploy job missing Samsung AAR download step
    • Added the missing downloadSamsungIapAar step to the deploy-snapshot CircleCI job so :feature:galaxy is included before deploy_snapshot runs.

Create PR

Or push these changes by commenting:

@cursor push 9d0b7e0fe6
Preview (9d0b7e0fe6)
diff --git a/.circleci/config.yml b/.circleci/config.yml
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -482,6 +482,10 @@
           cache_prefix: v1a
       - prepare-signing-key
       - run:
+          name: Download Samsung IAP SDK AAR
+          command: |
+            ./gradlew downloadSamsungIapAar --no-daemon
+      - run:
           name: Deployment
           command: |
             bundle exec fastlane android deploy_snapshot
This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

Comment thread .circleci/config.yml
- run:
name: Download Samsung IAP SDK AAR
command: |
./gradlew downloadSamsungIapAar --no-daemon

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Snapshot deploy job missing Samsung AAR download step

High Severity

The deploy-snapshot CI job calls fastlane android deploy_snapshot, which invokes the deploy lane that now includes the new feature:galaxy BC7 publish step. However, unlike the deploy job, deploy-snapshot does not run downloadSamsungIapAar beforehand. Without the AAR, settings.gradle.kts won't include :feature:galaxy, so the feature:galaxy:publish Gradle task will fail, breaking all snapshot deployments.

Additional Locations (1)

Fix in Cursor Fix in Web

@fire-at-will fire-at-will Mar 10, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added in 75cf452

@codecov

codecov Bot commented Mar 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.19%. Comparing base (c0349ea) to head (75cf452).
⚠️ Report is 4 commits behind head on samsung-dev.

Additional details and impacted files
@@             Coverage Diff              @@
##           samsung-dev    #3203   +/-   ##
============================================
  Coverage        79.19%   79.19%           
============================================
  Files              356      356           
  Lines            14272    14272           
  Branches          1945     1945           
============================================
  Hits             11302    11302           
  Misses            2165     2165           
  Partials           805      805           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking good! Just something I don't think we need + a question

Comment thread .circleci/config.yml
Comment thread fastlane/Fastfile
@fire-at-will fire-at-will requested a review from tonidero March 10, 2026 14:48
@fire-at-will fire-at-will merged commit c025907 into samsung-dev Mar 10, 2026
33 of 34 checks passed
@fire-at-will fire-at-will deleted the fix-galaxy-module-deployment branch March 10, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants