Repository navigation
fix(ci): ensure release retry steps do not require implicit uv - #366
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR hardens the release workflow’s retry behavior by ensuring retry tooling is available in jobs that call it (and by avoiding uv in no-checkout jobs), addressing release/rollback failures reported in #365.
Changes:
- Provision
uv+ dependencies invalidateandpublish, and makefinalizeenvironment setup unconditional souv run retryis always available where used. - Replace
uv run retrywith an inline shellretry()helper in the no-checkoutsmoke-testandrollbackjobs. - Add a changelog “Fixed” entry documenting the workflow reliability fix (synced into the workspace template changelog).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Ensures retry functionality works across release paths; removes uv dependency from no-checkout jobs via inline retry helper. |
| CHANGELOG.md | Documents the workflow fix under the active release section. |
| assets/workspace/.devcontainer/CHANGELOG.md | Syncs the same changelog entry into the workspace template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Fix release workflow retry failures from issue #365 by removing implicit runtime assumptions and centralizing retry behavior. This update moves retry setup to the shared setup action, adds an explicit uv-only setup mode for jobs that do not need Python bootstrap, and aligns all release retry calls on one helper path.
Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/actions/setup-env/action.ymlinstall-pythonandpython-versioninputs to support uv-only usage where Python setup is unnecessaryretryhelper viaBASH_ENVso retry behavior is centralized and reused across steps/jobsuv run retryusage in setup-env tool installation paths with sharedretry.github/workflows/release.yml./.github/actions/setup-envin validate, finalize, publish, smoke-test, and rollback jobsuv run retryinvocations with sharedretry --retries ... -- <command>callsretry()definitions from smoke-test and rollback job stepsCHANGELOG.md#365reflecting the centralized retry + uv-only setup approachassets/workspace/.devcontainer/CHANGELOG.mdChangelog Entry
Fixed
.github/actions/setup-env/action.ymlwith a reusableretryshell function exported viaBASH_ENVas the retry single source of truthsetup-envinput support for uv-only usage by allowing Python setup to be disabled when jobs only need retry toolinguv run retryto sharedretryand remove duplicated inline retry implementationsTesting
just test)Manual Testing Details
N/A
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Copilot review comments on the previous revision were addressed in commit
3aa4f4cby standardizing setup and retry across release jobs.Refs: #365