gsxdsm
c449379d00
FN-8172: persist import translations across restarts
Persist GitHub and GitLab import translation caches across application restarts.
- Normalize cache ownership scope for reads, writes, pruning, and PostgreSQL RLS
- Add forward migration 0016 to repair existing cache table partitioning
- Cover durable cache reuse and migration behavior with PostgreSQL and service tests
Files changed:
.changeset/github-translation-cache-persistence.md | 7 ++
docs/settings-reference.md | 2 +-
.../postgres/import-translation-cache.pg.test.ts | 105 +++++++++++++++++++++
.../src/__tests__/postgres/schema-applier.test.ts | 84 +++++++++++++++--
.../migrations/0010_import_translation_cache.sql | 6 +-
.../0016_import_translation_cache_scope_fix.sql | 50 ++++++++++
packages/core/src/postgres/schema-applier.ts | 29 +++++-
packages/core/src/postgres/schema/project.ts | 8 +-
packages/core/src/task-store/remaining-ops-8.ts | 21 +++--
.../src/__tests__/import-translate-service.test.ts | 32 ++++++-
packages/dashboard/src/import-translate-service.ts | Bin 10392 -> 11109 bytes
11 files changed, 323 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-8172
Fusion-Task-Lineage: b3d18f58-dc0b-47e4-a1bf-acb8b2360869
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-16 18:46:36 -07:00
..
2026-07-16 18:13:37 -07:00
2026-07-13 10:32:12 -07:00
2026-07-16 18:46:36 -07:00
2026-07-16 18:46:36 -07:00
2026-07-16 18:18:35 -07:00
2026-07-13 10:32:12 -07:00
2026-07-16 18:13:37 -07:00
2026-07-16 17:47:54 -07:00
2026-07-13 10:32:12 -07:00
2026-07-13 10:32:12 -07:00
2026-06-08 15:19:27 -07:00
2026-07-15 08:44:11 -07:00