chore(runway): cherry-pick fix: cp-7.57.0 target PRD for rc/pre-release#21262
Merged
Merged
Conversation
…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 -->
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. |
vpintorico
approved these changes
Oct 16, 2025
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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.
(
app/core/Engine/controllers/rewards-controller/utils/rewards-api-url.ts):rcandpre-releasetoPRD.dev,local, and default/unknown toDEV(wasUAT).e2eandexponUAT.rewards-api-url.test.ts):for rc/pre-release).
undefinedand unknown envs →DEV.e2e(notrc) in UAT mapping test; expand PRD test to includeproduction,beta,pre-release, andrc.Written by Cursor
Bugbot for commit
be2c9b3. This will update automatically
on new commits. Configure
here.