Fix service worker handling, #629
ci.yml
on: pull_request
Test on Linux
2m 13s
Build Web Demo (Emscripten)
1m 36s
Test on macOS
1m 26s
Test on Windows
2m 1s
Build Android APK
3m 54s
Build iOS App (Device)
1m 9s
Coverage Report on Linux
42s
Test Web Demo (Playwright)
1m 29s
Annotations
5 errors, 2 warnings, and 2 notices
|
Test Web Demo (Playwright)
Process completed with exit code 1.
|
|
[chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle:
tests/web/amplitron.spec.ts#L324
2) [chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
322 | await page.waitForSelector('#loading.hidden', { timeout: 60_000 });
323 |
> 324 | expect(log.errors).toHaveLength(0);
| ^
325 | });
326 |
327 | test('no WASM abort() or RuntimeError: unreachable panics', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:324:24
|
|
[chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle:
tests/web/amplitron.spec.ts#L324
2) [chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
322 | await page.waitForSelector('#loading.hidden', { timeout: 60_000 });
323 |
> 324 | expect(log.errors).toHaveLength(0);
| ^
325 | });
326 |
327 | test('no WASM abort() or RuntimeError: unreachable panics', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:324:24
|
|
[chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors:
tests/web/amplitron.spec.ts#L60
1) [chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
58 |
59 | // No uncaught JS exceptions on the initial page load
> 60 | expect(log.errors).toHaveLength(0);
| ^
61 | });
62 |
63 | test('loading overlay is visible on initial page load', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:60:24
|
|
[chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors:
tests/web/amplitron.spec.ts#L60
1) [chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
58 |
59 | // No uncaught JS exceptions on the initial page load
> 60 | expect(log.errors).toHaveLength(0);
| ^
61 | });
62 |
63 | test('loading overlay is visible on initial page load', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:60:24
|
|
Test on Linux
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Coverage Report on Linux
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/download-artifact@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Test on Windows
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|
|
🎭 Playwright Run Summary
2 failed
[chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors
[chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle
16 passed (47.7s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-coverage
Expired
|
236 MB |
sha256:9d7975677142352fefaa53b5a4dfe1ee91cb99b42f2002f42bf0612c9a2c4929
|
|
|
coverage-report
Expired
|
513 KB |
sha256:4fcdfba5f9dc1167afa5208c0888e98a920f97a1f2ea49cb5be8e6cef6901248
|
|
|
coverage-summary
Expired
|
21.9 KB |
sha256:d1bcf5bb42f4ff12b663339d4bf5b572f7b79c6e3a2ce2951d45d3cd885a05ce
|
|
|
playwright-report
Expired
|
2.61 MB |
sha256:1b7471ff01abbb5a05698190c22589b5fa9f8f088b5f44ec6c8ac76309960028
|
|
|
pr-coverage-comment
Expired
|
491 Bytes |
sha256:fbc3c8566b4199f227c2334e9e09f512593abd1420ea6966cbd641f1e4eaec8f
|
|
|
web-build
Expired
|
10.2 MB |
sha256:f1bd43c021424d910d2154941b68224ed1166350ee1643f9307e07fba0e63b68
|
|