Skip to content

fix(ci): enable commit-action MAX_ATTEMPTS for transient ref failures - #437

Merged
c-vigo merged 1 commit into
release/0.3.1from
bugfix/436-smoke-test-dispatch-failure
Mar 25, 2026
Merged

c-vigo merged 1 commit into
release/0.3.1from
bugfix/436-smoke-test-dispatch-failure

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Description

Smoke-test dispatch for 0.3.1-rc19 failed in the deploy job with Not Found on git/refs#get-a-reference when commit-action looked up the freshly created chore/deploy-* branch. commit-action v0.2.0 already ships bounded retries, but they only run when MAX_ATTEMPTS is set; the default is 1 (no retries). This PR sets MAX_ATTEMPTS: "3" on every vig-os/commit-action step in upstream and workspace templates so transient API propagation errors are retried.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/prepare-release.yml — MAX_ATTEMPTS: "3" on three commit-action steps
  • .github/workflows/release.yml — MAX_ATTEMPTS: "3" on finalization commit-action step
  • .github/workflows/sync-issues.yml — MAX_ATTEMPTS: "3" on sync commit step
  • assets/smoke-test/.github/workflows/repository-dispatch.yml — MAX_ATTEMPTS: "3" on deploy commit-action step
  • assets/workspace/.github/workflows/prepare-release.yml — same for three steps (template)
  • assets/workspace/.github/workflows/release-core.yml — same for finalization step
  • assets/workspace/.github/workflows/sync-issues.yml — same for sync commit step
  • CHANGELOG.md — Fixed entry for #436 under ## [0.3.1] - TBD
  • assets/workspace/.devcontainer/CHANGELOG.md — mirrored changelog entry (manifest copy)

Changelog Entry

Target branch uses ## [0.3.1] - TBD (not ## Unreleased). Added under Fixed:

Fixed

  • commit-action retries enabled for transient git ref API failures (#436)
    • Set MAX_ATTEMPTS: "3" on every vig-os/commit-action step so v0.2.0 bounded retry actually runs (default was 1)
    • Covers smoke-test deploy, prepare-release, release finalization, sync-issues, and workspace templates

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — workflow env-only change; CI will exercise workflows after merge.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md under ## [0.3.1] - TBD (release-branch convention; entry pasted above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Changelog entry lives under ## [0.3.1] - TBD because the PR targets release/0.3.1, not dev.

Refs: #436

@c-vigo
c-vigo enabled auto-merge March 25, 2026 10:14
@c-vigo
c-vigo merged commit 51ad6c6 into release/0.3.1 Mar 25, 2026
12 checks passed
@c-vigo
c-vigo deleted the bugfix/436-smoke-test-dispatch-failure branch March 25, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant