Skip to content

Rename the extension to jupyterlab-chat #381

Rename the extension to jupyterlab-chat

Rename the extension to jupyterlab-chat #381

Triggered via pull request November 21, 2024 16:55
Status Failure
Total duration 13m 27s
Artifacts 2

build.yml

on: pull_request
Build jupyter_chat
2m 38s
Build jupyter_chat
Check Links
58s
Check Links
Build chat extension
2m 33s
Build chat extension
Python test on extensions
2m 14s
Python test on extensions
Integration tests
7m 50s
Integration tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 6 warnings, and 1 notice
Check Links
Process completed with exit code 1.
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata: python/jupyterlab-chat/ui-tests/tests/chat-file.spec.ts#L1
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ──────────────── Test timeout of 60000ms exceeded.
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata: python/jupyterlab-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.e3a3a97fe081da5cfa40.js?v=e3a3a97fe081da5cfa40#L1
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ──────────────── Error: proxy.evaluate: Error: Invalid response: 404 Not Found at i.create (http://localhost:8888/static/lab/jlab_core.e3a3a97fe081da5cfa40.js?v=e3a3a97fe081da5cfa40:1:1430585) at async m.get (http://localhost:8888/static/lab/jlab_core.e3a3a97fe081da5cfa40.js?v=e3a3a97fe081da5cfa40:1:1375374) at async eval (eval at evaluate (:226:30), <anonymous>:2:12) at async <anonymous>:252:30 at i.create (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.e3a3a97fe081da5cfa40.js?v=e3a3a97fe081da5cfa40:1:1430585) at async m.get (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.e3a3a97fe081da5cfa40.js?v=e3a3a97fe081da5cfa40:1:1375374) at async eval (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/eval at evaluate (:226:30), <anonymous>:2:12) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/async <anonymous>:252:30 at readFileContent (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/tests/chat-file.spec.ts:32:21) at hasId (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/tests/chat-file.spec.ts:173:27) at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata: python/jupyterlab-chat/ui-tests/tests/chat-file.spec.ts#L174
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected end of JSON input 172 | const hasId = async () => { 173 | const model = await readFileContent(page, FILENAME); > 174 | const content = JSON.parse(model.content) as ReadonlyJSONObject; | ^ 175 | return ( 176 | content.metadata !== undefined && 177 | (content.metadata as ReadonlyJSONObject).id !== undefined at hasId (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/tests/chat-file.spec.ts:174:28) at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-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-chat/ui-tests/tests/notifications.spec.ts#L1
2) 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-chat/ui-tests/tests/notifications.spec.ts#L1
2) 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-chat/ui-tests/tests/test-utils.ts#L50
2) 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:50 48 | const tabName = splitPath[splitPath.length - 1]; 49 | await page.waitForCondition( > 50 | async () => await page.activity.isTabActive(tabName) | ^ 51 | ); 52 | return (await page.activity.getPanelLocator(tabName)) as Locator; 53 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/tests/test-utils.ts:50:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled: python/jupyterlab-chat/ui-tests/tests/ui-config.spec.ts#L1
3) tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled Test timeout of 60000ms exceeded.
tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled: python/jupyterlab-chat/ui-tests/tests/test-utils.ts#L50
3) tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled Error: locator.count: Target page, context or browser has been closed at tests/test-utils.ts:50 48 | const tabName = splitPath[splitPath.length - 1]; 49 | await page.waitForCondition( > 50 | async () => await page.activity.isTabActive(tabName) | ^ 51 | ); 52 | return (await page.activity.getPanelLocator(tabName)) as Locator; 53 | }; at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:54:23) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/tests/test-utils.ts:50:17 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:11)
tests/unread.spec.ts:280:7 › #localStorage › should save last read message in localStorage: python/jupyterlab-chat/ui-tests/tests/unread.spec.ts#L1
4) tests/unread.spec.ts:280:7 › #localStorage › should save last read message in localStorage ──── Test timeout of 60000ms exceeded.
tests/unread.spec.ts:280:7 › #localStorage › should save last read message in localStorage: python/jupyterlab-chat/ui-tests/tests/unread.spec.ts#L284
4) tests/unread.spec.ts:280:7 › #localStorage › should save last read message in localStorage ──── Error: proxy.evaluate: Target page, context or browser has been closed 282 | 283 | const hasLocalStorage = async () => { > 284 | const storage = await page.evaluate(() => window.localStorage); | ^ 285 | for (const k in storage) { 286 | if (k.startsWith('@jupyter/chat:')) { 287 | return true; at hasLocalStorage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-chat/ui-tests/tests/unread.spec.ts:284:34) at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-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/
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/
Build 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/
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_chat-artifacts", "jupyterlab_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/
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/
🎭 Playwright Run Summary
4 flaky tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ───────────────── tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled tests/unread.spec.ts:280:7 › #localStorage › should save last read message in localStorage ───── 2 skipped 82 passed (6.5m)

Artifacts

Produced during runtime
Name Size
jupyterlab_chat-artifacts
1.69 MB
jupyterlab_chat-playwright-tests
1.2 MB