fix(tvix/glue/tvix_store_io): err from store_path_to_node with trace lvl

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>
This commit is contained in:
Florian Klink 2024-10-18 23:07:18 +02:00 committed by clbot
parent 849966d614
commit 0592614842

View file

@ -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>,