astral-sh/uv

Show tracing output on test failure

开放

#8,351 创建于 2024年10月18日

 (0 条评论) (0 个反应) (0 位负责人)Rust (3,111 个派生)batch import
help wantedinternaltesting

仓库指标

星标
 (84,934 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

In the vein of https://github.com/astral-sh/uv/pull/8349, it's nice to have more information from the child process when a test fails. Right now, if you turn tracing on it ends up in the snapshot and breaks the test. We should have tracing on by default, but exclude it from the snapshots and display it on failure. This could be implemented with something like a UV_LOG_FILE option we pass to the child process then read from on failure.

贡献者指南