feat(FN-4368): complete Step 3 — advisory workflow failures never block

Fusion-Task-Id: FN-4368
Fusion-Task-Lineage: ac9b12e6-2101-4b51-89a0-6422fd7850ed
This commit is contained in:
Fusion
2026-05-14 06:44:04 -07:00
committed by gsxdsm
parent c947cbfcb5
commit a8e05b5757
4 changed files with 170 additions and 1 deletions

View File

@@ -172,6 +172,20 @@ describe("getTaskMergeBlocker", () => {
expect(result).toContain("pre-merge workflow steps");
});
it("does NOT block merge on advisory pre-merge workflow findings", () => {
const result = getTaskMergeBlocker({
...baseTask,
workflowStepResults: [{
workflowStepId: "WS-001",
workflowStepName: "Frontend UX Design",
phase: "pre-merge",
status: "advisory_failure",
notes: "Polish spacing in header actions.",
}],
});
expect(result).toBeUndefined();
});
it("blocks merge when legacy workflow step (no phase) has failed", () => {
const result = getTaskMergeBlocker({
...baseTask,