You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by ch...@apache.org on 2026/04/20 17:33:55 UTC

(gluten) 01/10: [GLUTEN-10134][VL] Fix recursive glob for JSON offload data in analyze script

This is an automated email from the ASF dual-hosted git repository.

baibaichen pushed a commit to branch feature/ansi-baseline-workflow
in repository https://gitbox.apache.org/repos/asf/gluten.git

commit 3a97685e027b9cc1814ee02177747fc42d283677
Author: Chang chen <ch...@apache.org>
AuthorDate: Mon Apr 20 22:00:59 2026 +0800

    [GLUTEN-10134][VL] Fix recursive glob for JSON offload data in analyze script
    
    Upload preserves directory structure, so downloaded JSON files are nested
    under gluten-ut/spark4x/target/ansi-offload/. Use recursive glob to find them.
    
    Co-Authored-By: Claude Opus 4 <no...@anthropic.com>
---
 .github/scripts/analyze-ansi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/scripts/analyze-ansi.py b/.github/scripts/analyze-ansi.py
index c91993d9ad..394338d688 100644
--- a/.github/scripts/analyze-ansi.py
+++ b/.github/scripts/analyze-ansi.py
@@ -71,7 +71,7 @@ def load_json_data(json_dir):
     suites = []
     if not json_dir or not os.path.isdir(json_dir):
         return suites
-    for path in sorted(glob.glob(os.path.join(json_dir, "*.json"))):
+    for path in sorted(glob.glob(os.path.join(json_dir, "**/*.json"), recursive=True)):
         with open(path) as f:
             try:
                 data = json.load(f)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org