Skip to content

feat: add lightweight post-release Go install smoke test #297

Closed

Description

@yvonnedevlinrh

Problem

The release guard verifies tag/module-path consistency before publication, but it does not confirm that a newly published release is available through the public Go proxy.

This is not required for the /v2 migration itself.

Proposed Work

Add a small post-release smoke test that:

  • Installs the exact published tag from proxy.golang.org.
  • Uses temporary GOBIN and module caches.
  • Runs go version -m on the installed binary.
  • Confirms module github.com/unbound-force/gaze/v2.
  • Confirms the exact requested release version.
  • Retries briefly for normal proxy propagation.

Non-Goals

  • No large fake-command test framework.
  • No pre-merge network calls.
  • No generalized workflow meta-tests.
  • No protected-identifier snapshots.
  • No changes to release, signing, or Homebrew behavior.

Acceptance Criteria

  • Runs only after publication or by manual dispatch.
  • Verifies the exact published tag.
  • Uses bounded retries and actionable failure output.
  • Requires read-only permissions.
  • Does not block normal pre-merge CI.

Activity

  1. added
    enhancement
    on Nov 1, 2026
  2. jflowers commented on Nov 1, 2026

    @jflowers
    Collaborator

    Divisor Issue Triage

    Verdict: VALID — 7/7 reviewer personas
    Category: feature
    Objectivity: objective (verifiable in-repo evidence)
    Duplicate: none
    Split: none

    Pre-publication release gates verify preconditions, not outcomes: they cannot catch a tag that publishes without consumable artifacts. The repository's documented uninstallable v2 tags are the evidence class that only a post-publication smoke test catches. A lightweight go install against the public module proxy verifies that the released module resolves and builds without consuming local release state, at negligible CI cost.

    Applied the enhancement label (category feature maps to enhancement in this repo's label taxonomy).

    This triage was performed by the Divisor review panel.

  3. added a commit that references this issue on Nov 15, 2026
    494c4ef
  4. added a commit that references this issue on Nov 19, 2026
    af28f39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions