Skip to content

fix: cp-7.57.0 target PRD for rc/pre-release#21254

Merged
VGR-GIT merged 1 commit into
mainfrom
rewards-target-prd
Oct 16, 2025
Merged

fix: cp-7.57.0 target PRD for rc/pre-release#21254
VGR-GIT merged 1 commit into
mainfrom
rewards-target-prd

Conversation

@VGR-GIT

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

@VGR-GIT VGR-GIT requested a review from a team as a code owner October 16, 2025 07:45
@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-rewards Rewards team label Oct 16, 2025
@VGR-GIT VGR-GIT added No QA Needed Apply this label when your PR does not need any QA effort. No E2E Smoke Needed no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed regression-RC-7.57.0 Regression bug that was found in release candidate (RC) for release 7.57.0 labels Oct 16, 2025
@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label Oct 16, 2025
@VGR-GIT VGR-GIT linked an issue Oct 16, 2025 that may be closed by this pull request
@VGR-GIT VGR-GIT changed the title fix: target PRD for rc/pre-release fix: cp-7.57.0 target PRD for rc/pre-release Oct 16, 2025
@sonarqubecloud

Copy link
Copy Markdown

@VGR-GIT VGR-GIT enabled auto-merge October 16, 2025 08:48
@VGR-GIT VGR-GIT added this pull request to the merge queue Oct 16, 2025
Merged via the queue into main with commit 9efd961 Oct 16, 2025
277 of 281 checks passed
@VGR-GIT VGR-GIT deleted the rewards-target-prd branch October 16, 2025 09:42
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 16, 2025
@metamaskbot metamaskbot added the release-7.58.0 Issue or pull request that will be included in release 7.58.0 label Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

INVALID-PR-TEMPLATE PR's body doesn't match template No QA Needed Apply this label when your PR does not need any QA effort. no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed regression-RC-7.57.0 Regression bug that was found in release candidate (RC) for release 7.57.0 release-7.58.0 Issue or pull request that will be included in release 7.58.0 size-S team-rewards Rewards team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Rewards target should target PRD backend

3 participants