File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -93,14 +93,20 @@ jobs:
9393 - name: Start studio mode for custom questions workflow
9494 working-directory: packages/cli/testproject-empty
9595 run: |
96- npx skuilder studio --no-browser > ../../ studio.log 2>&1 &
96+ npx skuilder studio --no-browser > studio.log 2>&1 &
9797 STUDIO_PID=$!
9898 echo "Studio process started with PID: $STUDIO_PID"
9999 sleep 5
100100 echo "Checking if studio process is still running..."
101101 ps -p $STUDIO_PID || echo "WARNING: Studio process already exited"
102+ echo "Process tree:"
103+ pstree -p $STUDIO_PID || ps -ef | grep -E "(studio|$STUDIO_PID)" || true
104+ echo "Checking for node processes:"
105+ ps aux | grep node | grep -v grep || echo "No node processes found"
106+ echo "First 50 lines of studio log:"
107+ head -50 studio.log || echo "No log file yet"
102108 echo "Waiting for studio server to be ready..."
103- npx wait-on http://localhost:7174 --timeout 120000
109+ npx wait-on http://localhost:7174 --timeout 120000 || (echo "wait-on failed, showing full log:" && cat studio.log && exit 1)
104110
105111 - name: Run custom questions studio mode tests
106112 working-directory: packages/cli
@@ -124,7 +130,7 @@ jobs:
124130 if: failure()
125131 with:
126132 name: studio-log
127- path: packages/cli/studio.log
133+ path: packages/cli/testproject-empty/ studio.log
128134 retention-days: 7
129135
130136 - name: Upload screenshots on failure
You can’t perform that action at this time.
0 commit comments