about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-10-18T21·07+0200
committerclbot <clbot@tvl.fyi>2024-10-19T10·13+0000
commit059261484220602668b9d1ff482c44477b61a2a7 (patch)
tree6aa7329c9ac594aa170c74b19520ff7361a4fc8e
parent849966d61418b2f1f27cddc7e7b7dedd1e9c2e5d (diff)
fix(tvix/glue/tvix_store_io): err from store_path_to_node with trace lvl r/8839
When evaluating nixpkgs from the <nixpkgs> channel, store_path_to_node
returns an error, falling back to regular filesystem access.

This currently produces a warning in the CLI, which is misleading, so
degrade to trace level.

Change-Id: I4cb2297cc85a2c0e904a37343748f9051aa6d5c7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12665
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
-rw-r--r--tvix/glue/src/tvix_store_io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/glue/src/tvix_store_io.rs b/tvix/glue/src/tvix_store_io.rs
index fa3326ff937c..c1fe53aa873f 100644
--- a/tvix/glue/src/tvix_store_io.rs
+++ b/tvix/glue/src/tvix_store_io.rs
@@ -100,7 +100,7 @@ impl TvixStoreIO {
     ///
     /// In case there is no PathInfo yet, this means we need to build it
     /// (which currently is stubbed out still).
-    #[instrument(skip(self, store_path), fields(store_path=%store_path, indicatif.pb_show=1), ret(level = Level::TRACE), err)]
+    #[instrument(skip(self, store_path), fields(store_path=%store_path, indicatif.pb_show=1), ret(level = Level::TRACE), err(level = Level::TRACE))]
     async fn store_path_to_node(
         &self,
         store_path: &StorePath<String>,