test(FN-4308): complete Step 4 — add card and modal aggregation regressions
Fusion-Task-Id: FN-4308 Fusion-Task-Lineage: d0a46a8f-2245-4ddc-99b4-06d78e87db16
This commit is contained in:
@@ -70,9 +70,9 @@ export function __test_clearDiffStatsCache(): void {
|
||||
* Fetches diff stats for a task's Changes tab.
|
||||
*
|
||||
* For active worktree-backed tasks, this keeps the TaskCard count aligned with
|
||||
* the Changes tab. For done tasks, it uses the same endpoint so the card does
|
||||
* not fall back to `mergeDetails.filesChanged`, which is computed at merge time
|
||||
* and can differ from the endpoint's count.
|
||||
* the Changes tab. For done tasks, it always uses `/api/tasks/:id/diff`, whose
|
||||
* server-side aggregation is the canonical source (including multi-commit
|
||||
* lineage unions), instead of trusting `mergeDetails.filesChanged`.
|
||||
*
|
||||
* @param taskId - Task identifier
|
||||
* @param column - Current task column
|
||||
|
||||
Reference in New Issue
Block a user