fix: Cache & reuse Shiki highlighter & parser for improved performance #3791
Annotations
1 error, 6 warnings, and 1 notice
Run Playwright tests:
tests/src/end-to-end/theming/theming.test.ts#L51
1) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
13142 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-webkit-linux.png
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-actual.png
Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-diff.png
49 |
50 | await page.waitForTimeout(500);
> 51 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png");
| ^
52 | });
53 | test("Should show dark slash menu", async ({ page }) => {
54 | await focusOnEditor(page);
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:51:37
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Playwright tests:
tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 27.4s
|
Run Playwright tests:
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.3s
|
Run Playwright tests:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 23.0s
|
Run Playwright tests:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.6s
|
Run Playwright tests:
tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 21.2s
|
Run Playwright tests
1 flaky
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
18 skipped
248 passed (7.6m)
|
Set up job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/checkout@v4
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/setup-node@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Cache node modules
4s
4s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
cache playwright
4s
4s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install Dependencies
32s
32s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Bootstrap packages
35s
35s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Lint packages
43s
43s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Build packages
1m 45s
1m 45s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run unit tests
24s
24s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run server
8s
8s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install Playwright
42s
42s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run Playwright tests
7m 37s
7m 37s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/upload-artifact@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Upload webpack stats artifact (editor)
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post cache playwright
7s
7s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Cache node modules
7s
7s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/setup-node@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/checkout@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading