Skip to content

Add update-error-codes workflow#926

Merged
AlvaroBrey merged 2 commits into
mainfrom
error-codes-propagation
Jun 12, 2026
Merged

Add update-error-codes workflow#926
AlvaroBrey merged 2 commits into
mainfrom
error-codes-propagation

Conversation

@AlvaroBrey

@AlvaroBrey AlvaroBrey commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Adds the update-error-codes workflow (gated on action=update_error_codes) that runs revenuecat/update-error-codes@3.21.0: copies the generated src/generated/error-codes.ts from purchases-error-codes, rebuilds the API report, and opens/updates the PR. Bumps the orb to 3.21.0.

Merge after the orb is published and the plugin pin is bumped (bundle update fastlane-plugin-revenuecat_internal).


Note

Low Risk
CI and dependency pin changes only; no runtime SDK logic is modified in this diff.

Overview
Adds a manual/parameterized CI path to refresh SDK error codes from the shared purchases-error-codes source and keep the public API report in sync.

CircleCI: Bumps revenuecat/sdks-common-config to 3.21.0, extends the action pipeline parameter with update_error_codes, and introduces an update-error-codes workflow that runs revenuecat/update-error-codes for the JS platform—writing src/generated/error-codes.ts, then building and running extract-api so api-report is updated in the same commit. danger and test-deploy are gated so they do not run when action=update_error_codes (alongside the existing scheduled-pipeline exclusion for danger).

Ruby: Gemfile.lock pins a newer revision of fastlane-plugin-revenuecat_internal to align with the orb workflow.

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

@AlvaroBrey AlvaroBrey self-assigned this Jun 11, 2026
@AlvaroBrey AlvaroBrey marked this pull request as ready for review June 12, 2026 11:03
@AlvaroBrey AlvaroBrey requested a review from a team June 12, 2026 13:51

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

🙌

@AlvaroBrey AlvaroBrey force-pushed the error-codes-propagation branch from 51b2ac0 to a51a0aa Compare June 12, 2026 15:36
@AlvaroBrey AlvaroBrey enabled auto-merge (squash) June 12, 2026 15:37
@AlvaroBrey AlvaroBrey merged commit f4d6c7a into main Jun 12, 2026
5 of 7 checks passed
@AlvaroBrey AlvaroBrey deleted the error-codes-propagation branch June 12, 2026 15:39
RCGitBot added a commit that referenced this pull request Jun 16, 2026
**This is an automatic release.**

## RevenueCat SDK
### ✨ New Features
* Add Slovenian support for paywalls (#932) via Monika Mateska
(@MonikaMateska)
* [WEB-4279] Discount line items in native wallets (#905) via James
O'Donnell (@james-od)

## RevenueCatUI SDK
### ✨ New Features
* WFL-217 | Add support for workflows endpoints (#913) via Rosie Watson
(@RosieWatson)

### 🔄 Other Changes
* [AUTOMATIC] Update generated error codes (#931) via RevenueCat Git Bot
(@RCGitBot)
* Danger: block manual edits to generated error codes (#930) via Álvaro
Brey (@AlvaroBrey)
* Add update-error-codes workflow (#926) via Álvaro Brey (@AlvaroBrey)
* test(e2e): add full Paddle E2E coverage to webbilling-demo (WST-564)
(#925) via Roger Solé (@rogersole)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Version and changelog-only changes with no runtime logic modified in
this PR.
> 
> **Overview**
> **Automatic release** that publishes **1.43.0** by aligning version
metadata everywhere it is duplicated: `.version`, `package.json`,
`src/helpers/constants.ts`, and the docs redirect in
`scripts/docs/index.html` (1.42.4 → 1.43.0).
> 
> `CHANGELOG.md` and `CHANGELOG.latest.md` are updated to document what
ships in this release (already merged elsewhere): **Slovenian paywall
locale**, **discount line items in native wallets**, **RevenueCatUI
workflows endpoints**, regenerated error codes plus CI/Danger
guardrails, and expanded Paddle E2E coverage in webbilling-demo.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
ef5e9f3. 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.

2 participants