feat(FN-5053): fix verification gate registration for workspace test stabil

Fix FN-5053 restores workspace test stability for the verification gate by adjusting the duplicate guard and task workflow route registration, with updated coverage in the branch-conflicts and diff-volume-gate test suites.

Fusion-Task-Id: FN-5053

Fusion-Task-Lineage: cc8a561a-fd56-4275-b06c-0966c80c2868
This commit is contained in:
Fusion (runfusion.ai)
2026-05-18 23:14:27 -07:00
committed by gsxdsm
parent 070ad28151
commit 76790c424f
6 changed files with 60 additions and 54 deletions

View File

@@ -59,7 +59,7 @@ export async function runDeterministicDuplicateGuard(
return { action: "duplicate", fingerprint, existing: deterministicConflict, releaseLock: noop };
}
} catch (error) {
opts?.logger?.warn("FN-5084 deterministic pre-check failed; proceeding", {
opts?.logger?.warn("Deterministic duplicate pre-check failed; proceeding", {
contentFingerprint: fingerprint,
error: error instanceof Error ? error.message : String(error),
});
@@ -73,7 +73,7 @@ export async function runDeterministicDuplicateGuard(
try {
await existingLock;
} catch (error) {
opts?.logger?.warn("FN-5084 deterministic lock wait failed; proceeding", {
opts?.logger?.warn("Deterministic duplicate pre-check failed; proceeding", {
lockKey,
contentFingerprint: fingerprint,
error: error instanceof Error ? error.message : String(error),
@@ -108,7 +108,7 @@ export async function runDeterministicDuplicateGuard(
return { action: "duplicate", fingerprint, existing: deterministicConflict, releaseLock };
}
} catch (error) {
opts?.logger?.warn("FN-5084 deterministic pre-check failed; proceeding", {
opts?.logger?.warn("Deterministic duplicate pre-check failed; proceeding", {
lockKey,
contentFingerprint: fingerprint,
error: error instanceof Error ? error.message : String(error),