Skip to content

Commit 5bd7e7c

Browse files
committed
chore(ci): Remove LSAN suppressions after fixing actual leaks
The memory leaks were real bugs in test code, not tokio runtime artifacts. Now that they're fixed, we don't need suppressions or special symbolization setup.
1 parent 533dc9f commit 5bd7e7c

2 files changed

Lines changed: 3 additions & 31 deletions

File tree

.github/lsan_suppressions.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/sanitizer.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,15 @@ jobs:
1919
components: rust-src
2020
- uses: Swatinem/rust-cache@v2
2121

22-
- name: Install LLVM tools for symbolization
23-
run: |
24-
sudo apt-get update
25-
sudo apt-get install -y llvm
22+
- name: Install LLVM for symbolization
23+
run: sudo apt-get update && sudo apt-get install -y llvm
2624

2725
- name: Run tests with ASAN
2826
env:
2927
RUSTFLAGS: "-Zsanitizer=address -Cdebuginfo=2"
30-
# Use llvm-symbolizer to get function names in stack traces
3128
ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer
32-
# Symbolize and use slow unwinding for better stack traces
3329
ASAN_OPTIONS: "symbolize=1"
34-
# Suppress known tokio runtime leaks, use slow unwinding for accurate traces
35-
LSAN_OPTIONS: "suppressions=${{ github.workspace }}/.github/lsan_suppressions.txt:fast_unwind_on_malloc=0:print_suppressions=1"
30+
LSAN_OPTIONS: "fast_unwind_on_malloc=0"
3631
run: |
3732
# FFI crates (C interop)
3833
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \

0 commit comments

Comments
 (0)