Commit Graph

8 Commits

Author SHA1 Message Date
c4058242c9 ci: the workflows behind main's required checks also run on merge_group (CI-MERGE-QUEUE)
So a merge queue can be turned on for main. `ci.yml` (change-scope, check,
linux-python-and-viewer, semantic-tests) and `no-game-data.yml` (no-game-data)
gain a `merge_group:` trigger. In the queue `change-scope` is skipped (it reads
a pull request's diff), which counts as passed for a required check, and the
jobs after it run in full. Their concurrency groups fall back to run_id there,
so queued runs never cancel each other.

Agreed to by a second human maintainer (Aslan).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:57:13 +01:00
1c4e6e46f1 Merge pull request #4246 from Flyander
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:44 -05:00
e9a858adde CI: coalesce pending main-branch runs 2026-11-23 01:17:54 +01:00
dccfc180d4 no-game-data: the extension check sees names git ls-files quotes
`git ls-files` prints a name with a byte outside printable ASCII in double quotes with octal escapes
("\303\274n\303\257.spvasm"), so the step's `\.spvasm$` anchor never matched it. Text formats such as
.spvasm and .obj have no magic, so scripts/check_no_game_data.py did not catch them either: a shader
disassembly with an accented letter in its name passed both checks. The step now reads NUL-separated
names (`-z`, which never quotes) and turns them back into lines for the report.

tests/test_no_game_data_workflow.py runs the step's own `run:` script, taken from the workflow, with
bash in a throwaway repository: an accented .spvasm and .obj fail it, a plain one too, a clean tree
passes. With the old line the accented case exits 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:49:13 +03:00
6380d5574c Add check for game data in workflow 2026-11-22 22:16:08 +03:00
dd4a2f549a Guards: ignore and detect the model, audio and world files the build writes
The export stages write .obj models, .glb chunks, .ogg Opus and .wav PCM
straight from the package, but .gitignore and the No Game Data check only
named the archive, shader and texture types. A run pointed inside a checkout
could leave those untracked and get them staged; the check would also miss a
force-added one, along with .r9modeldata and .msixvc that .gitignore already
covers.

The bvh and navmesh examples also wrote their index reports into the working
directory, which puts game-derived JSON and CSV in the tree; point them at
<temp> like the movies note does.

Verified with git check-ignore on every new pattern and by matching sample
filenames against the workflow regex. Docs and ignore rules only.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-21 23:27:15 -06:00
bbbed2e097 CI: use deny-list path filtering in Runtime and generalize test discovery 2026-11-22 00:32:31 -03:00
6b5786b348 CI: keep no-game-data check always on for docs-only PRs 2026-11-21 20:41:57 -03:00