From 841c5e92551901b7d43ab38185b19d191bd3d5d5 Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Fri, 16 Jan 2026 15:02:45 -0800 Subject: [PATCH 1/2] Increase --num-callers to 500 --- .github/workflows/valgrind.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index be5c0eff60..deb69b8846 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -176,7 +176,7 @@ jobs: - run: echo VALGRIND_ARGS="--tool=massif --massif-out-file=./${{ env.MASSIF_REPORT_FILE_NAME }}" >> $GITHUB_ENV if: ${{ inputs.massif }} - - run: echo VALGRIND_ARGS="--leak-check=full" >> $GITHUB_ENV + - run: echo VALGRIND_ARGS="--leak-check=full --num-callers=500" >> $GITHUB_ENV if: ${{ !inputs.massif }} - run: PYTHONMALLOC=malloc valgrind --error-exitcode=1 ${{ env.VALGRIND_ARGS }} python3 -m pytest -v new_tests/${{ github.event.inputs.test-file }} From 3790bceedbe16a929e52bbfbaf8ca3472a3af6ea Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Tue, 2 Jun 2026 12:29:45 -0700 Subject: [PATCH 2/2] Increase num-callers to 500 to see how it affects the valgrind run time to finish and log size --- .github/workflows/test-artifact.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-artifact.yml b/.github/workflows/test-artifact.yml index 1ff0be8d0c..40d9948992 100644 --- a/.github/workflows/test-artifact.yml +++ b/.github/workflows/test-artifact.yml @@ -200,7 +200,7 @@ jobs: wget -P test "https://raw.githubusercontent.com/python/cpython/$PYTHON_VERSION/Misc/$VALGRIND_SUPP_FILE" # sed -i "127,185s/###//" "$VALGRIND_SUPP_FILE" - echo VALGRIND_ARGS="$VALGRIND_ARGS --suppressions=./$VALGRIND_SUPP_FILE --leak-check=full --num-callers=24 --errors-for-leak-kinds=none" >> "$GITHUB_ENV" + echo VALGRIND_ARGS="$VALGRIND_ARGS --suppressions=./$VALGRIND_SUPP_FILE --leak-check=full --num-callers=500 --errors-for-leak-kinds=none" >> "$GITHUB_ENV" fi fi env: