Repository navigation
Allow healthy EditMode runs to finish on slower hosted runners - #120
Merged
Merged
Conversation
Why Unity 2021.3 can stop before the test runner writes its result XML. The existing artifact cannot identify the active test or crash time. What Changed Record batch test starts and finishes through Unity Test Framework's callback API and add timestamps to the CI Editor log. Impact Keeps failure diagnostics available without changing test assertions, time limits, or the shipped package. Verified callback logging with a scoped Unity 2021.3 EditMode run.
Why The diagnostic Unity 2021.3 run passed 177 tests and was still advancing when the 900-second process limit interrupted its final layout checks. Its GUI operations took about 1.6 times the previous successful run. What Changed Give the complete Editor process 1200 seconds. This covers the measured progress and remaining operations with headroom for hosted-runner variation. Impact Keeps all test assertions, individual condition deadlines, and required Editor versions unchanged. Retains progress logging to distinguish a real stall from expiration of the total execution budget.
mackysoft
marked this pull request as ready for review
October 20, 2026 04:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scope
tests.yaml: process budget 900 → 1200 seconds; timestamped Editor logging.ITestRunCallbackAPI in the existing Editor test assembly.Verification
2a8e139caa51d9381d63c6e3fee7467edcc3bc65: all required checks passed.actionlintpasses fortests.yaml;git diff --checkpasses. A scoped Unity 2021.3 smoke run also verified progress callback output.References