feat(FN-3231): preserve merge-active state on verification bounce and board
This merge lands FN-3231 across two steps: it preserves a merge-active fix when verification bounces occur (step 1) and ensures the fix is retained during board routing transitions (step 2). Changes span the dashboard Board routing logic and the engine executor, with corresponding test coverage adde Fusion-Task-Id: FN-3231
This commit is contained in:
@@ -86,8 +86,8 @@ function sortTasksForColumn(tasks: Task[], column: ColumnType): Task[] {
|
||||
return [...tasks].sort((a, b) => {
|
||||
// In the in-review column, merging tasks stay pinned above non-merging tasks.
|
||||
if (column === "in-review") {
|
||||
const aIsMerging = a.status === "merging" || a.status === "merging-pr";
|
||||
const bIsMerging = b.status === "merging" || b.status === "merging-pr";
|
||||
const aIsMerging = a.status === "merging" || a.status === "merging-pr" || a.status === "merging-fix";
|
||||
const bIsMerging = b.status === "merging" || b.status === "merging-pr" || b.status === "merging-fix";
|
||||
if (aIsMerging !== bIsMerging) {
|
||||
return aIsMerging ? -1 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user