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

jallum / bedrock / b8b5be63768afe9b4bdfa72080a36265505ad716-PR-55
64%
develop: 65%

Build:
Build:
LAST BUILD BRANCH: feature/rework_olivine
DEFAULT BRANCH: develop
Ran 29 Sep 2025 06:55AM UTC
Jobs 1
Files 186
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

29 Sep 2025 06:53AM UTC coverage: 64.298% (-1.0%) from 65.265%
b8b5be63768afe9b4bdfa72080a36265505ad716-PR-55

Pull #55

github

jallum
Refactor Olivine index loading to iterative version-based algorithm

Replace simple page chain traversal with sophisticated version-aware
loading that starts from durable version and iteratively loads only
needed pages by following next_page_id pointers across version blocks.

Key changes:
  - Add IndexDatabase.load_page_block/2 for version-chain loading
  - Implement cumulative page tracking (newest version wins)
  - Start with page 0, follow chain iteratively across versions
  - Only load pages that are part of current chain structure
  - Remove deprecated page storage functions
  - Add comprehensive test coverage for edge cases

This approach is memory-efficient and handles complex scenarios like
missing page 0 in durable version, stale pages in older versions,
and corrupted/incomplete databases with proper hard failures.
Pull Request #55: Rework Olivine

505 of 827 new or added lines in 24 files covered. (61.06%)

8 existing lines in 5 files now uncovered.

3955 of 6151 relevant lines covered (64.3%)

558.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.74
14.29% lib/bedrock/data_plane/storage/olivine/database.ex
1
90.0
-2.0% lib/bedrock/data_plane/storage/olivine/index/page.ex
1
29.52
-0.28% lib/bedrock/internal/cluster_supervisor.ex
2
75.0
lib/bedrock/data_plane/storage/olivine/id_allocator.ex
2
90.48
-7.3% lib/bedrock/data_plane/storage/olivine/index/tree.ex
3
50.0
lib/bedrock/data_plane/storage/olivine/telemetry.ex
3
86.96
15.53% lib/bedrock/data_plane/storage/telemetry.ex
11
87.16
10.18% lib/bedrock/data_plane/storage/olivine/index_update.ex
12
74.47
lib/bedrock/data_plane/storage/olivine/index_database.ex
13
78.33
lib/bedrock/data_plane/storage/olivine/data_database.ex
17
22.73
lib/bedrock/data_plane/storage/olivine/intake_queue.ex
18
78.32
16.78% lib/bedrock/data_plane/storage/olivine/index.ex
19
75.31
16.58% lib/bedrock/data_plane/storage/olivine/server.ex
21
70.31
-6.05% lib/bedrock/data_plane/storage/olivine/index_manager.ex
21
0.0
0.0% lib/bedrock/data_plane/storage/tracing.ex
31
43.84
-22.56% lib/bedrock/data_plane/storage/olivine/logic.ex
53
20.9
lib/bedrock/data_plane/storage/olivine/tracing.ex
93
40.0
lib/bedrock/data_plane/storage/olivine/reading.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% lib/bedrock/data_plane/storage/tracing.ex
1
29.52
-0.28% lib/bedrock/internal/cluster_supervisor.ex
1
75.0
-8.33% lib/bedrock/key.ex
2
90.0
-2.0% lib/bedrock/data_plane/storage/olivine/index/page.ex
3
70.31
-6.05% lib/bedrock/data_plane/storage/olivine/index_manager.ex
Jobs
ID Job ID Ran Files Coverage
1 b8b5be63768afe9b4bdfa72080a36265505ad716-PR-55.1 29 Sep 2025 06:55AM UTC 186
64.3
GitHub Action Run
Source Files on build b8b5be63768afe9b4bdfa72080a36265505ad716-PR-55
  • Tree
  • List 186
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #55
  • PR Base - develop (#A7D14DAF...)
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