Skip to content

release: v0.2.1#35

Closed
peczenyj wants to merge 8 commits into
mainfrom
devel
Closed

release: v0.2.1#35
peczenyj wants to merge 8 commits into
mainfrom
devel

Conversation

@peczenyj

Copy link
Copy Markdown
Owner

Release v0.2.1 — patch release (two fix: commits since v0.2.0; no feat:, no breaking changes).

Changelog (user-facing)

Fixed

Also included (excluded from CHANGELOG per cliff.toml)

Notable

v0.2.0 advertised "Support AllowStale in Options", but that option never reached Consul. v0.2.1 is the release where stale reads actually work (#26).

Post-merge steps (per README release flow)

  1. On main: regenerate CHANGELOG.md for v0.2.1 and commit.
  2. Tag v0.2.1 on main and push → release.yml publishes the release with the source archive + SHA256SUMS + SLSA provenance.
  3. Verify with gh attestation verify.
  4. Fast-forward main back into devel.

Merge with a merge commit titled release: v0.2.1.

peczenyj and others added 8 commits May 25, 2026 10:20
Options.AllowStale and the allow_stale URL parameter were parsed and
validated but never copied into driver.Config, so stale reads were never
requested. Forward the field through OpenVariable and add a public-API
regression test.

Closes #26

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The consecutive-failure counter driving exponential backoff was reset
only on the returning paths, not on the poll-again paths that loop after
a successful Get. A transport error following a healthy but unchanged
poll therefore escalated the backoff instead of restarting at 1s. Reset
the counter after any successful Get.

Closes #27

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Repair the unbalanced code fences so the install snippet and command
  list render correctly; the `# task:` / `# git-cliff:` comments now live
  inside the install block (refs #30).
- Point the golangci-lint install at v2.12.2 to match `.golangci.yml`
  (version: "2"), the `golangci-lint fmt` task, and CI (refs #29).
- State the real Go floor (1.25, from the go.mod directive) instead of
  1.26, and drop the false "dependencies pull the floor up" claim
  (refs #28).
- Describe what `task ci` actually does rather than claiming it pins the
  toolchain to a minimum Go that nothing enforces (refs #31).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
go.mod declares go 1.25.0 and no dependency raises the floor; AGENTS.md
claimed 1.26 in two places (refs #28).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ff-reset

fix: forward AllowStale and reset backoff after a successful poll
docs: fix Go version inconsistencies and README Development section
Tagged releases now package a deterministic source archive
(runtimevar-consul-<tag>.tar.gz) plus SHA256SUMS, attach them to the
GitHub Release, and generate Sigstore-signed SLSA v1.0 provenance for the
archive via actions/attest-build-provenance. This satisfies SLSA Build
L1 (scripted build + provenance); the hosted runner and signed,
non-falsifiable provenance also cover the bulk of L2.

Permissions are scoped per-job (id-token + attestations write added for
keyless signing). SECURITY.md documents verification via
`gh attestation verify`.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ci: add SLSA build provenance to releases
@peczenyj peczenyj self-assigned this May 25, 2026
@codecov

codecov Bot commented May 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.08%. Comparing base (f6557ab) to head (a02f136).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   98.08%   98.08%           
=======================================
  Files           6        6           
  Lines         157      157           
=======================================
  Hits          154      154           
  Misses          2        2           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@peczenyj peczenyj closed this May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant