Skip to content

Releases

v3.1.17 - scope empty-input git describe fallback to v3

Choose a tag to compare

@n-ae n-ae released this 23 Jul 16:57
20f5fe0

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • The empty-input workflow_dispatch fallback (git describe --tags --abbrev=0) resolves the nearest tag reachable from HEAD of any major version, not just v3 - harmless today since every tag in this repo has been v3.x.y, but v3.1.16 rewrote this input's description to promise "the nearest reachable v3 tag" without actually scoping the underlying git describe call. Once a v4.0.0 (or an out-of-order earlier-major hotfix) tag became nearer to main than the latest v3 release, an empty-input dispatch would resolve to it and then fail the v3.1.16-added ^v3\. guard, rather than falling back to the nearest actual v3 tag as documented.

    Verified both the original gap and the fix in a throwaway clone: an unscoped git describe picks up a simulated later v4.0.0 tag exactly as predicted; --match 'v3.*' correctly stays on the latest real v3 release.

Found by the v3.1.16 maintainability assessment (grade A-, held; finding #26).

See CHANGELOG.md for full details.

v3.1.16 - scope release-smoke to v3, add major-version guard

Choose a tag to compare

@n-ae n-ae released this 23 Jul 14:55
4ab1ce1

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • .github/workflows/release-install-smoke.yml triggered on any v-prefixed tag push, but its go get/import lines are hardcoded to the /v3 module path. A wrong-major tag (e.g. v2.2.0, which exists in this repo) passed both the semver-shape and tag-existence checks - neither validates the major version - then failed deterministically at go get, burning the full 5-attempt/150s-backoff retry budget on a permanent mismatch the retry logic couldn't distinguish from a transient proxy delay. A future v4.0.0 tag push would have auto-triggered this same v3-only workflow and failed it for a structural reason.

    Live-reproduced via an actual dispatched run (tag=v2.2.0) before fixing: burned 155s failing go get identically 5 times. After the fix, the same dispatch now fails immediately at tag resolution with an explicit this workflow only verifies v3.x.y releases error - also confirmed via a real run.

    Now: the push trigger is scoped to v3.* instead of v*, and an explicit ^v3\. guard rejects any non-v3.x.y tag before the tag-existence check or any network call.

Found by the v3.1.15 maintainability assessment (grade A-, recovered from B+; finding #25).

See CHANGELOG.md for full details.

v3.1.15

Choose a tag to compare

@n-ae n-ae released this 23 Jul 13:57
168190f

Patch, CI only - no runtime or test source changes.

Closes three findings from the 2026-07-23 (31842b6) maintainability assessment (grade B+, down from A-), all in .github/workflows/release-install-smoke.yml:

  • Finding #22 - the tag-push branch's tag="${{ github.ref_name }}" was still directly interpolated into shell source, the same script-injection-prone pattern v3.1.14 closed only for the manual-dispatch input. Independently reproduced as a working command-substitution injection and neutralized by mediating REF_NAME/EVENT_NAME through env:, same as INPUT_TAG.
  • Finding #23 - the go mod tidy retry added in v3.1.14 had a worst case (450s) exceeding its containing step's timeout-minutes: 3 - a self-inflicted regression. Split into its own step with a matching timeout-minutes: 8; job-level timeout raised 10→22 to cover the sum of all step budgets.
  • Finding #24 - the version-shape check now uses the full SemVer 2.0.0 grammar instead of an approximation that rejected valid build-metadata tags and accepted invalid ones like leading-zero versions.

All three fixes were live-tested via real workflow_dispatch runs on main before this release (an invalid-shape tag, a semver-shaped-but-nonexistent tag, and a real existing tag), in addition to this tag-push run itself.

See CHANGELOG.md's [3.1.15] section and docs/MAINTAINABLE_ARCHITECT_V4_ASSESSMENT.md for the full account.

Full Changelog: v3.1.14...v3.1.15

v3.1.14

Choose a tag to compare

@n-ae n-ae released this 23 Jul 13:07
31842b6

Patch, CI only - no runtime or test source changes.

Closes two new findings from the 2026-07-23 (fc58431) maintainability assessment of v3.1.13, plus a residual gap that same assessment cycle's own review predicted, all in .github/workflows/release-install-smoke.yml:

  • Finding #20 - the manual-dispatch tag guard added in v3.1.13 only checked for a v prefix, not that the input was an actual semantic-version-shaped, existing release tag. Now validates semver shape and requires a resolvable refs/tags/ ref, echoing the resolved commit into the job log.
  • Finding #21 - the manual tag input was interpolated directly into the generated shell script rather than mediated through env:, the script-injection-prone pattern GitHub's own Actions security-hardening guidance warns against. Now read via env: INPUT_TAG.
  • go mod tidy retry gap - bounded but not retried, despite being able to hit the same sum.golang.org propagation delay that motivated the go get step's retry logic. Now retried with the same backoff.
  • actions/setup-go caching disabled so the job's "clean first consumer" framing matches what it actually verifies.

See CHANGELOG.md's [3.1.14] section and docs/MAINTAINABLE_ARCHITECT_V4_ASSESSMENT.md for the full account.

Full Changelog: v3.1.13...v3.1.14

v3.1.13 - bounded retry, tag validation, corrected comment, final action pin

Choose a tag to compare

@n-ae n-ae released this 23 Jul 11:14
fc58431

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • .github/workflows/release-install-smoke.yml's advertised "~2.5 minutes worst case" retry budget was only the sum of its sleeps, not a real bound - no timeout-minutes: on the job, no per-command timeout on go get/go mod tidy/go build/the smoke binary. Now: timeout-minutes: 10 on the job, timeout 60s per go get attempt, timeout-minutes: 3 on the build/tidy/run step.
  • .github/workflows/release-install-smoke.yml's manual tag dispatch input is now validated against v* before use, rather than being passed straight to go get.

Changed

  • .github/workflows/fuzz.yml's concurrency block comment (added in v3.1.12) inaccurately claimed concurrent runs could race on a shared testdata/fuzz/ directory - GitHub-hosted jobs run in fresh, isolated VMs, so that race is structurally impossible. Corrected the rationale; kept the concurrency group itself.
  • golangci/golangci-lint-action@v9 is now SHA-pinned, the one action left on a mutable major tag after the prior hardening pass.

Found by the v3.1.12 maintainability assessment (grade A-, held; findings #16-#19).

See CHANGELOG.md for full details.

v3.1.12 - workflow hardening + release-smoke retry/backoff

Choose a tag to compare

@n-ae n-ae released this 23 Jul 09:17
7d6702b

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Changed

  • All five .github/workflows/*.yml files gain explicit permissions: contents: read, and every actions/checkout/actions/setup-go reference is pinned to its release commit SHA instead of the mutable @v7 major tag.
  • .github/workflows/fuzz.yml gains a concurrency group (baseurl-fuzz, cancel-in-progress: false).
  • .github/workflows/fuzz.yml's upload-artifact upgraded v4 → v7.0.1 (resolving a Node.js 20→24 deprecation-forcing warning), with explicit if-no-files-found: warn.

Fixed

  • .github/workflows/release-install-smoke.yml's exact-tag go get now retries up to 5 times with 15/30/45/60s backoff before failing for real, absorbing the transient sum.golang.org propagation delay observed on both the v3.1.10 and v3.1.11 tag-triggered runs. This tag is the first real, live test of that retry/backoff logic.

See CHANGELOG.md for full details.

v3.1.11 - fixes release install-smoke's manual tag resolution

Choose a tag to compare

@n-ae n-ae released this 23 Jul 05:34
e6db3f0

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • .github/workflows/release-install-smoke.yml's manual-dispatch tag resolution silently defaulted to the branch it ran on, not the "latest tag" its own input description promised. github.ref_name is the triggering branch (not a tag) on a workflow_dispatch event, so the git describe --tags --abbrev=0 fallback was never actually reached. Now keyed off github.event_name.

  • A second, independent bug surfaced immediately on the first real dispatch of that fix: actions/checkout's default shallow clone has no tag history, so the newly-reachable git describe fallback itself failed (fatal: No names found, cannot describe anything.). Fixed with fetch-depth: 0.

    Verified live, not just locally simulated: a real workflow_dispatch with no tag input, run twice against the fix branch - the first run reproduced the git describe failure exactly, the second (after the fetch-depth: 0 fix) correctly resolved and installed the latest tag.

    Found by the v3.1.10 maintainability assessment (grade A-, recovered from B+ - finding #15).

See CHANGELOG.md for full details.

v3.1.10 - fixes the corpus-upload condition v3.1.9 shipped broken

Choose a tag to compare

@n-ae n-ae released this 23 Jul 04:30
04537f4

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • .github/workflows/fuzz.yml's corpus-upload step could never actually run. v3.1.9 scoped the if: condition to steps.fuzz.outcome == 'failure', but GitHub Actions implicitly ANDs a bare if: with success() unless the expression contains an explicit status-check function - so the effective condition was success() && steps.fuzz.outcome == 'failure', never true, since the fuzz step failing already puts the job in a failed state by the time the upload step evaluates. Now if: failure() && steps.fuzz.outcome == 'failure'.

    Verified live on both paths, not just YAML-validated: a throwaway branch with the fuzz step swapped for one that writes a sentinel corpus file and exits 1 confirmed the upload step runs and the resulting artifact contains exactly that file; a second real run on main confirmed the success path still correctly skips the upload.

    Found by the v3.1.9 maintainability assessment (grade B+, down from A- - the first defect this assessment lineage has found in a shipped release since the v3.1.6→v3.1.7 cycle).

See CHANGELOG.md for full details.

v3.1.9 - hardens scheduled fuzz workflow failure handling

Choose a tag to compare

@n-ae n-ae released this 22 Jul 20:56
e3ee47c

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Changed

  • .github/workflows/fuzz.yml hardening:

    • The artifact-upload step is now scoped to the fuzz step's own outcome (via a step id and steps.fuzz.outcome == 'failure') rather than the job-level failure(), which also fired - and could produce a misleading empty/stale artifact - if checkout or setup-go failed before fuzzing even started.
    • The job comment now distinguishes an actual invariant violation (fuzz step failed, corpus artifact present - a genuine finding) from infrastructure failure (checkout/setup-go/runner outage/the 5-minute timeout - ordinary CI triage, not a security finding).

    Verified on a real GitHub Actions run before merging. Found by the v3.1.8 maintainability assessment.

See CHANGELOG.md for full details.

Full Changelog: v3.1.8...v3.1.9

v3.1.8 - fixes a fuzz-test false negative, adds scheduled fuzzing

Choose a tag to compare

@n-ae n-ae released this 22 Jul 19:39
0e35c33

Patch release, test/CI only - no runtime source changes, no caller-visible behavior change.

Fixed

  • FuzzNewClientErrorDoesNotEchoInput's scheme-position template inserted a normalized marker (validSchemeMarker) but asserted against the original, unnormalized one - so the check only caught a regression by coincidence, when the marker happened to already be valid scheme syntax. Realistic secret shapes (e.g. sk_live_..., which strips under normalization) slipped through undetected. Fixed to assert against the value actually inserted per template.

    Confirmed by reintroducing the exact pre-v3.1.7 scheme-echo regression: the old assertion missed it for 4 of 5 seeds; the fixed assertion catches it for all 5. TestNewClientErrorMessagesAreFixed and a direct regression case both independently caught the same regression correctly the whole time - this was a test-tooling gap only, never a runtime vulnerability.

    Found by the v3.1.7 maintainability assessment, following a lead from an external review.

Added

  • .github/workflows/fuzz.yml - a scheduled (daily, plus manually dispatchable), coverage-guided fuzz run for NewClient's BaseURL error non-disclosure invariant, separate from the PR-blocking CI job. Recommended across three consecutive maintainability-assessment cycles before being added now rather than carried forward a fourth time. On failure, uploads the failing input as a build artifact so it can be committed as a permanent regression test.

See CHANGELOG.md for full details.

Full Changelog: v3.1.7...v3.1.8