snix/tvix/castore
Bob van der Linden 43e5c0ff0e feat(tvix/castore): ingest_entries: error on unexpected end of stream
Currently ingest_entries panics. This makes it hard to use
ingest_entries in parallel with other processes. When another process
runs into an error and wants to return so, while ingest_entries has
already started and has no entries yet, we're forced to panic.

With this change ingest_entries will return an error when there are no
entries, thus allowing the user to handle the errors as they please.

Change-Id: I78b85bf18f52af8c157d6bedad6019fd4398250a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13146
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Bob van der Linden <bobvanderlinden@gmail.com>
Reviewed-by: Bob van der Linden <bobvanderlinden@gmail.com>
Tested-by: BuildkiteCI
2025-02-25 01:19:55 +00:00
..
protos feat(tvix): drop usage of sparseTree in favor of lib.sourceByRegex 2024-08-19 16:56:19 +00:00
src feat(tvix/castore): ingest_entries: error on unexpected end of stream 2025-02-25 01:19:55 +00:00
build.rs chore(tvix): bump crate dependencies 2024-10-12 12:13:55 +00:00
Cargo.toml chore(tvix): simplify Cargo.toml 2024-12-30 10:23:31 +00:00
default.nix refactor(tvix/[ca]store): rename store composition feature flags 2024-11-11 18:46:33 +00:00