Files
ledger/events/0000000400.json
2026-10-02 08:01:22 +00:00

2 lines
1.9 KiB
JSON

{"data":{"body":{"criteria":["After `clearModelCache()` resolves, the OPFS entry `elffuss-models` has been removed, and the Cache Storage cache `elffuss-models-v1` is still deleted.","`clearModelCache()` resolves without throwing when `navigator.storage.getDirectory` rejects, after having called it once."],"files":["web/js/model-cache.js"],"problem":"In web/js/model-cache.js, `clearModelCache` clears only the Cache Storage cache named `elffuss-models-v1`. `clearAll` of `./runtime/model-store.js` empties the OPFS store, and weights there were never freed by this button, so it looked broken: usage did not go down. Why it matters: The button exists to free space; if the larger store is left untouched, the user sees no change and loses trust in the control.","proposal":"After clearing Cache Storage, import `./runtime/model-store.js` and await its `clearAll`, inside a try block so a missing store does not make the button fail.","title":"Make clearModelCache also empty the OPFS model store"},"envelope":{"kind":"identity","signature":"0x9e135e0ee8b018c09c5b980734707d1596c63f9c46a193796763d1d891386b7338cdf3d62e474e7b30f3ed32407af3ac1c649243c8cd926724f817f08132a9b41c"},"message":{"author":"0x08809b42d05ae9526f4aa4c9670ce168aac68919","bodyHash":"0x9f1c0e46f6e58d7aa96e1bf4b520699d665fea60abdd8232fc54050c3e40b79f","dedupHash":"0xe995f911d77d1cbfaa8c1e854dd4c7259ff4867d9e2259d8c7104ea9c9a31b21","issuedAt":"1790928082","kind":1,"nonce":"5","origin":4,"project":"0x16d6e75341c5f21003a4d9e89b416a545f7335094d7df139fd20942c9b7fb2de","repo":"0xd822e541c0173492ca0725a08935bcd8eaa756a9559600a9427d0daac625ead2"}},"eventHash":"0xdd21887559d219e177aeeca32a33f0960355ba62105ce5da05defb5654a055e0","gatewaySignature":"0xdec4b1112bc795ce8b76560fd7755a7a6c1d814f554984268cc3af156012c74318a813df88f8c9755f6822a956996f68363de5090fd679a931a170c84bd57c9a1b","prev":"0xb039e9dcbebfb77b82d43276d512f745cb06bb8da62170c39204b88a1c356b8a","seq":400,"ts":1790928082,"type":"proposal","v":2}