fix(deploy): wait for quickcheck containers to be ready#349
Conversation
|
I'll analyze this and get back to you. |
Allow one-click quickcheck to tolerate containers that are still starting by polling until they become ready or a timeout is reached. Signed-off-by: jinlong <jinlong@tencent.com>
8541480 to
a054efd
Compare
|
Claude finished @fslongjin's task in 32s —— View job Review: fix(deploy): wait for quickcheck containers to be readySummaryThis PR replaces the single-shot container state check in Overall assessmentThe change is sound and well-structured. The polling approach is the right fix for the race where containers are still in ✅ Good things
🔍 Minor observations1. Timeout accuracy off by up to When a container stays in This is negligible in practice (2s variance on a 60s timeout) and unlikely to matter. Not a blocker. 2. File wait_for_health() {
local container="$1"
local retries="${2:-40}"
local delay="${3:-2}"
...
}The key difference is that
This is not a change request, just an observation. 3. Arithmetic context is safe under The VerdictApproved. The change is correct, well-tested, and addresses the container readiness race condition effectively. The minor timeout drift is acceptable. |

Summary
starting.cube-webuican still bestartingbecause its container health check interval is 10s; the quickcheck script can also reach the container check at around 10s, before Docker has refreshed the health status, causing deployment to fail with:CUBE_QUICKCHECK_CONTAINER_TIMEOUT.Assisted-by: Cursor:GPT-5.5