From d2b20f736789ab954445604546e25562e3906a19 Mon Sep 17 00:00:00 2001 From: David Peter Date: Tue, 22 Apr 2025 12:05:57 +0200 Subject: [PATCH] [red-knot] mypy_primer: capture backtraces (#17543) ## Summary `mypy_primer` is not deterministic (we pin `mypy_primer` itself, but projects change over time and we just pull in the latest version). We've also seen occasional panics being caught in `mypy_primer` runs, so this is trying to make these CI failures more helpful. --- .github/workflows/mypy_primer.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mypy_primer.yaml b/.github/workflows/mypy_primer.yaml index 7ceb1d9f2d..7382671f11 100644 --- a/.github/workflows/mypy_primer.yaml +++ b/.github/workflows/mypy_primer.yaml @@ -21,6 +21,7 @@ env: CARGO_NET_RETRY: 10 CARGO_TERM_COLOR: always RUSTUP_MAX_RETRIES: 10 + RUST_BACKTRACE: 1 jobs: mypy_primer: