Skip to content

Commit 6455b68

Browse files
committed
Refactor /generate-sync endpoint to comment out legacy code and streamline compile request handling
Signed-off-by: Acuspeedster <[email protected]>
1 parent 6406825 commit 6455b68

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,14 @@ jobs:
278278
fi
279279

280280
# Get the output from the previous step and remove the build status comment
281-
GENERATE_OUTPUT=$(cat generate_output.txt | sed '/^# Build/,$d')
281+
# GENERATE_OUTPUT=$(cat generate_output.txt | sed '/^# Build/,$d')
282+
# COMPILE_RESPONSE=$(curl -s -S -f -X POST http://localhost:8000/compile \
283+
# -H "Content-Type: application/json" \
284+
# -d "{
285+
# \"code\": $(python3 -c "import json, sys; print(json.dumps(sys.stdin.read()))" < <(echo "$GENERATE_OUTPUT"))
286+
# }" || echo "CURL_FAILED")
287+
288+
# Replace with:
282289
COMPILE_RESPONSE=$(curl -s -S -f -X POST http://localhost:8000/compile \
283290
-H "Content-Type: application/json" \
284291
-d "{

0 commit comments

Comments
 (0)