25 lines
729 B
Markdown
25 lines
729 B
Markdown
# W-014 Status
|
||
|
||
status: done
|
||
task: 建立 StorageWorker 烟测(原生 IndexedDB)
|
||
|
||
## Evidence
|
||
|
||
- Client: `web/app/src/storage/StorageClient.ts`
|
||
- Worker: `web/app/src/workers/storage.worker.ts`
|
||
- Backend: browser-native IndexedDB in a dedicated Worker
|
||
- Screenshot: `tests/golden/W-014/storage-viewport-1440x900.png`
|
||
|
||
The worker writes and reads a smoke record through IndexedDB and reports whether
|
||
the Worker can also access OPFS. SQLite WASM is intentionally deferred because
|
||
it is not required for the current project metadata and file workflow.
|
||
|
||
## Verification
|
||
|
||
```text
|
||
npm run typecheck # passed
|
||
npm run lint # passed
|
||
npm run build # passed
|
||
npm run test:e2e # Storage: IndexedDB (or IndexedDB + OPFS)
|
||
```
|