snix/tvix/castore/src/import
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
..
archive.rs refactor(tvix/castore): remove use of lazy_static 2024-10-17 21:17:25 +00:00
blobs.rs fix(tvix/castore): instrument blob uploads with current span 2024-11-23 09:40:21 +00:00
error.rs feat(tvix/castore): ingest_entries: error on unexpected end of stream 2025-02-25 01:19:55 +00:00
fs.rs refactor(tvix): make indicatif.pb_show=1 more explicit 2024-10-19 09:37:23 +00:00
mod.rs feat(tvix/castore): ingest_entries: error on unexpected end of stream 2025-02-25 01:19:55 +00:00