gsxdsm
7dfce1cc16
FN-9160: Prevent draft storage quota exhaustion
Make browser draft restoration best-effort so oversized or quota-blocked writes never interrupt task creation.
- cap free-text draft persistence at 64,000 bytes and warn once when restoration is unavailable
- make scoped storage operations throw-safe with bounded retries and stale volatile-state reclamation
- extend quota, composer, modal persistence, and chat draft coverage and document the storage policy
- add a patch changeset for the operator-facing fix
Files changed:
.changeset/fn-9160-quick-entry-quota.md | 7 ++
docs/storage.md | 31 +++---
.../dashboard/app/components/InlineCreateCard.tsx | 25 ++++-
.../dashboard/app/components/QuickEntryBox.tsx | 25 ++++-
.../components/__tests__/ChatView.draft.test.tsx | 36 +++++-
.../components/__tests__/InlineCreateCard.test.tsx | 20 ++++
.../components/__tests__/QuickEntryBox.test.tsx | 36 +++++-
.../app/hooks/__tests__/modalPersistence.test.ts | 28 +++--
packages/dashboard/app/hooks/modalPersistence.ts | 29 ++---
.../app/utils/__tests__/projectStorage.test.ts | 88 ++++++++++++++-
packages/dashboard/app/utils/projectStorage.ts | 122 +++++++++++++++++++--
11 files changed, 384 insertions(+), 63 deletions(-)
Fusion-Task-Id: FN-9160
Fusion-Task-Lineage: 63481936-91f1-4e7a-b27c-c3c5f49014dd
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-19 18:08:55 -07:00
..
2026-08-19 18:08:55 -07:00
2026-07-18 12:41:42 -07:00
2026-07-26 11:17:52 -07:00
2026-08-15 23:14:24 -07:00
2026-07-30 13:55:10 -07:00
2026-07-26 09:50:44 -07:00
2026-07-01 11:12:59 -07:00
2026-07-01 07:33:56 -07:00
2026-06-30 18:15:10 -07:00
2026-07-23 11:41:15 -07:00
2026-06-22 15:23:43 -07:00
2026-05-14 02:23:45 -07:00
2026-07-30 02:47:26 -07:00
2026-05-18 03:10:52 -07:00
2026-07-16 03:17:35 -07:00
2026-05-21 08:43:57 -07:00
2026-07-26 11:17:52 -07:00
2026-07-15 14:06:42 -07:00
2026-06-27 17:22:12 -07:00
2026-06-25 12:25:13 -07:00
2026-05-22 17:24:38 -07:00
2026-05-12 21:55:43 -07:00
2026-06-14 13:50:17 -07:00
2026-08-01 01:00:57 -07:00
2026-07-16 14:08:43 -07:00
2026-06-27 23:53:51 -07:00
2026-04-23 00:06:03 -07:00
2026-04-02 09:58:04 -07:00
2026-07-30 12:46:12 -07:00
2026-07-04 21:28:19 -07:00
2026-08-17 21:39:06 -07:00
2026-06-26 09:32:53 -07:00
2026-04-23 23:02:36 -07:00
2026-04-03 18:33:23 -07:00
2026-08-08 23:54:40 -07:00
2026-05-08 18:44:16 -07:00
2026-07-18 00:33:14 -07:00
2026-06-30 19:21:53 -07:00
2026-04-29 07:10:52 -07:00
2026-08-15 06:42:39 -07:00
2026-06-27 23:47:21 -07:00
2026-07-30 08:06:04 -07:00
2026-07-11 22:16:48 -07:00
2026-04-08 14:38:36 -07:00
2026-06-02 14:14:24 -07:00
2026-08-19 18:08:55 -07:00
2026-07-02 11:38:31 -07:00
2026-07-22 17:29:20 -07:00
2026-07-31 17:27:43 -07:00
2026-06-17 17:57:19 -07:00
2026-08-11 14:22:14 -07:00
2026-07-19 16:44:40 -07:00
2026-07-30 02:38:58 -07:00
2026-08-05 11:39:23 -07:00
2026-08-11 14:22:14 -07:00
2026-05-20 20:27:11 -07:00
2026-05-07 18:35:45 -07:00
2026-07-30 12:46:12 -07:00
2026-07-26 11:17:52 -07:00
2026-08-17 15:47:43 -07:00
2026-05-14 05:55:16 -07:00
2026-05-19 18:56:24 -07:00
2026-06-14 13:50:17 -07:00
2026-08-06 08:11:22 -07:00
2026-07-16 20:28:05 -07:00
2026-08-01 13:30:18 -07:00
2026-05-13 06:29:35 -07:00
2026-08-07 20:33:42 -07:00
2026-08-15 13:39:24 -07:00
2026-08-03 00:20:53 -07:00
2026-07-12 13:06:08 -07:00
2026-04-28 22:43:51 -07:00
2026-05-29 20:05:14 -07:00
2026-07-18 13:50:58 -07:00
2026-08-14 20:50:55 -07:00