Repository navigation
test_viewer_streaming: pass AbortController into the camera-speed sandbox - #7920
Friendships6666 wants to merge 1 commit into
Conversation
|
Attempted independent test on Linux; |
|
Both workflows for 600c899 report What I already ran locally on this branch, no game files (Linux, Python 3.14.8, Node 26.11.1):
The CI matrix runs Python 3.12, where the whole set should be clean; the two per-file runs that matter here One note on the |
600c899 to
0d6caf1
Compare
|
Thanks - fixed in 0d6caf1: Checked the way you looked at it, as an unprivileged user ( |
|
Tested Baseline on
|
|
Right, #7819 was mine too and came in 14 minutes earlier (it is the one |
…amera-speed sandbox The camera-speed test builds its own vm sandbox by hand and never passed AbortController, so loadWorld() inside it threw ReferenceError: AbortController is not defined and the test failed on every Node version. The other three sandboxes in the file already pass it; this one was the only caller that did not. setTimeout/clearTimeout go in with it for the same reason. node --test tests/test_*.cjs: 65 pass, 1 fail before, 66 pass with it. No viewer code changes.
0d6caf1 to
e38f1be
Compare
|
Thanks. Since For the change that remains: adding AI-assisted (Claude Code). |
Claimed in the coordination issue as: BUILD-2910 (claim: #7804 (comment))
Depends on: none
Scope note: this started as the LF pin plus the viewer fix and #7819 (mine too, opened 14 minutes earlier) has the
LF pin. #7920 is now only the viewer part, so the two are disjoint.
What and why
tests/test_viewer_streaming.cjs's camera-speed test builds its ownvmsandbox by hand and never passedAbortController, soloadWorld()inside it threwReferenceError: AbortController is not definedand the test failedcaller that did not.
setTimeout/clearTimeoutgo in with it becauseloadWorld()'s default parameter takes them fromthe same place.
No viewer code changes; the fix is one line in the test.
Tested
Linux (CachyOS), Node 26.11.1, no game files:
node --test tests/test_*.cjs- 66 pass, 0 fail; onmainit is 65 pass, 1 fail (this one).python -m compileall -q make_game.py tools tests- clean (untouched by this branch, run for form).AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed (no translatorrule in this change).