• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bedrock-kv / bedrock / 09254318e1969b3cf682002923350af9e8ee34b4

07 Jan 2026 11:30AM UTC coverage: 64.774% (-0.7%) from 65.437%
09254318e1969b3cf682002923350af9e8ee34b4

push

github

jallum
Add single-resolver fast path in commit proxy finalization

Optimize conflict resolution for the common single-resolver case by
bypassing Task.async and async_stream overhead.

Changes:
- Add ResolverLayout module with Single and Sharded struct variants
  for pattern matching in the finalization pipeline
- Implement single-resolver fast path that extracts conflict sections
  synchronously and calls the resolver directly
- Update resolve_conflicts/5 to take explicit epoch and resolver_layout
  parameters instead of extracting from opts
- Rename precomputed_layout to resolver_layout throughout codebase
- Delete LayoutOptimization module (functionality moved to ResolverLayout)
- Remove unused create_resolver_task from Batching module

The single-resolver path eliminates per-transaction Task.async spawns
and the async_stream wrapper around resolver calls, reducing overhead
for workloads that don't require sharded conflict resolution.

27 of 30 new or added lines in 3 files covered. (90.0%)

48 existing lines in 6 files now uncovered.

4198 of 6481 relevant lines covered (64.77%)

2225.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.7
/lib/bedrock/data_plane/commit_proxy/finalization.ex


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc