Repository navigation
Description
Current action status — 2026-10-06 (supersedes the older checklist below)
Open: local Homebrew acceptance is NOT verified. The reusable local qualifier and RC promotion records were implemented and merged in #1353 (2026-10-05); they do not publish or tag. Duplicate PR #1379 was closed: it was unmergeable and deleted unrelated FFI and attribution work.
Verified packaging regression: The release asset for v1.0.1 is flow-v1.0.1.tar.gz with GitHub SHA-256 deb4978f97cb5643c29fcb9d73ab72a8eb121e2e31c60df73ba6870d04f5229b. Its source archive is produced by git archive v1.0.1. That tagged tree has neither VERSION nor flow-driver. As of 2026-10-06 the flow/main formula requires the former and the public tap formula requires the latter; the two live formulas are NOT synchronized despite retaining the correct URL/digest. Do not mark the formula install gate passed.
Repairs prepared: flow#1395 and homebrew-flow#1 restore the package file layout from the original v1.0.1 tag formula (with the exact published version, asset URL and SHA-256). Their proposed formula content is byte-identical; both need review/merge and a real macOS Homebrew install/test from clean checkouts.
Release-line guard: flow/main now reports VERSION=2.0.0. Do not create a 1.0.2 tag from moving main. #760 needs an explicit frozen Stable 1.x maintenance commit/branch and complete local qualification before any 1.0.2 publication. No v1.0.2 release asset exists in GitHub Releases as of this check.
Outstanding acceptance: Merge the paired formula repairs; verify brew style, brew audit --strict --offline, brew install --build-from-source, and brew test on the published asset from clean macOS checkouts, along with byte-for-byte tap synchronization. Then independently freeze, fully qualify, publish and locally validate 1.0.2 before checking the final acceptance box. Never guess or prewrite the future 1.0.2 digest. Hosted workflows are not qualification evidence.
Goal
Keep Flow release artifacts and user-facing package metadata synchronized without relying on hosted CI.
Current status
The core release machinery exists and v1.0.0 / v1.0.1 are published. The latest published release is v1.0.1 (published 2026-08-23). Its release asset flow-v1.0.1.tar.gz has the GitHub-recorded SHA-256:
deb4978f97cb5643c29fcb9d73ab72a8eb121e2e31c60df73ba6870d04f5229b
Both formula copies point to that exact published artifact and digest:
flow:packaging/homebrew/Formula/flow.rbhomebrew-flow:Formula/flow.rb
The in-repo formula was updated in bc65a479529299052b34312c3e08f4a0decfcfa0; the public tap was synchronized in d80bd9fad8788c9e863b88cdd3dd8d56f3a2ffbb.
A local synchronization check exists at packaging/homebrew/check-formula-sync.sh:
bash packaging/homebrew/check-formula-sync.sh ../homebrew-flow/Formula/flow.rbIt exits 0 only when the in-repo formula and tap formula are byte-for-byte identical, exits 1 with a unified diff on divergence, and exits 2 when either input is missing.
scripts/sync_version.py is the local version authority: --check detects mirror drift, --set changes the canonical version and mirrors, and --homebrew --sha256 <digest> updates release-only Homebrew metadata after the real artifact exists.
Release-policy cleanup
-
src/flow/version.pydocuments localscripts/sync_version.py --check/--setusage and no longer claims hosted CI/workflow enforcement (d65c3e59b2ee3fc1ace610b6c39f77b26179d3e5). -
scripts/sync_version.pyno longer says a release workflow performs the Homebrew update.db3e33ec1e7395499dd58fb448bfa1634f998720now documents the local sequence: qualify/publish first, compute the real digest, then run--homebrew --sha256 <digest>and synchronize the public tap. - The stale hosted
CIbranch-protection requirement tracked in Remove hosted CI status requirement from main branch protection #816 has been removed. A directbranches/mainconfiguration read on 2026-09-12 reports no required status contexts/checks; no hosted workflow execution or result inspection was used to verify this.
Remaining work
Validate the formula locally with Homebrew from clean checkouts. For v1.0.2, produce and qualify the exact release candidate locally, publish the artifact, compute the real digest, update the in-repo formula with that digest, synchronize the public tap, and verify both formula copies locally.
Hosted GitHub Actions/CI are not part of this work. Validation and package checks are local-only.
Acceptance criteria
- Exact published release artifacts carry SHA-256 digests.
- In-repo Homebrew formula points to the current published release artifact and exact digest.
- Public
homebrew-flowtap points to the same artifact and digest. - A local, documented synchronization/check command prevents future formula divergence.
- Canonical version/release documentation no longer says hosted CI/workflows are the enforcement/publication mechanism.
- The documented 1.0.2 publication sequence is executable without hosted workflow execution.
- Local Homebrew formula validation succeeds from clean checkouts for the release being promoted.
Historical next action (superseded by the dated status above)
From the exact locally qualified 1.0.2 candidate recorded on #760, publish the release artifact, compute/record its SHA-256, run the local scripts/sync_version.py --homebrew --sha256 <digest> update, synchronize homebrew-flow, then run the local formula install/test and packaging/homebrew/check-formula-sync.sh checks. Do not guess the digest before publication.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
google-labs-jules commentedon Aug 23, 2026
Jules has failed to create a task. You can try again later by removing and re-adding the 'jules' label.
godofecht commentedon Aug 23, 2026
Maintenance check (2026-08-24, refreshed): the distribution blocker has advanced and the release automation gap is now concrete.
v1.0.1exists, but bothflow:packaging/homebrew/Formula/flow.rbandflooooooooooow/homebrew-flow:Formula/flow.rbstill point tov0.10.0with SHA-25605dc81ee33089724977cf1e6dfac00e9bfd8bbd81da8649570ea8c21669da486. The current.github/workflows/release.ymlcreates and publishesflow-${TAG}.tar.gz,flow-${TAG}.zip, andSHA256SUMS.txt, then updates only the in-repopackaging/homebrew/Formula/flow.rbby pushing back toflow/main. It never updates the separateflooooooooooow/homebrew-flowtap, so even a successful release cannot keep both formula copies synchronized. Do not guess a checksum or manually point either formula at a different archive. Exact next action: verify/complete the qualifiedv1.0.1GitHub Release so its canonical tarball and checksum exist; update both formula copies from that exact digest; then change the release path so the external tap is explicitly synchronized (using credentials scoped tohomebrew-flow) or eliminate the duplicated formula source of truth.5 remaining items
test(release): reject mismatched archive version (#652)
godofecht commentedon Oct 6, 2026
Implementation update (2026-10-06): draft PR #1400. Release qualification now derives VERSION from the archived commit, rejects a mismatched explicit version, and refuses to attribute working-tree test gates to a different revision. Test added. Partial work only: macOS Homebrew acceptance remains open. The PR is draft because full local Flow/build validation has not been performed; #1402 additionally requires regenerated bootstrap C. No issue is being closed merely because a patch exists.
godofecht commentedon Oct 7, 2026
Design decision, 2026-10-07, decided by the project owner, on the Linux release qualification policy in #1399: accepted. Qualification is local and checksum-gated. The
.debis reproducible and source-built from a pinned commit withSOURCE_DATE_EPOCHand root ownership. Hosted CI is not qualification authority. Linux arm64 is explicitly unqualified. #1399 merges once its shell scripts are Flow tools and a real qualification run on the CI VPS is recorded in the PR. Recorded in docs/project/Questions.md by #1422.fix(release): bind archives/version and gate evidence to exact commit (…
test(release): reject mismatched archive version (#652)
docs(release): VERSION comes from --rev; --version only checks it (#652)
test(release): gates refuse a --rev other than HEAD (#652)
godofecht commentedon Oct 7, 2026
Local Homebrew check, 2026-10-07, macOS 26 arm64, Homebrew 7.0.8, of
packaging/homebrew/Formula/flow.rbon mainf43efb75(the formula from #1395), installed from a throwaway local tap:brew style: 1 file inspected, no offenses.brew audit --strict: exit 0.brew install --build-from-source: installed/opt/homebrew/Cellar/flow/1.0.1from the publishedflow-v1.0.1.tar.gz(digestdeb4978f...), exit 0.brew test: exit 0 (flow versionprintsFlow 1.0.1).flow run hello.flowwithFLOW_HOST=pythonbuilds and runs (exit 0). With the default flowc host, the v1.0.1 Stage-A emit rejects aprintlnprogram. That is a limit of the published 1.0.1 compiler and the formula installs it correctly.The test install was removed afterwards.
Not yet met:
homebrew-flowPR [P-C1] Parser: bare except clauses swallow all errors #1 (fix/652-homebrew-v101-archive-layout) is no longer byte-identical to the in-repo formula. It setsversion "1.0.1", installs numpy into the venv, usesFormula["[email protected]"]instead offormula_opt_bin, and its test runsflow compileinstead offlow version. One of the two has to be made to match the other before the sync criterion holds.fix(release): bind archives/version and gate evidence to exact commit (…
test(release): reject mismatched archive version (#652)
docs(release): VERSION comes from --rev; --version only checks it (#652)
test(release): gates refuse a --rev other than HEAD (#652)
test(release): make gates_refuse_other_rev work in a one-commit check…
godofecht commentedon Oct 8, 2026
Closing. Retargeted to the v2.0.0 release by the 2026-10-08 decision that 1.0.2 is superseded (#760 closed, decision in docs/project/Questions.md via #1455).
release.ymlwritesSHA256SUMS.txt; v1.0.1 assetdeb4978f...229bFormula/flow.rbbyte-identical topackaging/homebrew/Formula/flow.rb(tap commit7d166997, SHA-256824e9e02...0a81,check-formula-sync.flow: "Homebrew formulas are synchronized.")./flow tool packaging/homebrew/check-formula-sync.flow,sync-tap.flow./flow tool qualify_release(#1353),--revreadsVERSIONfrom that commit (#1400).deb); #1446 makes--mode fullpass on Linux (VPS run recorded on #1446)--mode fullnow passes on macOS; run at0593ad2f: all gates pass,result: passqualify_release --promote-rcrecordsv2.0.0-rc.1with its commit, untagged (same run)git archive2.0.0 tarball installed,brew testpassed,flow run hello.flowranWhat is left is the release itself, which this tracker's tooling deliberately never does: a human tags the qualified commit (
qualify_release --print-tag-command),release.ymlattaches the archive, then./flow tool sync_version --homebrew --sha256 <digest>,license :cannot_representfor 2.x (packaging/homebrew/README.md step 4), andsync-tap.flow. Those steps are in docs/project/RELEASING.md.