Skip to content

Bundle @jupyter/chat as a shared package in jupyter-collaborative-cha… #339

Bundle @jupyter/chat as a shared package in jupyter-collaborative-cha…

Bundle @jupyter/chat as a shared package in jupyter-collaborative-cha… #339

Triggered via push October 15, 2024 06:38
Status Success
Total duration 12m 8s
Artifacts 4

build.yml

on: push
Build jupyter_chat
2m 26s
Build jupyter_chat
Check Links
51s
Check Links
Matrix: build_extensions
Python test on extensions
3m 11s
Python test on extensions
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 8 warnings, and 2 notices
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L37
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Error: locator.count: Test timeout of 60000ms exceeded. at tests/test-utils.ts:37 35 | }, filename); 36 | await page.waitForCondition( > 37 | async () => await page.activity.isTabActive(filename) | ^ 38 | ); 39 | return (await page.activity.getPanelLocator(filename)) as Locator; 40 | }; at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:54:23) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:37:17 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:11)
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L37
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:37 35 | }, filename); 36 | await page.waitForCondition( > 37 | async () => await page.activity.isTabActive(filename) | ^ 38 | ); 39 | return (await page.activity.getPanelLocator(filename)) as Locator; 40 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:37:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/side-panel.spec.ts:135:9 › #sidepanel › #openingClosing › should list existing chat: python/jupyterlab-collaborative-chat/ui-tests/tests/side-panel.spec.ts#L144
2) tests/side-panel.spec.ts:135:9 › #sidepanel › #openingClosing › should list existing chat ───── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.jp-SidePanel.jp-collab-chat-sidepanel').first().locator('.jp-SidePanel-toolbar .jp-Toolbar-item.jp-collab-chat-open select').locator('option') Expected: 2 Received: 1 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.jp-SidePanel.jp-collab-chat-sidepanel').first().locator('.jp-SidePanel-toolbar .jp-Toolbar-item.jp-collab-chat-open select').locator('option') - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" - locator resolved to 1 element - unexpected value "1" 142 | ); 143 | > 144 | await expect(select.locator('option')).toHaveCount(2); | ^ 145 | await expect(select.locator('option').last()).toHaveText(name); 146 | }); 147 | at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/side-panel.spec.ts:144:46
tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users: python/jupyterlab-collaborative-chat/ui-tests/tests/ui-config.spec.ts#L1
3) tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users ───── Test timeout of 60000ms exceeded.
tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L37
3) tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users ───── Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:37 35 | }, filename); 36 | await page.waitForCondition( > 37 | async () => await page.activity.isTabActive(filename) | ^ 38 | ); 39 | return (await page.activity.getPanelLocator(filename)) as Locator; 40 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:37:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users: python/jupyterlab-collaborative-chat/ui-tests/tests/ui-config.spec.ts#L1
3) tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L37
3) tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:37 35 | }, filename); 36 | await page.waitForCondition( > 37 | async () => await page.activity.isTabActive(filename) | ^ 38 | ); 39 | return (await page.activity.getPanelLocator(filename)) as Locator; 40 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:37:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
Check Links
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build jupyter_chat
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build ws chat extension
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build collaborative chat extension
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Python test on extensions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ws integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
collaborative integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "jupyterlab_collaborative_chat-artifacts", "jupyterlab_collaborative_chat-playwright-tests", "jupyterlab_ws_chat-artifacts", "jupyterlab_ws_chat-playwright-tests". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
1 passed (7.4s)
🎭 Playwright Run Summary
3 flaky tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message tests/side-panel.spec.ts:135:9 › #sidepanel › #openingClosing › should list existing chat ────── tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users ────── 2 skipped 76 passed (5.7m)

Artifacts

Produced during runtime
Name Size
jupyterlab_collaborative_chat-artifacts
1.68 MB
jupyterlab_collaborative_chat-playwright-tests
1.19 MB
jupyterlab_ws_chat-artifacts
1.34 MB
jupyterlab_ws_chat-playwright-tests
426 KB