Skip to content

Commit 64999b6

Browse files
enedclaude
andcommitted
debug: Add comprehensive debugging to analysis workflow
Add extensive debugging output to understand the state after melos bootstrap: - Check if pubspec_overrides.yaml files are created - List directory contents and structure - Show pubspec.yaml contents for each package - Check .pub-cache and .dart_tool directories - Run flutter pub deps to see dependency resolution - Display current working directories This will help diagnose why dart-package-analyzer is failing and whether melos is properly creating the override files. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c38f5ea commit 64999b6

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/analysis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,31 @@ jobs:
1414
channel: "stable"
1515
cache: true
1616
- uses: bluefireteam/melos-action@v3
17+
- name: Debug package state
18+
run: |
19+
echo "=== Current working directory ==="
20+
pwd
21+
echo "=== Root directory contents ==="
22+
ls -la
23+
echo "=== Checking ${{ matrix.package }} directory ==="
24+
cd ${{ matrix.package }}
25+
pwd
26+
ls -la
27+
echo "=== pubspec.yaml contents ==="
28+
cat pubspec.yaml
29+
echo "=== pubspec_overrides.yaml exists? ==="
30+
if [ -f pubspec_overrides.yaml ]; then
31+
echo "YES - pubspec_overrides.yaml exists"
32+
cat pubspec_overrides.yaml
33+
else
34+
echo "NO - pubspec_overrides.yaml does not exist"
35+
fi
36+
echo "=== .pub-cache directory ==="
37+
ls -la .pub-cache/ || echo "No .pub-cache directory"
38+
echo "=== .dart_tool directory ==="
39+
ls -la .dart_tool/ || echo "No .dart_tool directory"
40+
echo "=== Flutter pub deps ==="
41+
flutter pub deps || echo "Flutter pub deps failed"
1742
- uses: axel-op/dart-package-analyzer@v3
1843
with:
1944
githubToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)