Follow-up to the canvas asset gate work on #2344.
When the canvas's concatenated jquery bundle fails outright, the gate warns once
per canvas document and keeps polling without cloning anything — verified by hand
during development (the warn was observed live, and the walk stayed out of the
dependency-less canvas).
An automated test for that path could not be landed: aborting the bundle with
Playwright's route.abort() under the Playground harness did not produce a
dependency-less canvas — the widget form rendered and no gate diagnostic fired.
Why the abort does not deprive the canvas there has not been established.
To close this: work out what the aborted request actually does to the canvas
under Playground (does WordPress fall back to unconcatenated handles? does the
blob document retry?), then add the abort-path test to
tests/e2e/wb-canvas-asset-gate.test.js, asserting one terminal warn naming the
missing handles, no clone-walk output in the canvas body, no
#sowb-editor-js-retry, and recovery once the dependencies arrive.
Blocked in CI by #2329 either way; runs locally via npm run tests.
Follow-up to the canvas asset gate work on #2344.
When the canvas's concatenated jquery bundle fails outright, the gate warns once
per canvas document and keeps polling without cloning anything — verified by hand
during development (the warn was observed live, and the walk stayed out of the
dependency-less canvas).
An automated test for that path could not be landed: aborting the bundle with
Playwright's
route.abort()under the Playground harness did not produce adependency-less canvas — the widget form rendered and no gate diagnostic fired.
Why the abort does not deprive the canvas there has not been established.
To close this: work out what the aborted request actually does to the canvas
under Playground (does WordPress fall back to unconcatenated handles? does the
blob document retry?), then add the abort-path test to
tests/e2e/wb-canvas-asset-gate.test.js, asserting one terminal warn naming themissing handles, no clone-walk output in the canvas body, no
#sowb-editor-js-retry, and recovery once the dependencies arrive.Blocked in CI by #2329 either way; runs locally via
npm run tests.