Fix prerelease#17442
Conversation
Review Summary by QodoFix pre-release workflow and add automatic failure recovery
WalkthroughsDescription• Fixed syntax error in pre-release workflow dependency update command • Added automatic trunk unlock on pre-release failure with Slack notification • Skip approval step for TLC members and automatic recovery workflows • Enhanced Slack notifications with requester identification and failure details • Fixed Slack lock/unlock icon logic in restrict-trunk workflow Diagramflowchart LR
A["Pre-release Workflow"] -->|"Failure"| B["Unlock Trunk on Failure"]
A -->|"Failure"| C["Send Failure Notification"]
B --> D["Restrict Trunk Workflow"]
D -->|"skip_approval=true"| E["Manage Trunk"]
F["Get Approval"] -->|"TLC Member Check"| G["Skip Approval"]
G --> H["Slack Notification with Requester"]
File Changes1. .github/workflows/get-approval.yml
|
Code Review by Qodo
1. Unlock gated on create-pr
|
|
Persistent review updated to latest commit 3a58156 |
There was a problem hiding this comment.
Pull request overview
Updates Selenium’s GitHub Actions release-prep workflows to fix a syntax error, streamline trunk lock/unlock approvals, and improve failure handling/notifications during pre-release.
Changes:
- Fixes the dependency update command in the pre-release workflow.
- Adds an option to skip the approval gate when automatically unlocking trunk (e.g., failure recovery).
- Adds authorization logic and improved Slack attribution for approval requests, plus new Slack notifications for pre-release failures.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/restrict-trunk.yml |
Adds skip_approval input and adjusts job gating + Slack notification templating for trunk lock/unlock flows. |
.github/workflows/pre-release.yml |
Fixes the ./go ...:update invocation and adds failure-handling jobs (auto-unlock trunk + Slack failure notice). |
.github/workflows/get-approval.yml |
Adds a TLC allowlist-based authorization check to skip environment approval and appends requester info to Slack messages. |
|
Persistent review updated to latest commit 90adfe4 |
pre-release failed for a syntax error.
💥 What does this PR do?
🔧 Implementation Notes
usernames hard coded to avoid needing token permissions
🤖 AI assistance
🔄 Types of changes