8000 ci(release): route releases by core major and resume tested releases (#24) by adityamukho · Pull Request #26 · project-minigraf/minigraf-swift · GitHub
[go: up one dir, main page]

Skip to content

ci(release): route releases by core major and resume tested releases (#24) - #26

Merged
adityamukho merged 4 commits into
v3from
feat/24-release-routing
Dec 1, 2026
Merged

adityamukho merged 4 commits into
v3from
feat/24-release-routing

Conversation

@adityamukho
Copy link
Copy Markdown
Contributor

Makes the release workflows ready for the 3.0.0-alpha (project-minigraf/minigraf#960, #24). After the branch move these files become the default branch's and run both source lines.

  • The dispatched major selects the source and write branch (3.x → main, 2.x → v2.x), with no fallback. Unsupported versions fail first, and production runs only from the default branch's workflow.
  • The core dependency is converted to the exact crates.io version, and the resolved source, checksum and features are checked before anything is built.
  • The tested artifacts are retained before tagging. A retry reuses the tagged commit, uploads only what is missing and fails on any conflict; nothing public is deleted or replaced.
  • A manual rehearsal mode runs the same preparation, package and consumer steps and writes no branch, tag, package, release or issue.
  • CI runs on main, v2.x and v3.
  • Pins minigraf core 38b10383.
  • Prerelease versions are accepted, the README is stamped with exact:, GitHub releases are classified, and every swift-releases update is serialized.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H2a7QkSTdhquSfwFKL6Y4o

adityamukho and others added 3 commits December 1, 2026 07:58
…24)

Select the source and write branch from the released major, convert the
core dependency to the exact registry crate and prove the resolved graph,
keep the tested artifacts so a retry never replaces anything public, and
add a rehearsal mode that writes nothing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H2a7QkSTdhquSfwFKL6Y4o
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H2a7QkSTdhquSfwFKL6Y4o
…#24)

Resolve spawned tools through PATH, compare source digests independent of
checkout line endings, and check each line's own build contract.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H2a7QkSTdhquSfwFKL6Y4o
adityamukho commented Dec 1, 2026 •
Copy link
Copy Markdown
Contributor Author

Resolved in 82bf9f1. The release retry now compares full stable versions before setting GitHub Latest. The new regression covers an older same-major retry without moving Latest backward.


Release recovery: don’t move GitHub Latest backward on a same-major retry

github_decision() compares only the candidate major to the highest stable major. With stable v2.0.14 already published, retrying v2.0.13 still yields make_latest: 'true'; the existing-release PATCH can then move GitHub Latest backward.

Compare the full stable version (major, minor, patch) before selecting Latest. Please add a regression for retrying v2.0.13 after v2.0.14, asserting that v2.0.14 remains Latest, alongside the existing prerelease and cross-major cases.

Same recovery case in minigraf-c #24; relevant to the #960 rehearsal.

A retry of an older release with the same major no longer moves Latest
back.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H2a7QkSTdhquSfwFKL6Y4o
@adityamukho
adityamukho merged commit 9a2425a into v3 Dec 1, 2026
6 checks passed
@adityamukho
adityamukho deleted the feat/24-release-routing branch December 1, 2026 07:00
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

0