Skip to content

VortexSession API cleanup pass#8503

Open
AdamGS wants to merge 13 commits into
developfrom
adamg/session-new-api-pass
Open

VortexSession API cleanup pass#8503
AdamGS wants to merge 13 commits into
developfrom
adamg/session-new-api-pass

Conversation

@AdamGS

@AdamGS AdamGS commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR makes the final pass to make the VortexSession immutable, removing the to_builder function and trying to clear up all call sites.

I've also tried to find all docs referencing it, but the change touches so many places I might've missed something.

One big change here is changing array_session (which I think I introduced?) to default_session_builder

@AdamGS AdamGS changed the title pass Another pass to clean up old session APIs Jun 19, 2026
@AdamGS AdamGS added the changelog/chore A trivial change label Jun 19, 2026
@tl-dr-review tl-dr-review Bot added the tldr label Jun 19, 2026
@codspeed-hq

codspeed-hq Bot commented Jun 19, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 3 improved benchmarks
❌ 1 regressed benchmark
✅ 1581 untouched benchmarks
⏩ 4 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation slice_empty_vortex 310 ns 368.3 ns -15.84%
Simulation bitwise_not_vortex_buffer_mut[128] 244.4 ns 215.3 ns +13.55%
Simulation bitwise_not_vortex_buffer_mut[1024] 304.7 ns 275.6 ns +10.58%
Simulation eq_i64_constant 319 µs 288.9 µs +10.43%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing adamg/session-new-api-pass (7d09a33) with develop (1118a20)

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

AdamGS added 8 commits June 24, 2026 09:56
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS force-pushed the adamg/session-new-api-pass branch from ab39ca5 to c3bd22c Compare June 24, 2026 08:56
@AdamGS AdamGS requested review from gatesn and robert3005 and removed request for robert3005 June 24, 2026 08:57
@AdamGS AdamGS changed the title Another pass to clean up old session APIs VortexSession API cleanup pass Jun 24, 2026
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
AdamGS added 2 commits June 24, 2026 10:04
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
.
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS force-pushed the adamg/session-new-api-pass branch from 7dd3548 to 7d09a33 Compare June 24, 2026 09:59
@AdamGS AdamGS marked this pull request as ready for review June 24, 2026 10:23
@AdamGS AdamGS requested a review from a team June 24, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change tldr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant