Add Godot headless import check to CI #4

Closed
opened 2026-09-21 16:04:15 +00:00 by Mark · 1 comment
Owner

The self-hosted runner has a Godot binary (/home/b/bin/godot, 4.7.2). CI currently runs only the node headless tools. Add a step that runs godot --headless --import --quit on godot/project.godot and fails on SCRIPT/Parse errors, so GDScript regressions are gated like the JS ones.

The self-hosted runner has a Godot binary (`/home/b/bin/godot`, 4.7.2). CI currently runs only the node headless tools. Add a step that runs `godot --headless --import --quit` on `godot/project.godot` and fails on SCRIPT/Parse errors, so GDScript regressions are gated like the JS ones.
Author
Owner

Closed in 133d76c on origin/main.

Added a Godot headless import check (GDScript regression gate) step to .forgejo/workflows/ci.yml plus a portable helper tools/godot_import_check.sh that runs godot --headless --import --quit --path godot and fails on SCRIPT ERROR: / Parse Error / ERROR: lines in the output (godot exits 0 even on parse failures, so the textual pattern scan is the only reliable signal). Also wired the same check into .gsd/gates/verify.sh so kilo-gsd local runs catch GDScript regressions before push. Verified locally: clean run exits 0; deliberately-introduced syntax error here @@@ in event_bus.gd makes the script exit 4 with the offending lines printed.

Closed in 133d76c on origin/main. Added a `Godot headless import check (GDScript regression gate)` step to `.forgejo/workflows/ci.yml` plus a portable helper `tools/godot_import_check.sh` that runs `godot --headless --import --quit --path godot` and fails on `SCRIPT ERROR:` / `Parse Error` / `ERROR:` lines in the output (godot exits 0 even on parse failures, so the textual pattern scan is the only reliable signal). Also wired the same check into `.gsd/gates/verify.sh` so kilo-gsd local runs catch GDScript regressions before push. Verified locally: clean run exits 0; deliberately-introduced `syntax error here @@@` in `event_bus.gd` makes the script exit 4 with the offending lines printed.
Mark closed this issue 2026-09-22 15:29:57 +00:00
Sign in to join this conversation.
No description provided.