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

jallum / bedrock / b6edf2721597b2e3285bded8c2b796c010f396d2-PR-49
66%
develop: 65%

Build:
Build:
LAST BUILD BRANCH: feature/rework_olivine
DEFAULT BRANCH: develop
Ran 12 Sep 2025 07:49PM UTC
Jobs 1
Files 181
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

12 Sep 2025 07:47PM UTC coverage: 65.004% (+0.7%) from 64.284%
b6edf2721597b2e3285bded8c2b796c010f396d2-PR-49

Pull #49

github

jallum
Refactor transaction error handling and modernize system architecture

Core Changes:
- Error handling modernization: Replaced exception-based control flow with structured error patterns
  - Converted HCARetryException to {__MODULE__, :retry} throw pattern in HCA allocation
  - Enhanced storage racing with detailed failure categorization and proper error propagation
  - Added StorageError and TransactionError exception types for proper error classification
- Transaction builder enhancements:
  - Renamed Committing module to Finalization for better semantic clarity
  - Added nested transaction support with proper stack management
  - Enhanced failure handling with structured error reasons across all operations
  - Added support for atomic operations and individual key clearing
- Storage layer improvements:
  - Refined error propagation with detailed failure reasons (timeout, unavailable, layout failures)
  - Enhanced storage racing with proper server failure tracking
  - Removed timeout parameter from async streams for better reliability
- Repository layer overhaul:
  - Simplified transaction management with proper retry logic
  - Enhanced error classification between retryable and non-retryable failures
  - Removed complex TransactionManager in favor of direct repo transaction handling
  - Added comprehensive error handling tests
- Directory layer enhancements:
  - Added range() operation to Directory protocol
  - Improved HCA integration with proper transaction context
  - Enhanced prefix allocation with better error handling
  - Fixed root directory handling semantics
- Testing & tooling:
  - Added StorageTelemetry debug module for operation monitoring
  - Comprehensive test coverage for all error handling scenarios
  - Added storage retry tests and error handling validation
Pull Request #49: Implement FoundationDB-compatible directory layer with HCA and subspace support

276 of 409 new or added lines in 18 files covered. (67.48%)

4 existing lines in 3 files now uncovered.

3687 of 5672 relevant lines covered (65.0%)

653.38 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.39
-0.61% lib/bedrock/data_plane/commit_proxy/finalization.ex
1
68.52
-1.29% lib/bedrock/data_plane/log/shale/recovery.ex
1
65.88
-0.78% lib/bedrock/key.ex
2
87.5
0.0% lib/bedrock/data_plane/resolver/server.ex
2
77.78
17.78% lib/bedrock/internal/repo.ex
4
66.67
27.13% lib/bedrock/directory.ex
4
66.67
lib/bedrock/directory/node.ex
5
75.76
-4.89% lib/bedrock/cluster/gateway/transaction_builder/storage_racing.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
24
0.0
lib/bedrock/directory/partition.ex
32
83.59
lib/bedrock/directory/layer.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.76
-4.89% lib/bedrock/cluster/gateway/transaction_builder/storage_racing.ex
1
94.29
-1.43% lib/bedrock/internal/atomics.ex
2
85.83
0.0% lib/bedrock/data_plane/transaction.ex
Jobs
ID Job ID Ran Files Coverage
1 b6edf2721597b2e3285bded8c2b796c010f396d2-PR-49.1 12 Sep 2025 07:49PM UTC 181
65.0
GitHub Action Run
Source Files on build b6edf2721597b2e3285bded8c2b796c010f396d2-PR-49
  • Tree
  • List 181
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #49
  • PR Base - develop (#F67B2D46...)
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