S00-005: Select idb and verify transactional storage failure policies
Changes: Propose ADR 0004 comparing native IndexedDB, idb and Dexie; select idb 8.0.4 with account, transaction, quota, upgrade and key ownership policy. Repair rollback and add injected quota/blocked upgrade checks, exact wrapper lock, runtime guard, license texts and reproduction notes. Preserve historical recovery artifacts. Validation: Fresh-cache npm ci and npm run check passed on Node 24.21.0/npm 11.19.0; manifest, HTTPS/SHA512 and license checks passed. make check passed 72 tooling tests; tasks.py validate and git diff --check passed. Native browser quota, disk durability and process restart were not tested; ADR remains proposed for independent QA. Task: S00-005 Agent: auto-storage-0ce544ac4b40 Role: storage Action: claim Status: review Task title: Выбрать IndexedDB wrapper и migration policy
This commit is contained in:
1 parent
8f918bc040
commit
0e2b3098df
17 files changed
+713
-128
No files matched your search
@@ -3,14 +3,18 @@
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"engines": { "node": "24.21.0", "npm": "11.19.0" },
|
||||
"engines": {
|
||||
"node": "24.21.0",
|
||||
"npm": "11.19.0"
|
||||
},
|
||||
"packageManager": "npm@11.19.0",
|
||||
"scripts": {
|
||||
"check:rollback": "node src/rollback.mjs",
|
||||
"check:quota": "node src/quota-blocked.mjs",
|
||||
"check": "npm run check:rollback && npm run check:quota"
|
||||
"check": "node src/check-runtime.mjs && npm run check:rollback && npm run check:quota"
|
||||
},
|
||||
"dependencies": {
|
||||
"fake-indexeddb": "6.2.5"
|
||||
"fake-indexeddb": "6.2.5",
|
||||
"idb": "8.0.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user