Skip to content

Commit feb5bf3

Browse files
committed
debug: enable verbose output to trace root module issue
Remove 2>/dev/null and add --verbose flag to see exactly what files are being processed and how they're being resolved to modules. This will help identify where the root module is being added. Signed-off-by: Mark Pollack <[email protected]>
1 parent 77a704f commit feb5bf3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main-push-fast.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- 'spring-ai-docs/**'
99
- '*.md'
1010
- 'docs/**'
11-
- '.github/workflows/**'
11+
- '.github/**'
1212
workflow_dispatch:
1313
inputs:
1414
commit_sha:
@@ -78,7 +78,11 @@ jobs:
7878
id: mods
7979
run: |
8080
echo "=== Detecting affected modules ==="
81-
MODULE_LIST=$(python3 .github/scripts/test_discovery.py modules-from-diff 2>/dev/null)
81+
echo "=== DEBUG: Changed files ==="
82+
git diff --name-only HEAD~1..HEAD
83+
echo "=== DEBUG: Running test discovery with full output ==="
84+
MODULE_LIST=$(python3 .github/scripts/test_discovery.py modules-from-diff --verbose)
85+
echo "=== DEBUG: Raw module list: '$MODULE_LIST' ==="
8286
echo "modules=$MODULE_LIST" >> "$GITHUB_OUTPUT"
8387
8488
if [ -n "$MODULE_LIST" ]; then

0 commit comments

Comments
 (0)