release: v0.5.1 — 存储后端生产级硬化(CRC-32/全库加密/WAL分片/页面化存储/多标签页锁/e2e)+ 深度审查修复(假实现接线/死代码清理)
CI / test (18.x) (push) Successful in 10m10s
CI / test (20.x) (push) Successful in 10m10s
CI / test (22.x) (push) Successful in 10m6s
CI / e2e (push) Successful in 9m51s
CI / test (24.x) (push) Successful in 10m28s

This commit is contained in:
thzxx
2026-08-10 12:07:00 +08:00
parent cff98b0903
commit 334067d89e
88 changed files with 15713 additions and 10626 deletions
+24
View File
@@ -0,0 +1,24 @@
/**
* Playwright E2E 配置 — 真实 Chromium 环境验证 OPFS 存储后端
*/
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
timeout: 60_000,
fullyParallel: false,
workers: 1, // OPFS 有锁/配额,串行执行避免互相干扰
retries: 1,
reporter: [['list']],
use: {
baseURL: 'http://127.0.0.1:3344',
trace: 'retain-on-failure',
},
webServer: {
// Node 静态服务(与 MetonaEditor 一致,不依赖 python3
command: 'node tests/e2e/server.cjs 3344',
url: 'http://127.0.0.1:3344',
reuseExistingServer: !process.env.CI,
timeout: 30_000,
},
});