Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/compile/agentic_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2875,8 +2875,7 @@ fn start_mcpg_step(
\n\
# Wait for MCPG to be ready\n\
READY=false\n\
# shellcheck disable=SC2034 # i is intentionally unused; wait-N-times loop\n\
for i in $(seq 1 30); do\n \
for _i in $(seq 1 30); do\n \
if curl -sf \"http://localhost:{MCPG_PORT}/health\" > /dev/null 2>&1; then\n \
echo \"MCPG is ready\"\n \
READY=true\n \
Expand All @@ -2893,8 +2892,7 @@ fn start_mcpg_step(
# Health check passing doesn't guarantee stdout is flushed, so poll.\n\
echo \"Waiting for gateway output file...\"\n\
GATEWAY_READY=false\n\
# shellcheck disable=SC2034 # i is intentionally unused; wait-N-times loop\n\
for i in $(seq 1 15); do\n \
for _i in $(seq 1 15); do\n \
if [ -s \"$GATEWAY_OUTPUT\" ] && jq -e '.mcpServers' \"$GATEWAY_OUTPUT\" > /dev/null 2>&1; then\n \
echo \"Gateway output is ready\"\n \
GATEWAY_READY=true\n \
Expand Down