Skip to content

fix: harden Electron runtime and interaction lifecycles #461

fix: harden Electron runtime and interaction lifecycles

fix: harden Electron runtime and interaction lifecycles #461

Triggered via pull request August 14, 2026 18:15
Status Failure
Total duration 20m 30s
Artifacts 1

ci.yml

on: pull_request
UI smoke (Ubuntu)
1m 50s
UI smoke (Ubuntu)
Matrix: source-build
UI functional and visual regression (Ubuntu)
6m 39s
UI functional and visual regression (Ubuntu)
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 notices
UI functional and visual regression (Ubuntu)
Process completed with exit code 1.
[electron-visual-linux] › e2e/visual/workspace.spec.ts:11:1 › active-folder workspace shell keeps its redesigned composition: e2e/visual/visual-helpers.ts#L85
2) [electron-visual-linux] › e2e/visual/workspace.spec.ts:11:1 › active-folder workspace shell keeps its redesigned composition Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(page).toHaveScreenshot(expected) failed 47 pixels (ratio 0.01 of all image pixels) are different. Snapshot: workspace-folder.png Call log: - Expect "toHaveScreenshot(workspace-folder.png)" with timeout 10000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 47 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 47 pixels (ratio 0.01 of all image pixels) are different. at visual/visual-helpers.ts:85 83 | export async function expectLinuxScreenshot(page: Page, name: string): Promise<void> { 84 | if (process.platform !== 'linux') return; > 85 | await expect(page).toHaveScreenshot(name, { | ^ 86 | animations: 'disabled', 87 | caret: 'hide', 88 | }); at expectLinuxScreenshot (/home/runner/work/stashbase/stashbase/e2e/visual/visual-helpers.ts:85:22) at /home/runner/work/stashbase/stashbase/e2e/visual/workspace.spec.ts:28:11
[electron-visual-linux] › e2e/visual/workspace.spec.ts:11:1 › active-folder workspace shell keeps its redesigned composition: e2e/visual/visual-helpers.ts#L85
2) [electron-visual-linux] › e2e/visual/workspace.spec.ts:11:1 › active-folder workspace shell keeps its redesigned composition Error: expect(page).toHaveScreenshot(expected) failed 47 pixels (ratio 0.01 of all image pixels) are different. Snapshot: workspace-folder.png Call log: - Expect "toHaveScreenshot(workspace-folder.png)" with timeout 10000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 47 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 47 pixels (ratio 0.01 of all image pixels) are different. at visual/visual-helpers.ts:85 83 | export async function expectLinuxScreenshot(page: Page, name: string): Promise<void> { 84 | if (process.platform !== 'linux') return; > 85 | await expect(page).toHaveScreenshot(name, { | ^ 86 | animations: 'disabled', 87 | caret: 'hide', 88 | }); at expectLinuxScreenshot (/home/runner/work/stashbase/stashbase/e2e/visual/visual-helpers.ts:85:22) at /home/runner/work/stashbase/stashbase/e2e/visual/workspace.spec.ts:28:11
[electron-visual-linux] › e2e/visual/document.spec.ts:13:1 › Markdown reading: e2e/visual/visual-helpers.ts#L85
1) [electron-visual-linux] › e2e/visual/document.spec.ts:13:1 › Markdown reading, writing, and valid JSON keep distinct document surfaces Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(page).toHaveScreenshot(expected) failed 2744 pixels (ratio 0.01 of all image pixels) are different. Snapshot: json-reading-dark.png Call log: - Expect "toHaveScreenshot(json-reading-dark.png)" with timeout 10000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 2744 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 2744 pixels (ratio 0.01 of all image pixels) are different. at visual/visual-helpers.ts:85 83 | export async function expectLinuxScreenshot(page: Page, name: string): Promise<void> { 84 | if (process.platform !== 'linux') return; > 85 | await expect(page).toHaveScreenshot(name, { | ^ 86 | animations: 'disabled', 87 | caret: 'hide', 88 | }); at expectLinuxScreenshot (/home/runner/work/stashbase/stashbase/e2e/visual/visual-helpers.ts:85:22) at /home/runner/work/stashbase/stashbase/e2e/visual/document.spec.ts:45:11
[electron-visual-linux] › e2e/visual/document.spec.ts:13:1 › Markdown reading: e2e/visual/visual-helpers.ts#L85
1) [electron-visual-linux] › e2e/visual/document.spec.ts:13:1 › Markdown reading, writing, and valid JSON keep distinct document surfaces Error: expect(page).toHaveScreenshot(expected) failed 2744 pixels (ratio 0.01 of all image pixels) are different. Snapshot: json-reading-dark.png Call log: - Expect "toHaveScreenshot(json-reading-dark.png)" with timeout 10000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 2744 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - captured a stable screenshot - 2744 pixels (ratio 0.01 of all image pixels) are different. at visual/visual-helpers.ts:85 83 | export async function expectLinuxScreenshot(page: Page, name: string): Promise<void> { 84 | if (process.platform !== 'linux') return; > 85 | await expect(page).toHaveScreenshot(name, { | ^ 86 | animations: 'disabled', 87 | caret: 'hide', 88 | }); at expectLinuxScreenshot (/home/runner/work/stashbase/stashbase/e2e/visual/visual-helpers.ts:85:22) at /home/runner/work/stashbase/stashbase/e2e/visual/document.spec.ts:45:11
🎭 Playwright Run Summary
5 passed (35.9s)
🎭 Playwright Run Summary
5 did not run
🎭 Playwright Run Summary
6 passed (41.9s)
🎭 Playwright Run Summary
2 failed [electron-visual-linux] › e2e/visual/document.spec.ts:13:1 › Markdown reading, writing, and valid JSON keep distinct document surfaces [electron-visual-linux] › e2e/visual/workspace.spec.ts:11:1 › active-folder workspace shell keeps its redesigned composition 4 passed (59.9s)
🎭 Playwright Run Summary
28 passed (3.6m)
🎭 Playwright Run Summary
34 did not run

Artifacts

Produced during runtime
Name Size Digest
ui-regression-31827810786-1
21.4 MB
sha256:53beeb332f09a065d4cbe86a8df71ae55b52a05868bf36dd0e76368b73322f09