Skip to content

CI: report engine test failures and supply required test inputs - #722

Merged
v0lumehi merged 1 commit into
LNPANDY:mainfrom
thehobbit85:codex/issue-690-test-failures
Nov 5, 2026
Merged

v0lumehi merged 1 commit into
LNPANDY:mainfrom
thehobbit85:codex/issue-690-test-failures

Conversation

@thehobbit85

@thehobbit85 thehobbit85 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Fix or feature

  • Fix
  • Feature

What and why

Fixes #690.

The Tool tests job reported success even when individual engine test files failed. Its actual runner shell was bash -e, so tee hid the Python exit status. Enable pipefail in the test loop while preserving the existing failure accumulator, per-file logs, and execution of later files.

Repair the failures this exposes instead of excluding tests: point the shell tests at the fork's frontend-ios package, make the Metal compiler available for synthetic shader compilation, and document the four environment settings introduced by the fork's touch-control patches. The compiler checks need no GPU or game files.

The small engine documentation patch is fork-only because it describes settings added by the existing fork patches. It does not change upstream behavior.

Checked

  • Conflict refresh: rebased only after verifying the patches/series conflict with main bef6d01a0673edcb4b4dd816890ec060add2629f. Preserved the original single commit and patch contents, with the patch moved to slot 0078.
  • Required push checks: all pass, including native Swift build and 1,081 Mac tests (28 skipped), Qt 321 tests (36 skipped), tools 211 tests (22 skipped), and 162 workflow-script tests. Hosted CI must validate the refreshed head 6cd775347249fbe9a8f182c327dd60132701107f.
  • Regression: ran the workflow's actual loop with synthetic passing, failing and erroring unittest files under bash -e. The current main workflow incorrectly returned success for failures and errors, so two of four regression cases failed. All four pass with this fix, including a log-write failure and continued execution after a failed file.
  • Workflow script suite: python3 -m unittest discover -s .github/scripts/tests passed all 162 tests.
  • Engine tools: all 161 test files completed successfully on Apple silicon with Python 3.14, .NET 10 and the installed Metal tools. The run covered 1,715 cases with 13 optional skips. Synthetic shader compilation, framework linking and an unsigned synthetic iOS shell build passed.
  • Patch queue: python3 tools/engine.py check confirmed that all 47 patches apply to engine pin 7249ee9f95ed. Engine resync passed. The documentation patch is now numbered 0078, and every existing main patch is preserved unchanged.
  • Limits: nine optional ARM64-emulation cases and four native graphics-harness cases were skipped by the existing test conditions. The local run used an installed Metal compiler, so the hosted-runner compiler-download fallback was not exercised locally. No game files, device installation or gameplay were used. Hosted CI must validate the refreshed head.

Screenshots

None, no visible change.

Scope

  • No engine file is added directly to this repository. The environment table correction is in patches/0078-document-the-fork-touch-controls-so-environment.patch with Upstream-Status: fork-only.
  • Upstream handling considered. This documents fork-only touch controls, so no separate upstream behavior change is proposed.
  • No launcher view changes.
  • No keys, game files or data extracted from a game in the change or the attachments.

@github-actions github-actions Bot added patch-queue Changes the patch queue or the upstream pin ci Workflows and repository tooling labels Nov 5, 2026
@v0lumehi v0lumehi added this to the v1.2.1 milestone Nov 5, 2026
@v0lumehi v0lumehi added the bug Something isn't working label Nov 5, 2026
@thehobbit85
thehobbit85 force-pushed the codex/issue-690-test-failures branch from 6482845 to 6cd7753 Compare November 5, 2026 18:26
@v0lumehi
v0lumehi merged commit cab7bcc into LNPANDY:main Nov 5, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci Workflows and repository tooling patch-queue Changes the patch queue or the upstream pin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tool tests job stays green when an engine test file fails

2 participants