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
114 B
114 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Fix duplicate GitHub tracking issues and harden GitHub issue import deduping.