snix/tvix/castore/src
Florian Klink 20513e7a52 feat(tvix/store/bin): add progress bar infrastructure
This adds the tracing-indicatif crate, and configures it as a layer in
our tracing_subscriber pipeline to emit progress for every span that's
configured so.

It also moves from using std::io::stderr to write logs to using their
writer, to avoid clobbering output.

Progress bar styles are defined in a lazy_static, moving this into a
general tracing is left for later.

This adds some usage of this to the `imports` and `copy` commands.

The output can still be improved a bit - we should  probably split each
task up into a smaller (instrumented) helper functions, so we can create
a progress bar for each task.

Change-Id: I59a1915aa4e0caa89c911632dec59c4cbeba1b89
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11747
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: Simon Hauser <simon.hauser@helsinki-systems.de>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
2024-06-06 09:43:24 +00:00
..
blobservice refactor(tvix/castore/blobservice/memory): use parking_lot RwLock 2024-05-11 15:09:33 +00:00
directoryservice fix(castore/directory/objectstore): fix responses for deduplicated dirs 2024-05-16 22:06:01 +00:00
fs refactor(tvix/castore): move src/fs/test into fuse mod 2024-05-26 19:46:47 +00:00
import feat(tvix/store/bin): add progress bar infrastructure 2024-06-06 09:43:24 +00:00
proto fix(tvix/castore/grpc): don't use explicit channel 2024-05-13 22:05:59 +00:00
tests refactor(tvix/castore/import): make module, split off fs and error 2024-04-20 14:14:19 +00:00
digests.rs feat(tvix/castore): impl Debug for B3Digest 2024-03-17 22:18:20 +00:00
errors.rs refactor(tvix/castore/error): drop From<PoisonError<T>> for Error 2024-05-11 15:09:33 +00:00
fixtures.rs refactor(tvix): condense long bytestrings 2023-10-27 07:37:26 +00:00
hashing_reader.rs refactor(tvix/castore/hashing_reader): migrate to rstest 2024-04-07 14:51:47 +00:00
lib.rs feat(tvix/castore): expose PathBuf too 2024-05-01 19:10:49 +00:00
path.rs feat(tvix/castore/path): implement PathBuf::from_host_path 2024-05-02 13:28:29 +00:00
tonic.rs refactor(tvix/castore/tonic): migrate to rstest 2024-04-07 14:51:47 +00:00