fix(FN-1024): fix done-task changes tab overcounting and add diff fallback
- Fix TaskChangesTab overcounting changes for done tasks by handling missing commit SHA gracefully - Add /api/tasks/:id/diff endpoint with fallback for done tasks without merge commit info - Add comprehensive tests for both TaskChangesTab component and diff route edge cases - Document done-task Changes tab fallback behavior in README
This commit is contained in:
@@ -143,7 +143,7 @@ When a task reaches **In Review**, Fusion handles merge with rich metadata:
|
||||
- Merge commit SHA, files changed, insertions/deletions, timestamps
|
||||
- Smart conflict resolution: lock files ("ours"), generated files ("theirs"), whitespace conflicts
|
||||
- 3-attempt retry logic with escalating strategies (AI resolve → auto-resolve patterns → `git merge -X theirs`)
|
||||
- **Changes tab** — View file-level diffs from the merge commit, even after worktree cleanup
|
||||
- **Changes tab** — View file-level diffs from the merge commit, even after worktree cleanup. Done tasks without a recorded commit SHA show a safe summary fallback instead of inflated repository-wide diffs.
|
||||
|
||||
## Multi-Project Support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user