Files
fusion/packages
gsxdsm 3d658059cb FN-7979: add route regressions for translated GitHub issue import
Lock GitHub import routes so tasks use cached translated title/body with source URL appended, and fail open to original prose when translation is off, missing, or for closed issues.

- Mock getImportTranslation on the route test store
- Cover single-issue and batch import happy paths for cached translations
- Assert fail-open when auto-translate is off, cache misses, or issue is closed
- Prefer persistent getSettings mocks so translation settings survive multi-call import flows
- Document CLI/GitLab exclusion in FNXC surface note

Files changed:
 .../dashboard/src/__tests__/routes-github.test.ts  | 216 ++++++++++++++++++++-
 1 file changed, 214 insertions(+), 2 deletions(-)

Fusion-Task-Id: FN-7979

Fusion-Task-Lineage: 7b0fe0a5-44f3-4131-b535-6b4c7602b5a8

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-15 15:58:55 -07:00
..
2026-07-13 10:32:12 -07:00
2026-07-13 10:32:12 -07:00
2026-07-13 10:32:12 -07:00
2026-07-13 10:32:12 -07:00