[P0] Surface build_stream output to diagnose BUILD_FAILED #2

Closed
opened 2026-05-18 12:26:45 +02:00 by marcus · 0 comments
Owner

Gap

redeploy_project and create_project call build_stream fire-and-forget and discard the response. When a build ends in BUILD_FAILED, there is no way to see why.

Container Manager equivalent

The UI shows the live build log during project build/create.

Suggested approach

build_stream is a streaming (SSE) endpoint — the build log is almost certainly contained in the stream that the connector currently discards. Instead of fire-and-forget, read the stream and capture the build output. On BUILD_FAILED, return the relevant log lines so the failure reason is visible. Must respect the ~4 min Claude Desktop tool-call limit — consider bounding capture by size/time, or a separate get_project_build_log tool.

Reverse-engineering effort

Medium — investigate the build_stream SSE payload format.

Priority

P0 — during live testing we were repeatedly blind on BUILD_FAILED and had to guess.

## Gap `redeploy_project` and `create_project` call `build_stream` fire-and-forget and discard the response. When a build ends in BUILD_FAILED, there is no way to see why. ## Container Manager equivalent The UI shows the live build log during project build/create. ## Suggested approach `build_stream` is a streaming (SSE) endpoint — the build log is almost certainly contained in the stream that the connector currently discards. Instead of fire-and-forget, read the stream and capture the build output. On BUILD_FAILED, return the relevant log lines so the failure reason is visible. Must respect the ~4 min Claude Desktop tool-call limit — consider bounding capture by size/time, or a separate `get_project_build_log` tool. ## Reverse-engineering effort Medium — investigate the build_stream SSE payload format. ## Priority P0 — during live testing we were repeatedly blind on BUILD_FAILED and had to guess.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcus/mcp-synology-container#2