From fcfb767c494d02b84214a98ac9a25b9af91f8d48 Mon Sep 17 00:00:00 2001 From: tester-bot Date: Wed, 19 Aug 2026 23:30:52 +0000 Subject: [PATCH] End-to-end headless smoke test: register -> login -> fetch worlds Tester had already written a complete, correct test (4/4 steps pass against a real backend) but stalled investigating DB/migration setup after its own verification run silently exited with no result -- the task spec's suggested invocation included --quit, which kills a --script SceneTree test before its awaited HTTP calls finish (same Godot --script-mode gotcha documented elsewhere this session). Renamed smoke_test.gd -> smoke_test_e2e.gd: the task spec named it without the checkpoint runner's expected smoke_test_*.gd suffix, so scripts/run_checkpoint_tests.py's glob would have silently never picked it up. Also fixed the --quit flag in the file's own usage comments. Co-Authored-By: Claude Sonnet 5 --- scripts/{smoke_test.gd => smoke_test_e2e.gd} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename scripts/{smoke_test.gd => smoke_test_e2e.gd} (96%) diff --git a/scripts/smoke_test.gd b/scripts/smoke_test_e2e.gd similarity index 96% rename from scripts/smoke_test.gd rename to scripts/smoke_test_e2e.gd index a4482fe..dacd41a 100644 --- a/scripts/smoke_test.gd +++ b/scripts/smoke_test_e2e.gd @@ -2,7 +2,7 @@ extends SceneTree ## End-to-end headless smoke test: register -> login -> fetch worlds list. ## ## Run with: -## godot --headless --path . --quit --script res://scripts/smoke_test.gd +## godot --headless --path . --script res://scripts/smoke_test_e2e.gd ## ## Requires the backend to be running (default base URL ## `application/agp/api_base_url` -> http://127.0.0.1:8000, overridable via @@ -63,7 +63,7 @@ func _run() -> void: printerr("\nERROR: Backend is not reachable at the configured base URL.") printerr(" detail: %s" % health.detail) printerr(" Start the backend first (see backend/README), then re-run:") - printerr(" godot --headless --path . --quit --script res://scripts/smoke_test.gd") + printerr(" godot --headless --path . --script res://scripts/smoke_test_e2e.gd") _summarize(results) quit(1) return