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

jallum / bedrock / ac65a60c39d387385fccc2f8b702f2168522daf1
65%

Build:
DEFAULT BRANCH: develop
Ran 13 Sep 2025 04:52AM UTC
Jobs 1
Files 178
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Sep 2025 04:51AM UTC coverage: 66.133% (+1.8%) from 64.284%
ac65a60c39d387385fccc2f8b702f2168522daf1

push

github

web-flow
Implement FoundationDB-like directory layer and modernize transaction system (#49)

This commit introduces a comprehensive directory layer implementation
aiming to be compatible with FoundationDB's directory layer, along with 
significant improvements to the transaction processing system:

## Directory Layer Features
- Full FoundationDB-compatible directory layer with HCA (High Contention
Allocator) and subspace support
  - Comprehensive path validation and prefix collision detection
  - Version management and metadata handling for directory operations
  - Atomic directory operations including move, create, and remove
  - Extensive test coverage with property-based testing

## Transaction System Improvements
- Refactored error handling with structured failure reporting using
`{:failure, failures_by_reason}` pattern
- Enhanced commit proxy to return transaction sequence numbers alongside
commit versions
  - Improved async processing and batching with better telemetry
- Modernized storage racing logic with more robust timeout and
availability handling
  - Added support for atomic operations and improved conflict resolution

## Architecture Enhancements
- Renamed and reorganized transaction builder modules for better clarity
  - Enhanced storage telemetry and debugging capabilities
  - Improved internal repository handling with better error propagation
  - Streamlined key handling by folding Tuple into Key module
  - Added comprehensive test helpers and utilities

The implementation maintains backward compatibility while significantly
expanding Bedrock's capabilities for distributed transaction processing
and hierarchical key management.

319 of 456 new or added lines in 18 files covered. (69.96%)

6 existing lines in 6 files now uncovered.

3757 of 5681 relevant lines covered (66.13%)

660.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.35
13.39% lib/bedrock/data_plane/log/shale/pushing.ex
1
68.52
-1.29% lib/bedrock/data_plane/log/shale/recovery.ex
1
92.86
-3.44% lib/bedrock/internal/range_query.ex
1
65.88
-0.78% lib/bedrock/key.ex
2
78.18
18.18% lib/bedrock/internal/repo.ex
2
92.31
75.64% lib/bedrock/subspace.ex
4
77.42
-3.23% lib/bedrock/cluster/gateway/transaction_builder/storage_racing.ex
4
90.42
-1.58% lib/bedrock/data_plane/commit_proxy/finalization.ex
11
45.0
lib/bedrock/exceptions.ex
13
60.0
-14.36% lib/bedrock/cluster/gateway/transaction_builder.ex
13
64.86
0.48% lib/bedrock/hca.ex
20
0.0
lib/bedrock/debug/storage_telemetry.ex
64
72.88
33.35% lib/bedrock/directory.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.42
-3.23% lib/bedrock/cluster/gateway/transaction_builder/storage_racing.ex
1
89.09
0.0% lib/bedrock/control_plane/director/recovery/persistence_phase.ex
1
90.42
-1.58% lib/bedrock/data_plane/commit_proxy/finalization.ex
1
87.5
-12.5% lib/bedrock/data_plane/log/telemetry.ex
1
85.83
0.0% lib/bedrock/data_plane/transaction.ex
1
94.29
-1.43% lib/bedrock/internal/atomics.ex
Jobs
ID Job ID Ran Files Coverage
1 ac65a60c39d387385fccc2f8b702f2168522daf1.1 13 Sep 2025 04:52AM UTC 178
66.13
GitHub Action Run
Source Files on build ac65a60c39d387385fccc2f8b702f2168522daf1
  • Tree
  • List 178
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ac65a60c on github
  • Prev Build on develop (#F67B2D46...)
  • Next Build on develop (#1D3C6B41...)
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