Repository navigation
ci(release): Run the required CI jobs on release pull requests - #5345
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Bundles Sizes Evolution
|
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: cb716ec | Docs | View more details | Give us feedback! |
There was a problem hiding this comment.
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.
🤖 Bits Code Review · Commit cb716ec
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 therelease-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-branchesand.bs-allowed-branchesno longer excluderelease-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-branchescontinues to excluderelease-please--*branches. Thus, a release PR has no feature deploy and no staging checks.Test instructions
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.dd-gitlab/*statuses, and that theunit-bsjobs pass without a BrowserStack run.Checklist