feat(FN-4646): complete Step 1 — add landedFiles merge metadata

Fusion-Task-Id: FN-4646
Fusion-Task-Lineage: f921098e-3407-40fa-984d-720e0c3248c7
This commit is contained in:
Fusion
2026-05-15 12:59:41 -07:00
committed by gsxdsm
parent ef1ce1071b
commit a5578d44da

View File

@@ -1175,6 +1175,16 @@ export interface MergeDetails {
* Unset for squash merges.
*/
rebaseBaseSha?: string;
/**
* Authoritative landed file set on the merge target:
* - squash: files touched by the final recorded squash commit
* - rebase/cherry-pick: files touched across `rebaseBaseSha..commitSha`
*
* This differs from `Task.modifiedFiles`, which is an executor pre-merge
* worktree snapshot and can include in-flight files later reverted before
* landing.
*/
landedFiles?: string[];
/**
* Shortstat file count of the final recorded merge/squash commit only.
* For multi-commit task lineage this can undercount landed scope.