feat(FN-5103): complete Step 7 — update docs and changeset
Fusion-Task-Id: FN-5103 Fusion-Task-Lineage: e4e4d9ba-4884-4feb-b18b-a30e799c3fb1
This commit is contained in:
committed by
gsxdsm
parent
71928aeda3
commit
c51d0d9d9b
@@ -81,7 +81,9 @@ Important execution nuance:
|
||||
- `task.modifiedFiles` stores the executor's last captured worktree snapshot. During in-progress/in-review this is the primary fallback and may include files later reverted before merge or changed by verification rebuilds.
|
||||
- `task.mergeDetails.landedFiles` stores the authoritative landed file list on the merge target:
|
||||
- squash path: `git show --name-only --format= <commitSha>`
|
||||
- rebase/cherry-pick path: `git diff --name-only <rebaseBaseSha>..<commitSha>`
|
||||
- rebase/cherry-pick path: union of files from task-attributable commits returned by `filterFilesToOwnTaskCommits` (`landedFilesAttributionRestricted: true`)
|
||||
- attribution fallback path: if commit attribution fails, merger falls back to `git diff --name-only <rebaseBaseSha>..<commitSha>` and sets `landedFilesCaptureFallback: "attribution-failed"`
|
||||
- `mergeDetails.noOpVerifiedShortCircuit` marks rebase captures where zero commits are attributable to the task (`landedFiles: []`, stats zero); this indicates the branch's work was already on main.
|
||||
- After merge (and during self-healing reconciliation), Fusion updates `task.modifiedFiles` to match `landedFiles` when the landed set is available and non-empty.
|
||||
- Consumer guidance:
|
||||
- done tasks: prefer `mergeDetails.landedFiles`
|
||||
|
||||
Reference in New Issue
Block a user