[build] consolidate nightly workflow#17005
Conversation
- Reduce from 254 to 116 lines by removing per-language jobs
- Add prepare job to centralize input parsing and outputs
- Remove 'grid' as separate option (java:release includes grid via java:package)
- Use single nightly-release job with ./go {lang}:release nightly
- release-grid runs only when artifact-name is set (all/java)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
User description💥 What does this PR do?Significantly simplify the nightly workflow; follow-on to pre-release.yml and release.yml simplifications
🔧 Implementation NotesThere's no need for a separate grid job - the grid artifacts are included when java runs 💡 Additional ConsiderationsWe'll see how it works tonight 🔄 Types of changes
PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["Workflow Inputs"] --> B["prepare job"]
B --> C["Parse language & artifacts"]
B --> D["Check release ruleset"]
C --> E["nightly-release job"]
D --> E
E --> F["release-grid job"]
E --> G["on-failure job"]
F --> G
|
| Relevant files | |||
|---|---|---|---|
| Configuration changes |
|
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Latest suggestions up to a315e68
Previous suggestionsSuggestions up to commit ef6cb2d
|
||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull request overview
This PR simplifies the nightly GitHub Actions workflow by consolidating multiple per-language jobs into a single release job with a preparatory input-parsing step, and by removing the dedicated “grid” language option.
Changes:
- Added a
preparejob to parse inputs and expose shared outputs (language, artifact info, release-in-progress flag). - Replaced per-language nightly jobs with a single
nightly-releasejob that runs./go <language>:release nightly. - Removed the separate
gridlanguage option and consolidated failure notifications into oneon-failurejob.
Move the nightly-specific npm configuration from the workflow into the rake task. This configures: - GitHub Packages registry and auth token via ~/.npmrc - Package name change to @seleniumhq/selenium-webdriver - Registry URL change to npm.pkg.github.com Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
💥 What does this PR do?
Significantly simplify the nightly workflow; follow-on to pre-release.yml and release.yml simplifications
preparejob to centralize input parsing and outputs (language,artifact-name,artifact-path,release-in-progress)nightly-releasejobjava:releasealready includes grid viajava:package🔧 Implementation Notes
There's no need for a separate grid job - the grid artifacts are included when java runs
💡 Additional Considerations
We'll see how it works tonight
🔄 Types of changes