Skip to content

ci(major-version-tag): workflow_dispatch fallback + harden#66

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-major-version-tag
Jun 5, 2026
Merged

ci(major-version-tag): workflow_dispatch fallback + harden#66
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-major-version-tag

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown

The v1 moving-tag automation has been unreliable — runs for v1.2.0/v1.3.0 got stuck queued and v1.0.0/v1.1.0 failed, so v1 can lag the latest release even though a vX.Y.Z exists.

This hardens major-version-tag.yml:

  • workflow_dispatch fallback — run it manually (optionally pass the release tag; defaults to the latest vX.Y.Z) to re-point vX when the tag-push run doesn't fire.
  • fetch-tags: true + git rev-list to resolve the release commit, so annotated tags (like v1.3.0) are dereferenced correctly.

Note: the underlying stuck-queued behavior looks like an org Actions/runner setting (not something the workflow controls); the manual trigger is the escape hatch. Also documents the fallback (and a by-hand git tag -f) in RELEASING.md + README.

actionlint clean.

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

The tag-push run can get stuck/queued or fail, leaving the floating major tag
(v1) stale even though a vX.Y.Z release exists. Add a workflow_dispatch trigger
that re-points the major tag at a given release tag (or the latest vX.Y.Z),
fetch tags in checkout, and resolve the commit via `git rev-list` so annotated
tags are dereferenced correctly. Document the manual fallback in RELEASING.md
and the README.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 5, 2026 10:09
@ChrisRackauckas ChrisRackauckas merged commit 251208d into SciML:master Jun 5, 2026
2 checks passed
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.

2 participants