Skip to content

Fix Slack notifications for nightly integration tests#3354

Merged
tonidero merged 3 commits into
mainfrom
fix-integration-tests-slack-notifications
Apr 16, 2026
Merged

Fix Slack notifications for nightly integration tests#3354
tonidero merged 3 commits into
mainfrom
fix-integration-tests-slack-notifications

Conversation

@tonidero

@tonidero tonidero commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Slack notifications for daily integration tests weren't working since #3242. This PR introduces a fix for that.

Test plan

  • Verify the run-purchases-integration-tests-notify-slack-test job sends a Slack notification
  • Revert the temp test commit before merging
  • Verify nightly scheduled run sends Slack after merge

🤖 Generated with Claude Code


Note

Low Risk
Small, localized CI/Fastlane wiring change that only affects whether Slack notifications are sent after integration tests.

Overview
Fixes Slack notifications for scheduled purchases integration tests by passing notify_slack into the run_purchases_integration_tests Fastlane lane as a command-line option from CircleCI, instead of relying on a step-level NOTIFY_SLACK environment variable.

Updates the Fastlane lane to gate Slack result posting on options[:notify_slack], ensuring the workflow’s boolean parameter is interpreted consistently.

Reviewed by Cursor Bugbot for commit f80ef44. Bugbot is set up for automated code reviews on this repo. Configure here.

tonidero and others added 2 commits April 16, 2026 16:40
Adds a temporary integration test job with notify_slack: true to verify
the Slack notification fix works on a branch push. Revert after verifying.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tonidero tonidero marked this pull request as ready for review April 16, 2026 15:02
@tonidero tonidero requested a review from a team as a code owner April 16, 2026 15:02

@rickvdl rickvdl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, that's a bit simpler!

@emerge-tools

emerge-tools Bot commented Apr 16, 2026

Copy link
Copy Markdown

📸 Snapshot Test

21 modified, 567 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
TestPurchasesUIAndroidCompatibility
com.revenuecat.testpurchasesuiandroidcompatibility
0 0 9 0 322 0 ⏳ Needs approval
TestPurchasesUIAndroidCompatibility Paparazzi
com.revenuecat.testpurchasesuiandroidcompatibility.paparazzi
0 0 12 0 245 0 ⏳ Needs approval

🛸 Powered by Emerge Tools

@tonidero tonidero enabled auto-merge April 16, 2026 15:18

@ajpallares ajpallares left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice catch Toni!

@tonidero tonidero added this pull request to the merge queue Apr 16, 2026
@codecov

codecov Bot commented Apr 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.21%. Comparing base (30e7757) to head (f80ef44).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3354   +/-   ##
=======================================
  Coverage   79.21%   79.21%           
=======================================
  Files         354      354           
  Lines       14121    14121           
  Branches     1948     1948           
=======================================
  Hits        11186    11186           
  Misses       2133     2133           
  Partials      802      802           

☔ 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.

Merged via the queue into main with commit 48778d3 Apr 16, 2026
37 of 38 checks passed
@tonidero tonidero deleted the fix-integration-tests-slack-notifications branch April 16, 2026 15:52
matteinn pushed a commit to matteinn/purchases-android that referenced this pull request Apr 28, 2026
**This is an automatic release.**

## RevenueCat SDK
### 🐞 Bugfixes
* fix: move Google BillingClient connection off the main thread (RevenueCat#3369)
via Toni Rico (@tonidero)
* [EXTERNAL] fix(google): guard showInAppMessages against BillingClient
runtime crashes (RevenueCat#3367) by @matteinn (RevenueCat#3368) via Monika Mateska
(@MonikaMateska)

## RevenueCatUI SDK
### Paywallv2
#### 🐞 Bugfixes
* Add Workflows network layer (RevenueCat#3300) via Cesar de la Vega (@vegaro)

### 🔄 Other Changes
* Fix `revenuecat.useWorkflowsEndpoint` compiler flag (RevenueCat#3374) via Cesar
de la Vega (@vegaro)
* Create paywall from workflow response. Add `USE_WORKFLOWS_ENDPOINT`
BuildConfig (RevenueCat#3350) via Cesar de la Vega (@vegaro)
* Refactor: Remove unnecessary lint suppressions (RevenueCat#3373) via cursor[bot]
(@cursor[bot])
* Bump fastlane-plugin-revenuecat_internal from `a1eed48` to `b822f01`
(RevenueCat#3371) via dependabot[bot] (@dependabot[bot])
* Bump fastlane from 2.232.2 to 2.233.0 (RevenueCat#3370) via dependabot[bot]
(@dependabot[bot])
* Attempt to fix `AssertionError` "ms is denormalized" in
`QueryPurchasesUseCaseTest` (RevenueCat#3361) via Cesar de la Vega (@vegaro)
* Update baseline profiles (RevenueCat#3296) via Jaewoong Eum (@skydoves)
* fix: reduce precision for flaky HeaderDirectHeroImage snapshot (RevenueCat#3362)
via Cesar de la Vega (@vegaro)
* Fix test failures reported twice (RevenueCat#3360) via Cesar de la Vega
(@vegaro)
* refactor: extract `updateStateFromOffering` in `PaywallViewModel`
(RevenueCat#3359) via Cesar de la Vega (@vegaro)
* [Fix] Include parent tabs component_name in tab-control switch
interaction events (RevenueCat#3358) via Monika Mateska (@MonikaMateska)
* Refactor: Remove unnecessary lint suppressions (RevenueCat#3348) via cursor[bot]
(@cursor[bot])
* fix: always upload CI test results even when tests fail (RevenueCat#3357) via
Cesar de la Vega (@vegaro)
* refactor: extract `RevenueCatDialogScaffold` (RevenueCat#3355) via Cesar de la
Vega (@vegaro)
* Fix Slack notifications for nightly integration tests (RevenueCat#3354) via Toni
Rico (@tonidero)
* UI events for paywall component interactions (RevenueCat#3287) via Monika
Mateska (@MonikaMateska)
* Bump fastlane-plugin-revenuecat_internal from `20911d1` to `a1eed48`
(RevenueCat#3351) via dependabot[bot] (@dependabot[bot])

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Primarily a version bump and release automation updates (docs
deploy/redirect and changelog); no functional library code changes
beyond updating embedded version constants.
> 
> **Overview**
> Cuts the `10.2.1` release by updating version references across the
repo (Gradle `VERSION_NAME`, internal `frameworkVersion`, sample/test
app dependency pins, and `.version`).
> 
> Updates the docs release pipeline and website redirect to publish and
point at `10.2.1`, and refreshes `CHANGELOG.md`/`CHANGELOG.latest.md`
with the 10.2.1 release notes.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
a0a325b. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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.

3 participants