Skip to content

chore: bump OT Fabric libraries and align the Go floor - #24

Merged
boeboe merged 1 commit into
mainfrom
chore/deps-go-floor
Nov 8, 2026
Merged

boeboe merged 1 commit into
mainfrom
chore/deps-go-floor

Conversation

@boeboe

@boeboe boeboe commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

What

  • go-sparkplugb v0.3.3 → v0.3.4. edge: a rebirth publishes the DBIRTHs in first-birth order (was map order), and Rebirth reads device state under the lock (data race fix). go mod tidy pulled no other github.com/otfabric/go-* module forward.
  • Go floor: go 1.27.3 → go 1.26.0 (the organisation floor; nothing needed 1.27). Tidy kept it. README badge and "from source" line updated.
  • CI matrix: go-versions was ["1.27"], now ["1.26", "1.27"], the same as the other CLIs, so 1.26 is tested. I did not drop the input to use the go-ci.yml default: that default (["1.23","1.24","1.25","1.26"], filtered to the go.mod floor) would test only 1.26 and lose 1.27.
  • TestVersion on Go 1.26: it read debug.ReadBuildInfo().Deps and failed with "go-sparkplugb is not a dependency" on Go 1.26, whose test binaries record no dependencies (Go 1.27's do). This is probably why the floor was 1.27.3. The test now expects no library part when the test binary has no dependency list, and the e2e test now checks that the built binary names go-sparkplugb in version and version --json, so the check moved to the real binary rather than being dropped.
  • Release workflow pin: .github/workflows/release.yml uses otfabric/.github/.github/workflows/go-binary-release.yml@v3.6.0 (was @v3.3.x). That release builds binaries with the newest patch of the Go minor declared in go.mod, not the exact go.mod version. The v3.6.0 tag is about to be published; pull-request CI does not run release.yml, so this PR does not depend on it.
  • RELEASE.md: v0.4.1 section (2026-11-08), stating the new minimum Go 1.26.0.

Checks

  • make check (coverage gate 90 %: 100 %) and make e2e: green with Go 1.27.3. go vet, go test ./... and make e2e also green with GOTOOLCHAIN=go1.26.0.
  • sparkplugbctl version lists go-sparkplugb 0.3.4.

🤖 Generated with Claude Code

Bump go-sparkplugb v0.3.3 -> v0.3.4 and lower the go line from 1.27.3 to
1.26.0. CI tests Go 1.26 and 1.27, the release workflow is pinned to
otfabric/.github v3.6.0, and the README states Go 1.26.

TestVersion no longer needs the dependency list in the test binary build
information, which Go 1.26 does not record; the e2e test checks that the
built binary names go-sparkplugb instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@boeboe
boeboe merged commit df43d39 into main Nov 8, 2026
23 checks passed
@boeboe
boeboe deleted the chore/deps-go-floor branch November 8, 2026 07:46
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