Skip to content

release: add reproducible qualification, artifacts and RC promotion (#652) - #1353

Merged
godofecht merged 3 commits into
mainfrom
cursor/release-qualify-652-7b93
Oct 5, 2026
Merged

godofecht merged 3 commits into
mainfrom
cursor/release-qualify-652-7b93

Conversation

@godofecht

@godofecht godofecht commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Part of #652

In-repo qualification, source artifacts, SHA-256 records and RC promotion machinery. No release, tag or external artifact was published.

Remaining gap (needs a real published tarball, out of scope here):

  • Local brew install --build-from-source / tap install-test from a clean checkout of the release being promoted (issue next action: 1.0.2 after that artifact exists). Do not guess a digest.

Intent

Linked issue or roadmap item: #652 (reproducible release qualification, artifacts and RC promotion; original workstream 13 in the archived 1.0 roadmap).

What changed, and why is this the smallest useful change?

./flow tool qualify_release is the local qualifier. It writes git archive source tarball/zip, SHA256SUMS.txt, qualification.txt / .json, and optionally rc-promotion.txt. --publish exits 2. The tool never tags, never creates a GitHub Release, never pushes and never updates homebrew-flow. --check-formula validates url / 64-hex sha256 / version agreement on the in-repo formula. Hosted dry-run is .github/workflows/release-qualify.yml (contents: read only). release.yml skips the publish job for *-rc* tags and qualify_only.

Overlap check

  • I searched open pull requests and recent commits for overlapping work.
  • This does not duplicate another active implementation, or the relationship is explained below.

Overlap / dependency notes: no open PR for qualification/RC promotion. Existing prepare_release, sync_version, check-formula-sync and release.yml stay the publication path after a human tags an already-qualified commit.

Evidence

Baseline before this change: qualification lived as a long release.yml job that also published; there was no local dry-run that produced archives + digests + an RC record without tagging.

Targeted proof that exercises the changed behaviour:

  • ./flow tool qualify_release --help
  • ./flow tool qualify_release --publish exits 2
  • ./flow tool qualify_release --check-formula (current formula, published v1.0.1 digest deb4978f97cb5643c29fcb9d73ab72a8eb121e2e31c60df73ba6870d04f5229b)
  • ./flow tool qualify_release --dry-run --artifacts-only --out /tmp/flow-qualify-dry wrote archives, SHA256SUMS.txt, published: false
  • ./flow tool qualify_release --promote-rc --dry-run --artifacts-only --out /tmp/flow-qualify-rc recorded v2.0.0-rc.1 at 225bda0c with tagged: false; git tag count unchanged
  • ./flow tool qualify_release --print-tag-command prints git tag -a and does not run it

Why that proof would detect the old failure or regression: a publish/tag leak would change git tag or exit 0 from --publish; a missing digest or unpack path would fail the record / unpack check.

Repository gate(s) run:

  • ./flow test-scripts qualify_release — 9 passed, 0 failed, 0 skipped
  • ./flow tool wiki_nav — nav consistent with docs/
  • ./flow tool script_refs — pass
  • ./flow tool changelog_check — pass
  • ./flow test-scripts packaging_specs — 5 passed
  • ./flow tool python_ratchet — PASS
  • ./flow tool shell_ratchet — PASS

Generated/bootstrap state, if any: none. compiler/src was not changed.

Risk

Compatibility, performance, security, lifetime, backend, or release implications: process/tooling only. release.yml will no longer publish GitHub Releases or Homebrew updates for tags whose name contains -rc, which is the intended RC promotion boundary.

  • No unresolved language/API design decision is being implemented implicitly.
  • No unrelated generated artifacts or local state are included.
  • Docs changed when user-visible behaviour or syntax changed.
  • docs/project/Questions.md updated if this needs a language-design decision.

Compatibility

  • No user-visible compatibility change.
  • Compatibility change is documented in docs/project/CHANGELOG.md.

Agent handoff

Agent/provider/session: Cursor Cloud Agent.

Any remaining blocker is recorded in GitHub rather than only in local/session state: post-publish Homebrew install/test for the promoted release remains on #652.

Open in Web Open in Cursor 

cursoragent and others added 3 commits October 5, 2026 11:47
Add ./flow tool qualify_release to qualify an exact commit: version and
changelog gates, Homebrew formula structure, git-archive source artifacts,
SHA-256 sums and an unpack path check. --promote-rc writes a promotion
record. The tool never tags, never publishes and refuses --publish.

Hosted dry-run is release-qualify.yml (contents: read only). release.yml
skips GitHub Release and Homebrew updates for -rc tags and qualify_only.

Co-authored-by: Abhishek Shivakumar <[email protected]>
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