You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builds on #17872, which moved CDP regeneration into the daily browser update
💥 What does this PR do?
Posts a Slack message to selenium-tlc when a daily browser update that regenerated CDP merges to trunk, saying the next Selenium release is ready to go out and asking whether anything still needs to land before it does.
🔧 Implementation Notes
Matches on contains rather than the full title, because (major) and with CDP are independent suffixes — [build] Automated Browser Version Update with CDP #17873 regenerated CDP without a major browser bump, and an exact match would have missed it.
Notifies directly instead of reusing get-approval.yml, which skips its notification when github.actor is a TLC member and so would stay silent on exactly these merges.
🤖 AI assistance
No substantial AI assistance used
AI assisted (complete below)
Tool(s): Claude Code (Opus 5)
What was generated: the workflow and this description
I reviewed all AI output and can explain the change
Alert Selenium TLC when merged browser updates regenerate CDP
✨ Enhancement⚙️ Configuration changes🕐 Less than 10 minutes
AI Description
• Detects merged daily browser updates that regenerated Chrome DevTools Protocol bindings.
• Alerts selenium-tlc that the next release is ready and solicits pending changes.
Diagram
graph TD
A["Closed pull request"] --> B{"Merged?"} --> C{"Browser CDP update?"} --> D["Slack action"] --> E["selenium-tlc"]
B -- "No" --> F["No alert"]
C -- "No" --> F
Loading
High-Level Assessment
A dedicated event-driven workflow is the best fit because the existing approval workflow intentionally suppresses notifications for TLC actors, which conflicts with this alert's purpose. Filtering by branch, merge status, changed path, and a title substring keeps the notification narrowly targeted while supporting independent title suffixes.
Files changed (1) +31 / -0
Enhancement (1) +31 / -0
release-ready.ymlNotify TLC when CDP browser updates merge+31/-0
Notify TLC when CDP browser updates merge
• Adds a closed-pull-request workflow scoped to DevTools changes. It sends a release-readiness Slack alert only when a merged automated browser-update PR has the 'with CDP' title marker.
The new Slack notification behavior is introduced without tests covering when it should and should
not run. This leaves merge status, source branch, title matching, and the intended trunk-only
behavior unprotected against regressions.
PR Compliance ID 5 requires behavioral changes to have meaningful regression coverage. The cited
workflow lines define entirely new notification behavior, while the PR adds only the workflow and no
test exercising its event predicate or Slack-step selection.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The new release-ready notification condition has no meaningful regression coverage.
## Issue Context
Add fast tests that exercise positive and negative pull-request event cases, including merged versus closed, the `pinned-browser-updates` source branch, the `with CDP` title fragment, fork handling, and a `trunk` base branch. The intended behavior is specifically to alert only when the qualifying update merges to trunk.
## Fix Focus Areas
- .github/workflows/release-ready.yml[14-18]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Context sources
Review mode: ⚖️ Balanced: This is a behavioral CI workflow that triggers Slack notifications based on merge, path, branch, and title conditions; it is localized but has meaningful automation and secret-handling implications, warranting a complete single-pass review.
Tip of the day
💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt
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
B-buildIncludes scripting, bazel and CI integrations
2 participants
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.
🔗 Related Issues
Builds on #17872, which moved CDP regeneration into the daily browser update
💥 What does this PR do?
selenium-tlcwhen a daily browser update that regenerated CDP merges to trunk, saying the next Selenium release is ready to go out and asking whether anything still needs to land before it does.🔧 Implementation Notes
containsrather than the full title, because(major)andwith CDPare independent suffixes — [build] Automated Browser Version Update with CDP #17873 regenerated CDP without a major browser bump, and an exact match would have missed it.get-approval.yml, which skips its notification whengithub.actoris a TLC member and so would stay silent on exactly these merges.🤖 AI assistance
🔄 Types of changes