fix(ci): isolate imported client test image

This commit is contained in:
Josh Creek
2026-08-21 20:16:01 +01:00
parent 3649620726
commit 24d6a547d6
22 changed files with 864 additions and 8 deletions
+6 -2
View File
@@ -1256,8 +1256,12 @@ func run_ci_host_check(run_seconds: float) -> void:
# margin AND assert connectivity directly at sample time, rather than
# inferring it from timing, so a future regression in either direction
# (margin too tight again, or client run_seconds changing) fails loudly
# here instead of silently passing on residual grace.
var movement_check_delay := maxf(1.0, run_seconds - 2.0)
# here instead of silently passing on residual grace. Sample near the end
# of the active run: a server begins timing as soon as both peers join,
# whereas each bot needs to load the match and settle before its input can
# accumulate meaningful motion. The bots remain connected for an extra
# three seconds after their active run, leaving a generous live margin.
var movement_check_delay := maxf(1.0, run_seconds - 0.5)
await _await_recording_score(match_scene, movement_check_delay, score_history)
var connected_peers := multiplayer.get_peers()
var input_reached_server := true