merge: probe挂死灾害批——shot_probe headless fail-fast 护栏+轻闸正主 tools/probe_gate.sh(三闸=每段 timeout 守卫/按本 game 路径精确清孤儿不误杀他会话/批末残留清点必须 0);shot_probe 禁入自动闸归真人目检;--click 段现状归 probe适配批

This commit is contained in:
DKChan committed 2026-10-02 07:57:10 +08:00
commit 546b828277
2 files changed
+77

No files matched your search

+5
View File
@@ -16,6 +16,11 @@ var _meta := {} # 控件实测几何(全局 rect——shot_checker 文字框
func _ready() -> void:
# 运行前提=窗口化真渲染面:headless 下 frame_post_draw 永不触发+视口纹理恒空——无此守卫时 headless 调用方必挂死(2026-10-02 挂死灾害批护栏)
if DisplayServer.get_name() == "headless":
print("[shot_probe] FAIL — 本探针必须窗口化运行(headless 无渲染面,截图必空);headless 自动闸禁跑本探针(正主=tools/probe_gate.sh)")
get_tree().quit(1)
return
var args := OS.get_cmdline_user_args()
out_dir = args[0] if args.size() >= 1 and args[0] != "" else "user://qa-screens"
DirAccess.make_dir_recursive_absolute(out_dir)