Skip to content

Enable workflows by default#3639

Draft
vegaro wants to merge 2 commits into
mainfrom
cesar/remove-workflows-flag
Draft

Enable workflows by default#3639
vegaro wants to merge 2 commits into
mainfrom
cesar/remove-workflows-flag

Conversation

@vegaro

@vegaro vegaro commented Jun 23, 2026

Copy link
Copy Markdown
Member

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-ios and hybrids

Motivation

Workflows are close to release, so the SDK should no longer require an internal DangerousSettings opt-in to enable multipage paywalls.

Description

Removes the DangerousSettings.useWorkflows API and forWorkflows() helper, always wires workflow cache/manager infrastructure, and routes non-legacy RevenueCatUI paywalls through workflows.
Updates API snapshots, baseline profile entries, API tester coverage, and PaywallViewModel tests for the always-on workflow path.
Tested with focused Purchases and RevenueCatUI unit tests, ./scripts/api-dump.sh, and ./scripts/api-check.sh.

With workflows always on, a non-legacy offering (paywall == null) is served
through the /workflows endpoint instead of rendering its components locally.
Wrap the offering's components in a single-screen workflow and stub the
offerings/workflow fetch so the dialog renders the same sticky-footer content.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.41%. Comparing base (bdf80d1) to head (a1a2ac4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3639      +/-   ##
==========================================
+ Coverage   80.27%   80.41%   +0.13%     
==========================================
  Files         379      379              
  Lines       15557    15544      -13     
  Branches     2170     2168       -2     
==========================================
+ Hits        12489    12499      +10     
+ Misses       2203     2182      -21     
+ Partials      865      863       -2     

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant