fix(tvix): use tracing::field::Empty for all indicatif.pb_show
This prevents the field from getting printed to stderr, apparently. Change-Id: Ia9860e4ff37224003154db88ee5f83103060e626 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12756 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
parent
0c5ad94914
commit
72bc4e0270
4 changed files with 4 additions and 4 deletions
|
@ -229,7 +229,7 @@ impl InterpretResult {
|
|||
/// Interprets the given code snippet, printing out warnings, errors
|
||||
/// and the result itself. The return value indicates whether
|
||||
/// evaluation succeeded.
|
||||
#[instrument(skip_all, fields(indicatif.pb_show=1))]
|
||||
#[instrument(skip_all, fields(indicatif.pb_show=tracing::field::Empty))]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn interpret(
|
||||
tvix_store_io: Rc<TvixStoreIO>,
|
||||
|
|
|
@ -196,7 +196,7 @@ impl<BS, DS, PS, NS> Fetcher<BS, DS, PS, NS> {
|
|||
|
||||
/// Constructs a HTTP request to the passed URL, and returns a AsyncReadBuf to it.
|
||||
/// In case the URI uses the file:// scheme, use tokio::fs to open it.
|
||||
#[instrument(skip_all, fields(url, indicatif.pb_show=1), err)]
|
||||
#[instrument(skip_all, fields(url, indicatif.pb_show=tracing::field::Empty), err)]
|
||||
async fn download(
|
||||
&self,
|
||||
url: Url,
|
||||
|
|
|
@ -99,7 +99,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(level = Level::TRACE))]
|
||||
#[instrument(skip(self, store_path), fields(store_path=%store_path, indicatif.pb_show=tracing::field::Empty), ret(level = Level::TRACE), err(level = Level::TRACE))]
|
||||
async fn store_path_to_node(
|
||||
&self,
|
||||
store_path: &StorePath<String>,
|
||||
|
|
|
@ -119,7 +119,7 @@ where
|
|||
<T::ResponseBody as tonic::codegen::Body>::Error: Into<tonic::codegen::StdError> + Send,
|
||||
T::Future: Send,
|
||||
{
|
||||
#[instrument(level = "trace", skip_all, fields(root_node = ?root_node, indicatif.pb_show=1))]
|
||||
#[instrument(level = "trace", skip_all, fields(root_node = ?root_node, indicatif.pb_show=tracing::field::Empty))]
|
||||
async fn calculate_nar(&self, root_node: &Node) -> Result<(u64, [u8; 32]), Error> {
|
||||
let span = Span::current();
|
||||
span.pb_set_message("Waiting for NAR calculation");
|
||||
|
|
Loading…
Reference in a new issue