[build] move Selenium Manager publishing into sm-snapshot.yml so releases no longer skip it - #18017
Conversation
…ases no longer skip it
PR Summary by QodoDecouple Selenium Manager publishing from Rust tests
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1.
|
…t publish over a newer one
|
Code review by qodo was updated up to the latest commit 5eaac48 |
🔗 Related Issues
Regressed from a710cbd — 4.49.0 shipped a Selenium Manager that reports
0.4.49-nightlybecause the release binaries were built but never published.💥 What does this PR do?
ci-rust.ymlinto a new top-levelsm-snapshot.ymlthat runs on every trunk push touchingrust/, so publishing no longer sits downstream of a test job that release prep skips.ci-rust.ymlis now the Rust test matrix only.🔧 Implementation Notes
testson release left the publish job skipped too: GitHub adds an implicitsuccess()to any job condition without a status-check function, and that is false when anything in the transitiveneedschain was skipped. The prep run's update-manager job then pinned whatever the artifacts repo called latest, which was a trunk build from an hour earlier.!cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'skipped')to the publish job fixes it in one line but keeps a skippable job upstream of publishing; moving the Rust tests intoci.ymlalso works but scatters the Rust CI across two files.!cancelled(), schedule, andtrunk || inputs.releaseguard from a710cbd goes away; the only condition left is the fork check on the publish job.rust-release-*branch throughworkflow_call, unchanged in substance. Trunk pushes now publish without waiting on the trunk Rust test run; the commit already passed those tests in PR CI.concurrencywithout cancel), so a slower older run cannot publish over a newer one and every merge still gets a snapshot; insideci.ymlthe old publish job was serialized by that workflow's cancel-in-progress group.ci-rust.ymlas a PR compile check;bazel test //rust/...already compiles on all four hosts, and a musl or i686 link failure shows up on the next trunk snapshot without moving the pin.🤖 AI assistance
💡 Additional Considerations
sm-snapshot.ymlpin trunk automatically after each publish and to cross-compile Selenium Manager in Bazel so release packaging stops depending on a pinned download; theworkflow_calltrigger is deleted once that lands.🔄 Types of changes