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

thanos / ExZarr / cef22c59ffa1c60bf66222210c1e70827cb00f83-PR-145
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: nx_integration
DEFAULT BRANCH: main
Ran 26 Jan 2026 02:32PM UTC
Jobs 1
Files 41
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

26 Jan 2026 02:29PM UTC coverage: 75.531% (+0.3%) from 75.237%
cef22c59ffa1c60bf66222210c1e70827cb00f83-PR-145

Pull #145

github

thanos
closed #144 - Metadata - Complete v3 Serialization & Caching
1. Zarr v3 Metadata JSON Serialization:
    - Jason.Encoder implementation for MetadataV3 ✓
    - from_json/1 parsing function ✓
    - Comprehensive codec and chunk grid handling ✓
  2. v2↔v3 Format Conversion:
    - ExZarr.FormatConverter module with convert/1 function ✓
    - MetadataV3.from_v2/1 and to_v2/1 conversion functions ✓
    - Documented limitations for incompatible features ✓

   New Implementations

  1. Consolidated Metadata Module (lib/ex_zarr/consolidated_metadata.ex):
    - Creates .zmetadata files bundling all array/group metadata
    - 90-99% reduction in cloud storage API calls for group operations
    - Functions: consolidate/1, read/1, exists?/1, remove/1
    - Supports both Zarr v2 and v3 formats
    - Handles nested groups with recursive/non-recursive options
    - Compatible with zarr-python consolidated metadata format
  2. Metadata Cache Module (lib/ex_zarr/metadata_cache.ex):
    - ETS-based GenServer for fast concurrent metadata access
    - Configurable TTL (default: 5 minutes) and max size (default: 1000 entries)
    - Automatic expiration cleanup every 60 seconds
    - LRU eviction when cache is full
    - Statistics tracking (hits, misses, hit rate)
    - Functions: get/1, put/2, invalidate/1, clear/0, stats/0
Pull Request #145: closed #144 - Metadata - Complete v3 Serialization & Caching

106 of 126 new or added lines in 2 files covered. (84.13%)

2883 of 3817 relevant lines covered (75.53%)

936.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
82.22
lib/ex_zarr/metadata_cache.ex
12
85.19
lib/ex_zarr/consolidated_metadata.ex
Jobs
ID Job ID Ran Files Coverage
1 cef22c59ffa1c60bf66222210c1e70827cb00f83-PR-145.1 26 Jan 2026 02:32PM UTC 41
75.53
GitHub Action Run
Source Files on build cef22c59ffa1c60bf66222210c1e70827cb00f83-PR-145
  • Tree
  • List 41
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #145
  • PR Base - main (#BD0464DF...)
  • Delete
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