Skip to content

Lint the whole project instead of individual packages #481

Lint the whole project instead of individual packages

Lint the whole project instead of individual packages #481

Triggered via pull request January 2, 2025 16:49
@brichetbrichet
synchronize #142
brichet:lint
Status Success
Total duration 15m 4s
Artifacts 3

build.yml

on: pull_request
Build chat extension
3m 22s
Build chat extension
Matrix: test_extensions
Integration tests
8m 5s
Integration tests
Integration tests notebook
3m 52s
Integration tests notebook
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 13 warnings, and 2 notices
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata: 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: ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4#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.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1432098) at async m.get (http://localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1376887) 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/ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1432098) at async m.get (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1376887) at async eval (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/eval at evaluate (:226:30), <anonymous>:2:12) at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/async <anonymous>:252:30 at readFileContent (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:32:21) at hasId (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:173:27) at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/raw-time.spec.ts:58:7 › #raw_time › message timestamp should be raw according to file content: ui-tests/tests/raw-time.spec.ts#L1
2) tests/raw-time.spec.ts:58:7 › #raw_time › message timestamp should be raw according to file content Test timeout of 60000ms exceeded.
tests/raw-time.spec.ts:58:7 › #raw_time › message timestamp should be raw according to file content: ui-tests/tests/raw-time.spec.ts#L67
2) tests/raw-time.spec.ts:58:7 › #raw_time › message timestamp should be raw according to file content Error: locator.getAttribute: Test timeout of 60000ms exceeded. Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container .jp-chat-message').locator('.jp-chat-message-time').first() 65 | 66 | const raw_time = messages.locator('.jp-chat-message-time').first(); > 67 | expect(await raw_time.getAttribute('title')).toBe('Unverified time'); | ^ 68 | expect(await raw_time.textContent()).toMatch(/\*$/); 69 | 70 | const verified_time = messages.locator('.jp-chat-message-time').last(); at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/raw-time.spec.ts:67:27
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user: ui-tests/tests/ui-config.spec.ts#L1
3) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ────────────── Test timeout of 60000ms exceeded.
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user: ui-tests/tests/test-utils.ts#L51
3) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ────────────── Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:51 49 | const tabName = splitPath[splitPath.length - 1]; 50 | await page.waitForCondition( > 51 | async () => await page.activity.isTabActive(tabName) | ^ 52 | ); 53 | panel = await page.activity.getPanelLocator(tabName); 54 | at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:51:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user: ui-tests/tests/ui-config.spec.ts#L1
3) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user: ui-tests/tests/test-utils.ts#L51
3) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:51 49 | const tabName = splitPath[splitPath.length - 1]; 50 | await page.waitForCondition( > 51 | async () => await page.activity.isTabActive(tabName) | ^ 52 | ); 53 | panel = await page.activity.getPanelLocator(tabName); 54 | at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:51:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
Check Links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build jupyter_chat
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typing test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python unit tests (Python 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python unit tests (Python 3.12)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Python unit tests (Python 3.12)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Python unit tests (Python 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python unit tests (Python 3.9)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Python unit tests (Python 3.9)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Build chat extension
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests notebook
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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-notebook-playwright-tests", "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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 passed (13.8s)
🎭 Playwright Run Summary
3 flaky tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ───────────────── tests/raw-time.spec.ts:58:7 › #raw_time › message timestamp should be raw according to file content tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ─────────────── 85 passed (6.6m)

Artifacts

Produced during runtime
Name Size
jupyterlab_chat-artifacts
1.54 MB
jupyterlab_chat-notebook-playwright-tests
436 KB
jupyterlab_chat-playwright-tests
10.1 MB