Skip to content

chore(runway): cherry-pick fix: cp-7.57.0 target PRD for rc/pre-release#21262

Merged
vpintorico merged 1 commit into
release/7.57.0from
runway-cherry-pick-7.57.0-1760608148
Oct 16, 2025
Merged

chore(runway): cherry-pick fix: cp-7.57.0 target PRD for rc/pre-release#21262
vpintorico merged 1 commit into
release/7.57.0from
runway-cherry-pick-7.57.0-1760608148

Conversation

@runway-github

@runway-github runway-github Bot commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Description

Our old approach was targeting UAT for RC and pre-release, this should
be PRD.

Changelog

CHANGELOG entry: null`


Note

Map rc/pre-release to PRD and dev/local/unknown to DEV; keep e2e/exp
on UAT; update tests accordingly.

  • Rewards API URL mapping
    (app/core/Engine/controllers/rewards-controller/utils/rewards-api-url.ts)
    :
    • Map rc and pre-release to PRD.
    • Map dev, local, and default/unknown to DEV (was UAT).
    • Keep e2e and exp on UAT.
  • Tests (rewards-api-url.test.ts):
  • Update expectations to reflect new mappings (DEV for dev/local, PRD
    for rc/pre-release).
    • Add cases for undefined and unknown envs → DEV.
  • Use e2e (not rc) in UAT mapping test; expand PRD test to include
    production, beta, pre-release, and rc.

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

[9efd961](https://github.com/MetaMask/metamask-mobile/commit/9efd961f1651d0350aa0bf4e6a3aadc50f667fbd)

…se (#21254)

## **Description**

Our old approach was targeting UAT for RC and pre-release, this should
be PRD.

## **Changelog**

CHANGELOG entry: null`

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Map rc/pre-release to PRD and dev/local/unknown to DEV; keep e2e/exp
on UAT; update tests accordingly.
> 
> - **Rewards API URL mapping
(`app/core/Engine/controllers/rewards-controller/utils/rewards-api-url.ts`)**:
>   - Map `rc` and `pre-release` to `PRD`.
>   - Map `dev`, `local`, and default/unknown to `DEV` (was `UAT`).
>   - Keep `e2e` and `exp` on `UAT`.
> - **Tests (`rewards-api-url.test.ts`)**:
> - Update expectations to reflect new mappings (DEV for dev/local, PRD
for rc/pre-release).
>   - Add cases for `undefined` and unknown envs → `DEV`.
> - Use `e2e` (not `rc`) in UAT mapping test; expand PRD test to include
`production`, `beta`, `pre-release`, and `rc`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
be2c9b3. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@runway-github runway-github Bot requested a review from a team as a code owner October 16, 2025 09:49
@github-actions

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbot metamaskbot added the team-runway-bot-deprecated DEPRECATED: please use "team-bots" instead label Oct 16, 2025
@sonarqubecloud

Copy link
Copy Markdown

@vpintorico vpintorico merged commit bce7984 into release/7.57.0 Oct 16, 2025
203 of 212 checks passed
@vpintorico vpintorico deleted the runway-cherry-pick-7.57.0-1760608148 branch October 16, 2025 11:55
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 16, 2025
@metamaskbot metamaskbot added the release-7.57.0 Issue or pull request that will be included in release 7.57.0 label Oct 16, 2025
@metamaskbot

Copy link
Copy Markdown
Collaborator

No release label on PR. Adding release label release-7.57.0 on PR, as PR was cherry-picked in branch 7.57.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.57.0 Issue or pull request that will be included in release 7.57.0 size-S team-runway-bot-deprecated DEPRECATED: please use "team-bots" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants