Skip to content

Commit 6f2789e

Browse files
committed
Run in foreground to debug crash
1 parent cc45f6a commit 6f2789e

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,8 @@ jobs:
3939

4040
- name: Run and Test Docker Container
4141
run: |
42-
# 1. Start in background to test API
43-
docker run --name proxy -d -p 4000:4000 structura-proxy --key mock --secret mock --toolsets payments stdio
44-
45-
# Wait for boot
46-
sleep 5
47-
48-
# Check API
49-
curl -f http://localhost:4000/stats || (docker logs proxy && exit 1)
50-
51-
# Clean up background container
52-
docker rm -f proxy
53-
54-
# 2. Test stdio MCP interaction directly via pipe
55-
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | docker run -i structura-proxy --key mock --secret mock --toolsets payments stdio > response.txt
42+
docker run --name proxy structura-proxy --key mock --secret mock --toolsets payments stdio || true
43+
docker logs proxy || true
5644
5745
cat response.txt
5846
grep -q 'fetch_all_payments' response.txt

‎run.log‎

2.92 KB
Binary file not shown.

0 commit comments

Comments
 (0)