Skip to content

Do not validate references for "empty" chunks.#791

Merged
maxrjones merged 3 commits intomainfrom
validate_container
Sep 3, 2025
Merged

Do not validate references for "empty" chunks.#791
maxrjones merged 3 commits intomainfrom
validate_container

Conversation

@sharkinsspatial
Copy link
Collaborator

  • Tests passing

Currently, serializing a ManifestArray containing empty chunks to Icechunk requires explicitly passing validate_containers=False to to_icechunk which may be counterintuitive for some users. ref #740. This PR changes the current behavior to only perform reference validation for references with a path.

@codecov
Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.75%. Comparing base (49789a6) to head (a0d6c08).
⚠️ Report is 22 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #791   +/-   ##
=======================================
  Coverage   87.74%   87.75%           
=======================================
  Files          35       35           
  Lines        1885     1886    +1     
=======================================
+ Hits         1654     1655    +1     
  Misses        231      231           
Files with missing lines Coverage Δ
virtualizarr/writers/icechunk.py 92.25% <100.00%> (+0.05%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TomNicholas TomNicholas added the Icechunk 🧊 Relates to Icechunk library / spec label Aug 29, 2025
Copy link
Member

@TomNicholas TomNicholas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

Changelog entry please!

@sharkinsspatial
Copy link
Collaborator Author

@TomNicholas Changelog updated 👍.

@maxrjones maxrjones merged commit 8f97788 into main Sep 3, 2025
14 of 15 checks passed
@maxrjones maxrjones deleted the validate_container branch September 3, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Icechunk 🧊 Relates to Icechunk library / spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants