Skip to content

Keep paged stock when opening spool registration - #287

Merged
bliatun-code merged 1 commit into
mainfrom
codex/open-registration-without-spool-list
Nov 25, 2026
Merged

bliatun-code merged 1 commit into
mainfrom
codex/open-registration-without-spool-list

Conversation

@bliatun-code

Copy link
Copy Markdown
Owner

Opening Add spool used to switch a paged Stock view to a full inventory read. Opening and cancelling now retain the loaded cards, including additional pages. Registration still requests its catalog and refreshes inventory after a successful write so Open roll can select the returned ID.

The browser regression opens and closes registration after paging on a paired Client. It checks that a card from the second page stays visible and that neither a card reload nor a full spool snapshot was requested.

Measurements

Production Chromium UI with release Rust and synthetic SQLite libraries, including a paired loopback Host with an existing offline capture. Registration catalog responses use a fixed fixture for both variants. Median of seven measured runs after two warm-ups. Time starts at click and ends on a frame with the expected dialog state and all pending desktop requests completed. Bytes include serialized requests and responses, excluding transport headers and assets. The Host byte column measures native Client–Host traffic for the instrumented operations.

Library Spools Action Time in ms (before → after) Desktop bytes Client–Host bytes
Local 0 open 79.5 → 32.2 2,867 → 1,354 —
Local 0 close 10.4 → 14.1 0 → 0 —
Local 10,000 open 192.9 → 55.5 10,046,731 → 1,354 —
Local 10,000 close 13.7 → 9.4 0 → 0 —
Paired 0 open 80.7 → 73.6 2,931 → 1,687 5,664 → 978
Paired 0 close 12.6 → 13.3 0 → 0 0 → 0
Paired 10,000 open 234.3 → 63.3 9,132,923 → 1,687 10,048,912 → 978
Paired 10,000 close 15.4 → 12.8 0 → 0 0 → 0

@bliatun-code bliatun-code self-assigned this Nov 25, 2026
@bliatun-code
bliatun-code merged commit 0531e94 into main Nov 25, 2026
10 checks passed
@bliatun-code
bliatun-code deleted the codex/open-registration-without-spool-list branch November 25, 2026 23: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