Repository navigation
wf test: a run stopped at its time limit says how far its runner got (#690) - #713
Merged
Merged
Conversation
…me got (#690) The runner posts its stages (started, bridge settled, specs loaded, the spec it runs); at the time limit or on Ctrl+C the parent adds them to the message and the report with the runner files whose response the frame never completed, read from the frame's Resource Timing. The next stalled run says whether runner.js was never requested or never received.
…ith no spec named (#690)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 40 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
AM-L
approved these changes
Nov 28, 2026
This was referenced Nov 28, 2026
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.
Refs #690.
The issue asks to reproduce the stalled runner, decide whose fault it is, and make
wf testreport how far its runner got when its time limit fires. This PR does the last point, so that the next occurrence names its stage; the stall did not reproduce here (see Tests).What changes
wf test(js/developer/environment/testing.mjs)runner started,bridge settled,specs loaded, thenspecs runningwith the spec it starts, andbetween specswith the innermost suite after a spec and when a suite starts or ends (abeforeAllorafterAllin progress).stagein its report:{reached, specs, current, suite, loaded, missing}, and its message repeats it, for exampleTests stopped at their time limit (stage: page requested; not loaded: runner.js, specs.js)or(stage: specs running, 3 specs done, in suite never ends).loadedandmissingcome from the frame's Resource Timing: a runner file (index.html,specs.csswhen the page links it,WebFront.js,jasmine.js,runner.js,specs.js) is loaded once its response ended. In the case of the issue, the server received the requests up to the bind requests, then nothing: the stage will tell whetherrunner.jswas never requested, or whetherjasmine.js, received by the server, never reached the frame in full.total. A run stopped before its frame was in the page keeps the former message and has nostage.bundles.json: the checksum oftesting.mjs.Documentation:
docs/DEVELOPER_ENVIRONMENT.md(the report'sstage),docs/CHANGELOG.md(Changed).Codex review
Three rounds of remarks, all fixed: a finished spec was still named as running (now
between specs); a hanging firstbeforeAlllooked likespecs loaded(the runner now reports suites); excluded specs were counted as done.Tests
test/developer/specs/testing-specs.mjs: the files missing from a frame,specs.cssonly when the page links it, a resource whose response did not end, an unreadable frame, the message and report of a stopped run, thebetween specsstage with and without a suite.test/web/developer-specs.mjs: the hanging run ofDeveloperBrowserIntegration-jasminemust reportspecs running, the spechanging never ends, no spec done and no missing file, and say so in its message.DeveloperSpecsandDeveloperBrowserIntegration-jasminepass.