Repository navigation
Conversation
The merge gate had no tests while several open PRs change it. The tests cover the sections, refused models, game data and binaries, what counts as runtime, and the regression-run rules on both sides of each limit (80 % frames, 125 % peak commit). They call check() directly: no GitHub or git. scripts.yml runs them on pushes and PRs that touch the checker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verified Tested
The newer Not tested AI use Integration follow-up I tested a main-based layout that keeps main's file unchanged and puts this PR's 23 tests in Current-main integration available511572f integrates this head onto
The workflow uses that same discovery pattern and its path filters cover both test modules. Local YAML parsing checked both event filters and the read-only contents permission. The GitHub Actions job itself was not run. An external in-memory mutation harness ran both suites against seven controlled changes: lower frame threshold, higher memory threshold, acceptance of dirty head runs/non-main baselines, checking removed assets, oversized fixtures, and unfilled templates. All seven produced assertion failures, with no test errors. The on-disk checker stayed unchanged. No Rust/GPU/title run for this test/workflow-only integration. AI use: Codex (GPT-6; exact variant unavailable) resolved the integration, checked discovery and the workflow, ran the mutation probes, and prepared this update. Your original commit remains in the merge history. |
scripts/pr_check.pyis the merge gate, has no tests, and several open PRs change it (#536, #527, #513, #507, #497). These unit tests pin its current rules so a change to it shows what it changes. They callcheck()directly with a fakeis_main_ancestor: no GitHub, no git. A small workflow runs them when the checker or its tests change.What is in it
scripts/test_pr_check.py: 23 tests – sections, refused models (only inside AI use), game data and binaries (tests/data limit), what counts as runtime, and the regression-run rules: head and main blocks, uncommitted runs, device removals / crashes, killed runs, same title and time, the 80 % frames and 125 % peak-commit limits on both sides.github/workflows/scripts.yml:python3 -m unittest discover -s scripts -p "test_*.py"on pushes to main and PRs touching those filesTested
python -m unittest discover -s scripts -p "test_*.py" -v: 23 passed, 0 failedNot tested
AI use
Improvements by William "kaairim" Deivid (wdcore).
🤖 Generated with Claude Code