Skip to content

chore(sdkx,voice): bump sdk dependency to v0.2.2#44

Merged
lIang70 merged 1 commit into
mainfrom
chore/bump-downstream-sdk-v0.2.2
Apr 27, 2026
Merged

chore(sdkx,voice): bump sdk dependency to v0.2.2#44
lIang70 merged 1 commit into
mainfrom
chore/bump-downstream-sdk-v0.2.2

Conversation

@lIang70

@lIang70 lIang70 commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

Lift sdkx/go.mod and voice/go.mod's require github.com/GizClaw/flowcraft/sdk floor from v0.2.0 to v0.2.2.

Why

sdk/v0.2.1 (PR#42, knowledge architecture refactor) and sdk/v0.2.2 (PR#43, history compactor + knowledge reloader race fixes) added new API surface that sdkx's and voice's source already uses on main. Their go.mod still pinned the floor at v0.2.0. This is silently OK in our monorepo because go.work redirects to local code, and OK for downstream apps that themselves require sdk >= v0.2.2, but it is not OK for an app that only requires sdkx/voice and lets MVS pick sdk@v0.2.0 — that app would compile sdkx/voice against a sdk predating the refactor and break.

Lifting the floor to v0.2.2 makes Minimum Version Selection always pick a sdk that is known to satisfy sdkx/voice's actual API usage.

Tag implications

After merge, auto-tag will:

  • skip sdk (no sdk/ changes)
  • bump sdkx (now sdkx/v0.2.0sdkx/v0.2.2, since the next free patch slot is v0.2.2; v0.2.1 was deleted earlier as it pointed to the same code state as the now-merged catch-up tag would have)
  • bump voice (voice/v0.2.0voice/v0.2.1)

This is the desired outcome — sdkx/voice consumers get pointers to versions whose go.mod correctly declares the sdk API they need.

Test plan

  • GOWORK=off go build ./... in sdkx/ and voice/ against real sdk@v0.2.2 module zip
  • go test -race ./... in sdkx/ and voice/ (workspace mode, fast feedback)
  • CI green on this PR

Made with Cursor

sdkx/v0.2.1 and (will-be) voice/v0.2.x's source already targets the
post-PR#42 sdk API surface (knowledge/retrieval refactor). Their
go.mod still pinned the floor at sdk v0.2.0, which is fine under MVS
when downstream apps require >= v0.2.2 themselves, but can break
apps that only require sdkx/voice and let MVS pick sdk v0.2.0
(those apps would compile sdkx/voice against a sdk that predates
the API additions used by the refactor).

Lift the floor to sdk v0.2.2 so MVS always picks a sdk that is
known to satisfy sdkx/voice's actual API usage.

Build verified with GOWORK=off + GOPROXY against the real
sdk@v0.2.2 module zip; race-tested with the workspace.

Made-with: Cursor
@lIang70
lIang70 merged commit f644659 into main Apr 27, 2026
8 checks passed
@lIang70
lIang70 deleted the chore/bump-downstream-sdk-v0.2.2 branch April 27, 2026 03:40
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