Use commit timestamps for plugin EP dev versions - #32095
Open
Edward Chen (edgchen1) wants to merge 2 commits into
Open
Use commit timestamps for plugin EP dev versions#32095Edward Chen (edgchen1) wants to merge 2 commits into
Edward Chen (edgchen1) wants to merge 2 commits into
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Edward Chen (edgchen1)
requested review from
Tianlei Wu (tianleiwu)
and
a lite review from Copilot
August 14, 2026 19:57
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the plugin Execution Provider packaging/versioning flow in CI by switching dev-version derivation from a day-granularity commit date to a second-granularity commit timestamp, and modernizes the helper script’s CLI to use argparse.
Changes:
- Compute plugin EP dev versions using the Git commit Unix timestamp (
%ct) formatted as UTCYYYYMMDDHHMMSSto reduce same-day version collisions. - Migrate
set_plugin_ep_build_variables.pyfrom positional args toargparseflags. - Update the Azure Pipelines template step to pass the new flags.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tools/ci_build/set_plugin_ep_build_variables.py | Switch dev version generation to second-level commit timestamp and introduce argparse-based CLI parsing. |
| tools/ci_build/github/azure-pipelines/templates/set-plugin-ep-build-variables-step.yml | Update pipeline invocation to use the new flag-based script interface. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Motivation and Context
Python dev package versions were using only the commit date. This prevented packages from multiple commits on the same day from being published. Using a finer granularity (from day to seconds) should mitigate it. It's probably good enough if we only expect to publish from
mainand release branches.