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

jallum / bedrock / 1f758c1f5bef15b31f0ac1a06f35d0a2f3d4e1fe-PR-51

18 Sep 2025 10:27PM UTC coverage: 65.585%. First build
1f758c1f5bef15b31f0ac1a06f35d0a2f3d4e1fe-PR-51

Pull #51

github

jallum
Refactor directory system: subspace → keyspace migration + test fixes

  Major architectural changes:
  - Replace Subspace with Keyspace throughout directory implementation
  - Migrate from Key-based encoding to structured Encoding modules
  - Simplify string representations and inspect implementations
  - Update API: get_path/get_layer/get_subspace → path/layer/to_keyspace
  - Add NodeKey encoding module for directory node metadata
  - Implement ToKeyRange and ToKeyspace protocol support

  Database improvements:
  - Add exclusive transaction mode to SQLite configuration
  - Remove excessive commenting and simplify connection parameters
  - Increase queue target for better performance

  Test fixes:
  - Fix mock expectations for get_range/1 calls in directory tests
  - Resolve nesting depth issue in do_list function
  - Ensure all directory tests pass after refactoring

  Breaking changes:
  - Directory API method names updated for consistency
  - Subspace references replaced with Keyspace
  - Key encoding moved to dedicated Encoding modules
Pull Request #51: Integrating feedback on the API

202 of 299 new or added lines in 9 files covered. (67.56%)

3880 of 5916 relevant lines covered (65.58%)

660.29 hits per line

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

0.0
/lib/bedrock/encoding/binary.ex
1
defmodule Bedrock.Encoding.None do
2
  @moduledoc false
3

4
  @behaviour Bedrock.Encoding
5

NEW
6
  def pack(value) when is_binary(value), do: value
×
NEW
7
  def unpack(packed), do: packed
×
8
end
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