Skip to content

Commit 21d2ac0

Browse files
committed
Clean up output from /generate-sync before passing to /mcp/compile
1 parent 04e2757 commit 21d2ac0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-mcp-server.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,10 @@ jobs:
256256
run: |
257257
echo "Testing workflow: /generate-sync → /mcp/compile..."
258258
259-
# Get the output from the previous step
260-
GENERATE_OUTPUT=$(cat generate_output.txt)
259+
# Get the output from the previous step and remove the build status comment
260+
GENERATE_OUTPUT=$(cat generate_output.txt | sed '/^# Build/,$d')
261261
262-
# Pass the generated code directly to compile
262+
# Pass the cleaned generated code directly to compile
263263
COMPILE_RESPONSE=$(curl -s -S -f -X POST http://localhost:8000/mcp/compile \
264264
-H "Content-Type: application/json" \
265265
-d "{

0 commit comments

Comments
 (0)