From 64a31e7c3b182310bd5bc8e33716198a77a9d218 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 20 Apr 2026 06:31:05 -0700 Subject: [PATCH] Always set `RUST_BACKTRACE=1` env variable in CI Should help with debugging CI failures in general, but also intermittent failures in particular. --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14fa75329c0d..bd909a2eaf16 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }}2 cancel-in-progress: true +env: + # Always collect backtraces on panics to help with debugging CI failures, + # especially intermittent ones. + RUST_BACKTRACE: 1 + jobs: # Check Code style quickly by running `rustfmt` over all code rustfmt: