Skip to content

feat(node): drop classic framing and test only against the VSR server - #3843

Merged
hubcio merged 1 commit into
masterfrom
ci/node-vsr-only
Aug 10, 2026
Merged

feat(node): drop classic framing and test only against the VSR server#3843
hubcio merged 1 commit into
masterfrom
ci/node-vsr-only

Conversation

@hubcio

@hubcio hubcio commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The Node SDK carried a dual wire stack: legacy 8-byte framing plus
the VSR consensus framing, selected by a protocol config option.
Every classic path was dead weight once server-ng became the CI
target, and the option let clients silently pick a framing the
server does not speak.

Remove the classic protocol entirely: the SDK now always frames
requests for VSR, so the protocol option, the classic encoder and
response parser, and the per-protocol frame decoder branches are
gone. All node CI lanes (e2e, coverage, BDD, examples) start a
single iggy-server-ng built with --features vsr; the separate
e2e-vsr lane is folded into e2e. The tcp-tls example switches from
Balanced to explicit PartitionId partitioning because the VSR
client routes each send to a partition-scoped namespace and
rejects broker-side balancing before the request is sent.

Breaking npm API change, hence the 0.10.0-edge.1 bump. The stale
pre-monorepo CHANGELOG is removed.

@github-actions github-actions Bot added the S-waiting-on-review PR is waiting on a reviewer label Aug 7, 2026
@hubcio
hubcio force-pushed the ci/node-vsr-only branch from f0f1ca3 to e2fa40a Compare August 7, 2026 22:21
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.91%. Comparing base (00840d1) to head (4d6dc84).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3843      +/-   ##
============================================
- Coverage     76.97%   75.91%   -1.07%     
- Complexity     1021     1316     +295     
============================================
  Files          1366     1378      +12     
  Lines        176208   177075     +867     
  Branches     146138   146315     +177     
============================================
- Hits         135639   134423    -1216     
- Misses        36695    38689    +1994     
- Partials       3874     3963      +89     
Components Coverage Δ
Rust Core 76.07% <ø> (-0.01%) ⬇️
Java SDK 66.40% <ø> (+3.18%) ⬆️
C# SDK 52.47% <ø> (-23.60%) ⬇️
Python SDK 89.98% <ø> (ø)
PHP SDK 82.97% <ø> (ø)
Node SDK 96.33% <100.00%> (+0.04%) ⬆️
Go SDK 69.13% <ø> (ø)
Files with missing lines Coverage Δ
foreign/node/src/client/client.config.ts 100.00% <100.00%> (ø)
foreign/node/src/client/client.connection.ts 96.46% <100.00%> (-0.12%) ⬇️
foreign/node/src/client/client.frame.ts 98.56% <100.00%> (-0.12%) ⬇️
foreign/node/src/client/client.socket.ts 95.57% <100.00%> (-0.01%) ⬇️
foreign/node/src/client/client.utils.ts 100.00% <ø> (+10.30%) ⬆️
...ign/node/src/wire/message/poll-messages.command.ts 99.27% <100.00%> (+0.35%) ⬆️
foreign/node/src/wire/vsr/namespace.ts 100.00% <100.00%> (+0.92%) ⬆️

... and 132 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The Node SDK carried a dual wire stack: legacy 8-byte framing plus
the VSR consensus framing, selected by a protocol config option.
Every classic path was dead weight once server-ng became the CI
target, and the option let clients silently pick a framing the
server does not speak.

Remove the classic protocol entirely: the SDK now always frames
requests for VSR, so the protocol option, the classic encoder and
response parser, and the per-protocol frame decoder branches are
gone. All node CI lanes (e2e, coverage, BDD, examples) start a
single iggy-server-ng built with --features vsr; the separate
e2e-vsr lane is folded into e2e. The tcp-tls example switches from
Balanced to explicit PartitionId partitioning because the VSR
client routes each send to a partition-scoped namespace and
rejects broker-side balancing before the request is sent.

Breaking npm API change, hence the 0.10.0-edge.1 bump. The stale
pre-monorepo CHANGELOG is removed.
@hubcio
hubcio merged commit efcb880 into master Aug 10, 2026
177 of 179 checks passed
@hubcio
hubcio deleted the ci/node-vsr-only branch August 10, 2026 14:47
@github-actions github-actions Bot removed the S-waiting-on-review PR is waiting on a reviewer label Aug 10, 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.

4 participants