Repository navigation
fix(ci): enable commit-action MAX_ATTEMPTS for transient ref failures - #437
Merged
Merged
Conversation
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
Smoke-test dispatch for
0.3.1-rc19failed in the deploy job withNot Foundongit/refs#get-a-referencewhencommit-actionlooked up the freshly createdchore/deploy-*branch.commit-actionv0.2.0 already ships bounded retries, but they only run whenMAX_ATTEMPTSis set; the default is 1 (no retries). This PR setsMAX_ATTEMPTS: "3"on everyvig-os/commit-actionstep in upstream and workspace templates so transient API propagation errors are retried.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/workflows/prepare-release.yml—MAX_ATTEMPTS: "3"on threecommit-actionsteps.github/workflows/release.yml—MAX_ATTEMPTS: "3"on finalizationcommit-actionstep.github/workflows/sync-issues.yml—MAX_ATTEMPTS: "3"on sync commit stepassets/smoke-test/.github/workflows/repository-dispatch.yml—MAX_ATTEMPTS: "3"on deploycommit-actionstepassets/workspace/.github/workflows/prepare-release.yml— same for three steps (template)assets/workspace/.github/workflows/release-core.yml— same for finalization stepassets/workspace/.github/workflows/sync-issues.yml— same for sync commit stepCHANGELOG.md— Fixed entry for #436 under## [0.3.1] - TBDassets/workspace/.devcontainer/CHANGELOG.md— mirrored changelog entry (manifest copy)Changelog Entry
Target branch uses
## [0.3.1] - TBD(not## Unreleased). Added under Fixed:Fixed
MAX_ATTEMPTS: "3"on everyvig-os/commit-actionstep so v0.2.0 bounded retry actually runs (default was 1)Testing
just test)Manual Testing Details
N/A — workflow env-only change; CI will exercise workflows after merge.
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdunder## [0.3.1] - TBD(release-branch convention; entry pasted above)Additional Notes
Changelog entry lives under
## [0.3.1] - TBDbecause the PR targetsrelease/0.3.1, notdev.Refs: #436