Skip to content

fix(pre-release): simplify dependency update command and ensure cargo…#17320

Merged
diemol merged 2 commits intotrunkfrom
adjust-pre-release
Apr 8, 2026
Merged

fix(pre-release): simplify dependency update command and ensure cargo…#17320
diemol merged 2 commits intotrunkfrom
adjust-pre-release

Conversation

@diemol
Copy link
Copy Markdown
Member

@diemol diemol commented Apr 8, 2026

fix(pre-release): simplify dependency update command and ensure cargo repin after version update

Copilot AI review requested due to automatic review settings April 8, 2026 18:01
@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Fix pre-release by repinning cargo immediately after version update

🐞 Bug fix

Grey Divider

Walkthroughs

Description
• Automatically repin cargo after version update to prevent lockfile staleness
• Removes redundant rust:update call from workflow, now handled in rake task
• Prevents Bazel file-hash conflicts during mid-evaluation lockfile updates

Grey Divider

File Changes

1. rake_tasks/rust.rake 🐞 Bug fix +8/-0

Add automatic cargo repin after version update

• Added automatic rust:update invocation after version update to repin cargo
• Includes detailed comment explaining why immediate repinning is necessary
• Prevents stale Cargo.Bazel.lock state and Bazel evaluation conflicts

rake_tasks/rust.rake


2. .github/workflows/pre-release.yml ⚙️ Configuration changes +1/-1

Remove redundant rust:update from workflow

• Removed conditional rust:update call from workflow dependency update step
• Simplifies run command by removing language-specific logic
• Cargo repin now handled directly in rake task instead of workflow

.github/workflows/pre-release.yml


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown
Contributor

qodo-code-review bot commented Apr 8, 2026

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@selenium-ci selenium-ci added the B-build Includes scripting, bazel and CI integrations label Apr 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the release-prep automation so Rust crate repinning happens immediately after bumping the Rust version, and simplifies the pre-release dependency update command accordingly.

Changes:

  • Invoke rust:update from within rust:version to repin Cargo immediately after a version bump.
  • Simplify the pre-release workflow dependency update step to run a single ./go <language>:update command.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
rake_tasks/rust.rake Runs rust:update right after updating Rust version to keep Cargo.Bazel.lock in sync during release prep.
.github/workflows/pre-release.yml Removes the special-case && ./go rust:update append and relies on repinning during version bump.

@diemol diemol requested a review from Copilot April 8, 2026 18:15
@diemol diemol merged commit 8797d16 into trunk Apr 8, 2026
27 checks passed
@diemol diemol deleted the adjust-pre-release branch April 8, 2026 18:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

AutomatedTester pushed a commit that referenced this pull request Apr 9, 2026
#17320)

* fix(pre-release): simplify dependency update command and ensure cargo repin after version update

* fix(rust): reenable task invocation for rust:update to prevent no-op issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-build Includes scripting, bazel and CI integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants