Skip to content

ci(release): Run the required CI jobs on release pull requests - #5345

Merged
thomas-lebeau merged 1 commit into
mainfrom
thomas-lebeau/RUM-19884-release-pr-ci
Nov 27, 2026
Merged

thomas-lebeau merged 1 commit into
mainfrom
thomas-lebeau/RUM-19884-release-pr-ci

Conversation

@thomas-lebeau

Copy link
Copy Markdown
Collaborator

Motivation

The release PR #5343 cannot merge. Branch protection on main requires the dd-gitlab/* statuses (unit, e2e, unit-bs, format, …). #5263 removed these jobs from the release-please--* branches. Thus, the statuses never come, and GitHub waits for them.

GitHub branch protection applies to the target branch (main). It cannot exclude a source branch. Thus, the release PR must report these statuses.

Refs: RUM-19884

Changes

  • .gitlab-ci.yml: .test-allowed-branches and .bs-allowed-branches no longer exclude release-please--* branches. The release PR pipeline runs the required jobs. The jobs are interruptible: when the release job updates the release PR, the new pipeline cancels the previous one.
  • scripts/test/ci-bs.ts: on a release PR branch, the BrowserStack job stops immediately with success. The release PR only changes versions and changelogs. Thus, a BrowserStack run gives no additional information.
  • .feature-branches continues to exclude release-please--* branches. Thus, a release PR has no feature deploy and no staging checks.

Test instructions

  1. Run CI_COMMIT_REF_NAME=release-please--branches--main node scripts/test/ci-bs.ts test:unit. The output is "Release pull request detected. Skipping BrowserStack tests." The command does not call BrowserStack.
  2. After the merge, the next main pipeline updates chore(release): v7.20.0 #5343. Make sure that the chore(release): v7.20.0 #5343 pipeline reports all the required dd-gitlab/* statuses, and that the unit-bs jobs pass without a BrowserStack run.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@thomas-lebeau
thomas-lebeau requested a review from a team as a code owner November 27, 2026 12:44
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T12:45:34.974145Z cb716ec PR opened
🔒 Security Review ✅ Completed 2026-11-27T12:46:35.255676Z cb716ec PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum Salesforce 194.65 KiB 194.65 KiB 0 B 0.00% ✅
Rum 194.63 KiB 194.63 KiB 0 B 0.00% ✅
Rum Salesforce Profiler 7.93 KiB 7.93 KiB 0 B 0.00% ✅
Rum Profiler 7.93 KiB 7.93 KiB 0 B 0.00% ✅
Rum Salesforce Recorder 32.80 KiB 32.80 KiB 0 B 0.00% ✅
Rum Recorder 32.80 KiB 32.80 KiB 0 B 0.00% ✅
Logs 60.40 KiB 60.40 KiB 0 B 0.00% ✅
Rum Slim 150.02 KiB 150.02 KiB 0 B 0.00% ✅
Worker 24.23 KiB 24.23 KiB 0 B 0.00% ✅
Rum Shopify 226.17 KiB 226.17 KiB 0 B 0.00% ✅
Rum Shopify Profiler 7.93 KiB 7.93 KiB 0 B 0.00% ✅
Rum Shopify Recorder 4.85 KiB 4.85 KiB 0 B 0.00% ✅
Early Collection 309 B 309 B 0 B 0.00% ✅

@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 78.07% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: cb716ec | Docs | View more details | Give us feedback!

@datadog-prod-us1-4 datadog-prod-us1-4 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bits Code Review: PASS

More details

The release-branch BrowserStack command exits successfully before contacting BrowserStack, while feature deployment and staging exclusions remain intact. Live GitLab-to-GitHub required-status reporting still needs post-merge confirmation.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit cb716ec

@thomas-lebeau
thomas-lebeau merged commit 00abfb9 into main Nov 27, 2026
31 checks passed
@thomas-lebeau
thomas-lebeau deleted the thomas-lebeau/RUM-19884-release-pr-ci branch November 27, 2026 14:36
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants