Repository navigation
Conversation
uf-divisor
left a comment
There was a problem hiding this comment.
Council Review: APPROVE WITH ADVISORIES
6/6 dispatched reviewers succeeded; 5 returned APPROVE and 1 (divisor-sre) returned APPROVE WITH ADVISORIES. The consolidated verdict is APPROVE WITH ADVISORIES — 3 findings (1 MEDIUM, 2 LOW), no CRITICAL or HIGH.
What this PR does well: least-privilege design (workflow-level permissions: {} with job-level contents: read), SHA-pinned action with version comment (CI-001/CI-003), header comment block (CI-011), deliberate queue concurrency with justification (CI-012), bounded retries with distinct ::error:: diagnostics, no checkout, no secrets beyond github.token, and complete OpenSpec artifacts covering issue #297's 5 acceptance criteria and non-goals. All 6 CI checks pass; local actionlint and go version -m parsing validation pass.
Advisories (inline on .github/workflows/post-release-install-check.yml):
- [MEDIUM] release-verification (line 142): default
GOPROXYfalls through todirect, so the check verifies default-source installability rather than proxy.golang.org availability — contradicting the spec MUST and design D4. - [LOW] tag-resolution (line 100): the automatic path resolves "most recent non-draft release" at execution time; queued back-to-back releases can verify the wrong tag with a silent false pass.
- [LOW] observability (line 59): the 15-minute timeout leaves little headroom over the worst-case retry path, so the terminal
::error::diagnostic may not run.
These advisories do not block merge; they are accuracy-of-claim improvements suitable for a fast follow-up, ideally before the first automatic post-merge verification run (tasks 3.3/3.4).
This review was generated by /uf.review-pr (AI-assisted).
Add .github/workflows/post-release-install-check.yml that verifies
the exact published tag installs from proxy.golang.org via
go install + go version -m assertions (module path and exact version)
with distinct ::error:: diagnostics. Triggered on workflow_run of
Release (conclusion == success) plus workflow_dispatch with required
tag input. Uses temporary GOBIN/GOMODCACHE under RUNNER_TEMP with
bounded retries, no checkout, workflow-level permissions: {} with
job-level contents: read, pinned actions/setup-go@40f1582 # v5.6.0 (go 1.25, cache false),
15m timeout, and concurrency group post-release-install-check.
Update AGENTS.md CI/CD entries and Recent Changes.
Closes unbound-force#297.
OpenSpec change: add-lightweight-post-release-go-install
Co-Authored-By: internal-model
bc1d2cc to
494c4ef
Compare
Closes #297.
Summary
Adds
.github/workflows/post-release-install-check.yml— a lightweight post-release smoke test that verifies the exact tag just published installs fromproxy.golang.org.Workflow behavior
workflow_runofReleasegated onconclusion == 'success'+workflow_dispatchwith requiredtaginputv-prefix guard) or most recent non-draft release viagh api repos/$REPO/releases(3 attempts, 10s backoff; includes prereleases, excludes drafts —gh release viewwould return Latest non-prerelease only)go install github.com/unbound-force/gaze/v2/cmd/gaze@<tag>with temporaryGOBIN/GOMODCACHEunderRUNNER_TEMP(3-attemptgo installwith 30s backoff)go version -m "$GOBIN/gaze"asserting module pathgithub.com/unbound-force/gaze/v2+ exact version with distinct::error::diagnostics, plusgaze --versionpermissions: {}with job-levelcontents: read, pinnedactions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0withgo-version: "1.25"andcache: false,timeout-minutes: 15, concurrencypost-release-install-checkcancel-in-progress: falseschedulecanary: Canary already exists for daily checks; this complements it for release-time verification (see feat: add lightweight post-release Go install smoke test #297 Non-Goals — no pre-merge network, no workflow meta-tests, no protected-identifier snapshots)Verification
PYENV_VERSION=3.10.19 yamllint -c .yamllint.ymlPASSactionlintPASSgo version -mparsing verified against matching/mismatching sample build-info (3 cases PASS)gh api repos/unbound-force/gaze/releases --jq '[.[] | select(.draft == false)][0].tag_name'→v2.3.0dry-run PASSRemaining (post-merge)
mainwith current latest tag and confirm both assertions passworkflow_runfired automaticallyConstitution alignment
No production Go code changed — CI-only. Passes Accuracy (exact tag match), Minimal Assumptions (no checkout, temp dirs), Actionable Output (distinct errors), Testability (deterministic local checks).
OpenSpec change:
openspec/changes/add-lightweight-post-release-go-install/