gsxdsm
e84410e520
FN-6007: prevent duplicate GitHub issue imports and tracking issues
Prevent duplicate GitHub issue/task linkage from creating redundant imports and tracking issues.
- add shared duplicate-detection helpers that match imported GitHub issues by source metadata as well as source URLs
- switch CLI and dashboard GitHub import flows to inspect full task records and reuse the helper during single and batch imports
- remove redundant duplicate/refine tracking-issue creation calls from task workflow routes and add a patch changeset with regression coverage
Files changed:
.changeset/fn-6007-fix-duplicate-github-issues.md | 5 ++
packages/cli/src/__tests__/extension.test.ts | 68 ++++++++++++++++
packages/cli/src/extension.ts | 24 ++++--
.../src/__tests__/github-tracking-hook.test.ts | 68 ++++++++++++++++
.../dashboard/src/__tests__/routes-github.test.ts | 73 ++++++++++++++++++
.../src/__tests__/routes-tasks-ops.test.ts | 90 +---------------------
.../dashboard/src/routes/register-git-github.ts | 24 ++++--
.../src/routes/register-task-workflow-routes.ts | 16 ----
8 files changed, 254 insertions(+), 114 deletions(-)
Fusion-Task-Id: FN-6007
Fusion-Task-Lineage: a32ebb1d-efe4-4a52-be9a-fa3d3b5954bf
2026-06-07 18:54:24 -07:00
..
2026-06-07 18:54:24 -07:00
2026-06-07 18:51:46 -07:00
2026-06-03 13:02:23 -07:00
2026-06-04 22:10:20 -07:00
2026-04-23 23:02:35 -07:00
2026-05-01 05:04:05 -07:00
2026-06-05 22:28:50 -07:00
2026-06-07 18:54:24 -07:00
2026-05-01 23:35:44 -07:00
2026-05-23 11:49:23 -07:00
2026-04-29 07:54:45 -07:00