Skip to content

v0.5.1

Choose a tag to compare

@TBarregren TBarregren released this 14 Aug 13:29
· 123 commits to main since this release

A follow-up to 0.5.0: the new chunk counter reported one chunk too few on a finished job, and the byte-bounded slicing 0.5.0 introduced was only proven on one of the three primary-key shapes it has to handle. Both are settled here.

Fixed

  • progress.chunks_done now counts every packaging chunk on a ready job, the finalizing one included. It used to read one short of the artifact's segment count, because the call that seals a selection's last segment also finalizes and publishes the container and reported only "the build is complete" — so the segment it had just sealed was never recorded. 0.5.0 shipped that as a documented off-by-one in three places; it is now simply correct, and Artifact_Builder::advance() answers with a Build_Step that carries the progress and the completion flag separately rather than conflating them. The REST API version is unchanged: chunks_done has no total and is documented as a liveness signal rather than a completion ratio, so its terminal value was an implementation artifact, not a promise a caller could build on.

Changed

  • The chunked table dump is now covered on every primary-key shape under a byte budget that cuts inside a page, not just the single-column one: a composite cursor is a tuple taken from the last rendered row and a keyless table resumes on the rendered row count, so a byte cut that mis-set either would skip or duplicate rows silently. It does neither — proven rather than assumed, on all three shapes.

Full changelog: https://github.com/Kntnt/kntnt-extractor/blob/v0.5.1/CHANGELOG.md