Repository navigation
Conversation
e53f03e to
e895d08
Compare
jhrozek
left a comment
There was a problem hiding this comment.
Rechecked after the latest push. This update is a docs-only ADR renumber (docs/adr/0310-signed-darwin-release-archives.md → docs/adr/0315-signed-darwin-release-archives.md, since main has since landed ADRs 0310-0314 from other PRs) — .github/workflows/release.yml and both .github/scripts/*.sh files are byte-identical to what was reviewed.
All four prior findings remain open and unaddressed:
- [Blocker]
needs: validate-release-tagstill couples the 5 pre-existing OCI/Helm jobs, against ADR's "must not widen or couple" claim. - [Blocker]
gh release uploadstill has no--clobber— a re-run for an existing tag will still fail. - [Important] The Cosign cert-identity regex still accepts
refs/heads/main. - [Important]
darwin-release-workflow_test.shstill doesn't assert the--versionsmoke-test step exists.
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
e895d08 to
e37ef09
Compare
Co-Authored-By: mecatl <[email protected]>
jhrozek
left a comment
There was a problem hiding this comment.
Fresh panel review (Spec / Standards / Test-adequacy / Domain specialists) on the rewritten branch. Good news first: both blockers and the important finding from the previous review are now fixed — no more needs: validate-release-tag coupling to the OCI/Helm jobs (confirmed by the workflow's own contract test asserting the string doesn't exist anywhere in the file), gh release upload now has --clobber, and the Cosign identity check switched to an exact --certificate-identity pinned to the tag — independently verified by four separate reviewers to be genuinely fail-closed against a workflow_dispatch-from-main forgery attempt (a Fulcio cert's SAN reflects the actual triggering ref, not the tag input, so it can never match refs/tags/${VERSION} unless the dispatch really came from that tag).
The rewrite introduced two new, unrelated blockers — both small, mechanical fixes. Six advisory findings otherwise, none blocking.
| CANDIDATE_TAG: ${{ inputs.tag || github.ref_name }} | ||
| run: | | ||
| set -euo pipefail | ||
| if [[ ! "${CANDIDATE_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+([.-][0-9A-Za-z.-]+)?$ ]]; then |
There was a problem hiding this comment.
[Advisory] This tag-format regex (^v[0-9]+\.[0-9]+\.[0-9]+([.-][0-9A-Za-z.-]+)?$) is duplicated verbatim in .github/scripts/package-darwin-release.sh:13. Two sites, cross-confirmed as reasonable defense-in-depth by two reviewers (the script is independently testable/usable standalone) rather than a required fix — but if the version grammar ever needs to change (e.g. to allow a +build suffix), both copies need to move together. Not blocking; worth a comment noting the duplication is intentional, or extracting to one shared source if a third consumer ever appears.
Co-Authored-By: mecatl <[email protected]>
jhrozek
left a comment
There was a problem hiding this comment.
Follow-up panel review after the latest fix commit (796df2965).
Both blockers from the previous review are fixed correctly and verified with no new regressions:
${BASHPID}→$$in.github/scripts/darwin-release-workflow_test.sh— confirmed$$is POSIX-portable and available underset -uon bash 3.2 (macOS's stock bash), and the existing${RANDOM}suffix plus the hardmkdirfailure guard right after make any residual collision risk a loud failure, not a silent one.ADR-0315→ADR-0318indocs/acceptance/darwin-release-archives.md— confirmed no other stale ADR reference remains anywhere in the diff's own files.
The fix commit is minimal and scoped to exactly the two reported issues — nothing else touched. Remaining advisories from the full panel (duplicated tag-format regex across two sites, CI timeout margin, latent concurrency-group overlap) are all low-severity and non-blocking.
Approving.
Co-Authored-By: mecatl <[email protected]>
c076df6 to
6308c09
Compare
Signed-off-by: Samuele Verzi <[email protected]>
…only (#1245) Co-authored-by: Claude Sonnet 5 <[email protected]>
Co-authored-by: mecatl <[email protected]>
…g polling (#1282) Co-authored-by: mecatl <[email protected]>
Co-authored-by: mecatl <[email protected]>
Signed-off-by: Samuele Verzi <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: mecatl <[email protected]>
jhrozek
left a comment
There was a problem hiding this comment.
Follow-up panel review after the latest push (041b2172f).
A welcome addition on top of what was already approved: the top-level concurrency: group: release-${{ github.ref }} was changed to release-${{ inputs.tag || github.ref_name }}, fixing a latent gap flagged in an earlier pass (a workflow_dispatch and a push for the same tag, triggered from different refs, previously wouldn't have serialized against each other). The offline contract test correctly gained an assertion pinning the new concurrency-group string, and the ADR/acceptance-plan renumber (0318→0319, another collision from main's churn) is consistently applied everywhere this time — no stale cross-reference.
Note: this branch is currently a few commits behind main's tip, so GitHub's file list also shows unrelated content from other already-merged PRs (mecatui login/MCP-authorization changes, SDK/proto regen) that will disappear on the next rebase — not part of this PR's own intent, and not reviewed as such here.
No new issues in the Darwin-archive-specific delta. Approving.
Co-Authored-By: mecatl <[email protected]>
…ht ADRs ADR 0319 was independently claimed by two other open PRs (#1238, #1278). Renumber this ADR to 0323, the next free number after main's highest (0322), to avoid a duplicate-number collision on merge. Co-Authored-By: Claude Sonnet 5 <[email protected]>
jhrozek
left a comment
There was a problem hiding this comment.
Re-reviewed the changes since my last approval. The release.yml adjustment (build context move + packages:write reuse for reading the published SDK + npm_token passed as a BuildKit secret) is sound and CI is green. LGTM.
|
Heads up — #1338 (merged 2026-09-10) also closes #891, via GoReleaser, covering all four platforms (darwin+linux × amd64+arm64) rather than just Darwin, plus signing, SBOMs, checksums, and a Homebrew tap formula. This PR is now |
|
Superseded by #1338, which landed the same capability with a wider scope. Closing — but the reasoning matters, and some of this PR is worth keeping. What replaced it#1338 publishes Shipped and independently verified at Being straight about the processThis PR took the right route and #1338 did not. It carries an acceptance plan and ADR 0319; #1338 shipped under an explicit spine waiver from the directing human. That ADR never merged, so by mecatl's own rule (merging is the approval event, proved by git ancestry) it was not in force — but it was a properly-routed proposal, and it lost to work that skipped the process. Worth saying out loud rather than leaving implied. Several of its decisions were also deliberately reversed rather than overlooked:
Two things not superseded1. 2. ADR 0319's number is a reserved gap. |
|
Follow-up for the record: ADR number 0319 is now used by #1405, which records the release-archive and Homebrew tap decision that actually shipped. Reusing the number rather than leaving it vacant was a deliberate call. Nothing on Two things from this PR are reflected there:
|
The archive + Homebrew pipeline shipped under an explicit spine waiver, so no ADR recorded it. That left no durable answer to why GoReleaser runs alongside ko, why the existing public tap rather than a new one, why four platforms, why the archive is flat, or why the deprecated `brews:` block is retained — all decided with reasons that lived only in PR bodies. Reuse ADR number 0319. It was allocated to an unmerged proposal in the closed #1238 and is referenced nowhere on main; by this repository's own rule that merging is the approval event, it was never an ADR. The document says so explicitly and describes that narrower proposal under Rejected alternatives, so the reused number is explained rather than merely vacant. Status Accepted with a Context note stating plainly that the implementation shipped first, so the dates do not imply a process that did not happen. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Summary
mecatedandmecatuiCloses #891
Verification
bash .github/scripts/darwin-release-workflow_test.shtask test:actionstask lint:actionstask docstask site:buildtask linttask testtask buildgo run ./cmd/mecademo