Skip to content

refactor(pagination)!: bump es-entity to 0.14.1, job to 0.16.1, obix to 0.13.1 - #892

Merged
nicolasburtey merged 1 commit into
mainfrom
chore/es-entity-0.14.1-job-0.16.1-obix-0.13.1
Sep 23, 2026
Merged

nicolasburtey merged 1 commit into
mainfrom
chore/es-entity-0.14.1-job-0.16.1-obix-0.13.1

Conversation

@nicolasburtey

@nicolasburtey nicolasburtey commented Sep 23, 2026

Copy link
Copy Markdown
Member

Migrates cala to the released chain versions. Migration code adapted from #889 (whose Check Code failure was a Magic Nix Cache rate-limit flake; its Integration Test passed).

  • es-entity 0.13.0 -> 0.14.1 (breaking pagination API: Page enum, has_next_page()/end_cursor() accessors, into_end_cursor())
  • job 0.15.2 -> 0.16.1
  • obix 0.12.3 -> 0.13.1

Part of the release-crate-chain roll: es-entity -> job -> obix -> cala -> lana-bank.


Note

Medium Risk
Breaking pagination API changes affect every es-entity list path; behavior should be unchanged if tests pass, but cursor continuation and “has next page” semantics are easy to get wrong during migration.

Overview
Bumps the workspace dependency chain to es-entity 0.14.1, job 0.16.1, and obix 0.13.1 (with matching Cargo.lock / fuzz/Cargo.lock updates, including transitive sqlparser 0.63.0).

Adapts cala to es-entity’s breaking pagination API: paginated results no longer use into_parts() or has_next_page / end_cursor fields. Call sites now use into_page() with the Page::Last / Page::HasNext enum, has_next_page(), end_cursor(), and into_end_cursor() for cursor continuation.

Production: Entries::list_for_transaction_id unpacks the repo page via into_page() before sorting by sequence.

Tests: shared helpers::expect_single_page for single-page assertions; pagination tests (account set members, effective-balance list_modified_since, filtered entries) updated to the new accessors and multi-page loops via Page::HasNext.

Reviewed by Cursor Bugbot for commit 8e58777. Configure here.

…to 0.13.1

Migrates to the es-entity 0.14 pagination API (Page enum, accessor
methods for has_next_page/end_cursor, into_end_cursor) as adapted from
#889, now against the published crates.io releases.

- es-entity 0.13.0 -> 0.14.1
- job 0.15.2 -> 0.16.1
- obix 0.12.3 -> 0.13.1 (es-entity-macros + sqlparser 0.63 ride along)

Part of the release-crate-chain roll: es-entity -> job -> obix -> cala
-> lana-bank.
@github-actions

Copy link
Copy Markdown
Contributor

📊 Performance Report

Commit: 8e58777
Updated: 2026-09-23 02:37:14 UTC

Cala Performance Benchmark Results (non-representative)

Criterion Benchmark Results (single-threaded)

Benchmark Time per Run Throughput % vs Baseline
post_simple_transaction 2.052ms 487 tx/s 0 (baseline)
post_multi_layer_transaction 2.124ms 470 tx/s -3.0%
post_simple_transaction_with_effective_balances 3.955ms 252 tx/s -92.0%
post_simple_transaction_with_skipped_velocity 3.097ms 322 tx/s -50.0%
post_simple_transaction_with_velocity 2.672ms 374 tx/s -30.0%
post_simple_transaction_with_hit_velocity 1.015ms 984 tx/s +50.0%
post_simple_transaction_with_one_account_set 2.019ms 495 tx/s +1.0%
post_simple_transaction_with_five_account_sets 2.613ms 382 tx/s -27.0%
post_simple_transaction_with_ec_account_set 3.551ms 281 tx/s -72.0%

Load Testing Results (parallel-execution)

Scenario tx/s
1 parallel 301.64
2 parallel 469.33
5 parallel 550.64
10 parallel 581.80
20 parallel 606.85
2 contention 337.27
5 contention 269.63
2 acct_sets 232.40
5 acct_sets 274.30

Note: Performance results may vary based on system resources and database state.

Last updated by commit 8e58777

@nicolasburtey
nicolasburtey marked this pull request as ready for review September 23, 2026 02:37
@nicolasburtey
nicolasburtey merged commit 1fccaf6 into main Sep 23, 2026
6 checks passed
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