7200023bcc
.NET/Go/Python/Rust clients (plus Contracts, which releases in lockstep
with the .NET Client) move 0.2.0 -> 0.2.1; Java moves 0.2.1 -> 0.2.2. This
starts the next release train the finding recommended, since post-publish
source changes (including the Python connect() event-loop fix, a8f86b5)
had been sitting at already-published version numbers for nine days with
nothing recording the divergence.
- Note the pypi 0.2.0 connect() defect and its supersession by 0.2.1 in
clients/python/README.md and docs/ClientPackaging.md.
- Add scripts/check-client-versions.ps1: a PR-time guard that finds each
client's latest publish tag (clients/go/vX.Y.Z for Go, the only client
with a git tag; the other four publish straight to a registry with no
tag, so the check reports "no tags found" and passes for them) and fails
if clients/<lang> changed since that tag while the version constant
still equals the tag's version. Wired into .gitea/workflows/ci.yml's
portable job next to the codegen freshness checks (needs fetch-depth: 0
for tag history).
- Mark remediation batch A Done in
archreview/2026-08-19/remediation/00-tracking.md.
Verified on macOS: dotnet build clients/dotnet/...slnx (pass), cargo check
--workspace (pass), python -m pytest (168 passed, 1 skipped), gradle test
with JDK 17 (pass, no generated-tree churn to revert this time), gofmt -l
+ go build ./... + go test ./... (clean), and
scripts/check-client-versions.ps1 via pwsh (pass; also verified it fails
correctly when a version constant is rolled back).
16 lines
521 B
Go
16 lines
521 B
Go
package mxgateway
|
|
|
|
const (
|
|
// ClientVersion is the released semantic version of this Go client module.
|
|
// Keep it in sync with the module tag applied by scripts/tag-go-module.ps1.
|
|
ClientVersion = "0.2.1"
|
|
|
|
// GatewayProtocolVersion matches GatewayContractInfo.GatewayProtocolVersion
|
|
// in the shared .NET contracts.
|
|
GatewayProtocolVersion uint32 = 3
|
|
|
|
// WorkerProtocolVersion matches GatewayContractInfo.WorkerProtocolVersion
|
|
// and is exposed for fake-worker and parity tests.
|
|
WorkerProtocolVersion uint32 = 1
|
|
)
|