Skip to content

test(integration): spec clients-table durability across node restart#3736

Open
hubcio wants to merge 1 commit into
masterfrom
leader-change
Open

test(integration): spec clients-table durability across node restart#3736
hubcio wants to merge 1 commit into
masterfrom
leader-change

Conversation

@hubcio

@hubcio hubcio commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

A node reboot wipes the VSR clients table, so a client that keeps
its (client, session, request) identity cannot continue: a retry
of an already-committed request is silently dropped as a gap or
re-applied, and the next request id bounces off the unknown
session. The Rust SDK cannot exercise this (it re-registers under
a fresh identity on every disconnect), so the scenarios are
hand-crafted raw TCP frames, kept ignored until clients-table
persistence and the server half of session resume land; the
module doc carries the fix plan.

Also drop the cluster ping matrix stub: its module was gated
cfg(not(vsr)) and the test ignored, so it never ran in any mode.

A node reboot wipes the VSR clients table, so a client that keeps
its (client, session, request) identity cannot continue: a retry
of an already-committed request is silently dropped as a gap or
re-applied, and the next request id bounces off the unknown
session. The Rust SDK cannot exercise this (it re-registers under
a fresh identity on every disconnect), so the scenarios are
hand-crafted raw TCP frames, kept ignored until clients-table
persistence and the server half of session resume land; the
module doc carries the fix plan.

Also drop the cluster ping matrix stub: its module was gated
cfg(not(vsr)) and the test ignored, so it never ran in any mode.
@github-actions github-actions Bot added the S-waiting-on-review PR is waiting on a reviewer label Jul 23, 2026
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.24%. Comparing base (ef6b8ce) to head (d9a230b).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #3736       +/-   ##
=============================================
- Coverage     74.35%   40.24%   -34.12%     
  Complexity      950      950               
=============================================
  Files          1303     1301        -2     
  Lines        148712   129051    -19661     
  Branches     124223   104562    -19661     
=============================================
- Hits         110579    51931    -58648     
- Misses        34658    74377    +39719     
+ Partials       3475     2743      -732     
Components Coverage Δ
Rust Core 32.03% <ø> (-42.55%) ⬇️
Java SDK 62.64% <ø> (ø)
C# SDK 72.26% <ø> (ø)
Python SDK 92.27% <ø> (ø)
PHP SDK 84.52% <ø> (ø)
Node SDK 92.83% <ø> (ø)
Go SDK 43.08% <ø> (ø)
see 414 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review PR is waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant