Conversation
…ll Suite failure census Land the ported FUSI-020 work: repair engine test harnesses and assertions that encode pre-provenance call shapes, and record the main Full Suite failure census with its dispositions. Test- and doc-only; no product code changes. - Add docs/solutions/test-failures/main-full-suite-census-2026-09-25.md: the 233-named-case / 117-file census extracted from the Runfusion#3158 run, split into 17 verified fixes, 201 failures with unverified cause, and 15 unresolved, plus the two open links in the completion chain and two re-measurement traps. - Update merger moveTask assertions across merger-merge-details, merger-skills, merger-verification, and merger-finalize-unproven.real-git tests to the third `{ workflowMoveSource: "merger-complete-task" }` provenance argument. - Replace `undefined` appendAgentLog summary assertions with the real summarized tool command ("git status" / "vitest run") so a summarizer change cannot silently alter what the agent log records. - Fix the project-engine merge-authority harnesses to the current product signatures: canMergeTask now takes a resolved review-column Set (not a boolean), and the in-review sweep now probes the merge gate per card, so the fake `this` must provide resolveMergeGateBlocker. Files changed: docs/solutions/test-failures/main-full-suite-census-2026-09-25.md | 564 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ packages/engine/src/__tests__/merger-finalize-unproven.real-git.test.ts | 8 +- packages/engine/src/__tests__/merger-merge-details.test.ts | 24 ++++- packages/engine/src/__tests__/merger-skills.test.ts | 5 +- packages/engine/src/__tests__/merger-verification.test.ts | 39 ++++++-- packages/engine/src/__tests__/project-engine-auto-heal-lane-resolved.test.ts | 46 ++++++++-- packages/engine/src/__tests__/project-engine-merge-lane-resolved.test.ts | 8 ++ 7 files changed, 675 insertions(+), 19 deletions(-) Verified: the 6 changed test files (157 tests) pass, @fusion/engine typecheck is clean, pnpm lint reports 0 errors, pnpm build succeeds, and pnpm test:gate passes (exit 0, 16 static validators). Fusion-Task-Id: FUSI-005 Fusion-Task-Lineage: 70156ad6-9e75-4190-b553-5fe26d10d759 Co-authored-by: Fusion <noreply@runfusion.ai>
| | `Test shard 1/4` | `src/__tests__/merger-verification.test.ts` | aiMergeTask — in-merge verification fix > logs fix-agent startup metadata, streams callbacks, and logs rerun lifecycle | AssertionError: expected "vi.fn()" to be called with arguments: [ 'FN-050', 'Bash', 'tool', …(2) ] | | ||
| | `Test shard 1/4` | `src/__tests__/merger-verification.test.ts` | aiMergeTask — inferred test command execution > runs inferred test command when settings.testCommand is not configured | AssertionError: expected "vi.fn()" to be called with arguments: [ 'FN-050', 'done' ] | | ||
| | `Test shard 1/4` | `src/__tests__/merger-verification.test.ts` | aiMergeTask — inferred test command execution > skips verification when no lock files exist and no explicit testCommand is set | AssertionError: expected "vi.fn()" to be called with arguments: [ 'FN-050', 'done' ] | | ||
| | `Test shard 1/4` | `src/__tests__/node-worktree-isolation.test.ts` | every workflow node runs in the task worktree, never the shared checkout > acquires a task worktree for Plan Review when the task has none | AssertionError: expected '/tmp/test/.fusion/worktrees/fn-1403' to contain '/tmp/test/.worktrees/' | |
| | `Test shard 1/4` | `src/__tests__/merger-verification.test.ts` | aiMergeTask — inferred test command execution > runs inferred test command when settings.testCommand is not configured | AssertionError: expected "vi.fn()" to be called with arguments: [ 'FN-050', 'done' ] | | ||
| | `Test shard 1/4` | `src/__tests__/merger-verification.test.ts` | aiMergeTask — inferred test command execution > skips verification when no lock files exist and no explicit testCommand is set | AssertionError: expected "vi.fn()" to be called with arguments: [ 'FN-050', 'done' ] | | ||
| | `Test shard 1/4` | `src/__tests__/node-worktree-isolation.test.ts` | every workflow node runs in the task worktree, never the shared checkout > acquires a task worktree for Plan Review when the task has none | AssertionError: expected '/tmp/test/.fusion/worktrees/fn-1403' to contain '/tmp/test/.worktrees/' | | ||
| | `Test shard 1/4` | `src/__tests__/node-worktree-isolation.test.ts` | every workflow node runs in the task worktree, never the shared checkout > acquires a task worktree for a custom read-only gate when the task has none | AssertionError: expected '/tmp/test/.fusion/worktrees/fn-1403' to contain '/tmp/test/.worktrees/' | |
| | `Test shard 2/4` | `src/__tests__/workflow-graph-merge-region-collapse.test.ts` | WorkflowGraphExecutor merge-region collapse > treats 'retry-backoff' as a merge-region boundary when entered directly | (no error line in shard log) | | ||
| | `Test shard 2/4` | `src/__tests__/workflow-node-execution-needs.test.ts` | workflowNodeRequiresWorktree > requires a worktree for inline fixes from review name | AssertionError: expected false to be true // Object.is equality | | ||
| | `Test shard 2/4` | `src/__tests__/workflow-node-execution-needs.test.ts` | workflowNodeRequiresWorktree > requires a worktree for inline fixes from verification name | AssertionError: expected false to be true // Object.is equality | | ||
| | `Test shard 2/4` | `src/__tests__/workspace-acquire-lease-authority.test.ts` | workspace acquire durable lease authority > admits a new owner when an expired durable lease has a stale same-process cache | AssertionError: expected '/tmp/fusion-test-workers-xiv9Xv/redir…' to contain '.worktrees' | |
ThreatCrush Security Scan4589 finding(s) HIGH/CRITICAL: 43 | MEDIUM: 4035 | LOW: 511
…and 4539 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recupera o trabalho da FUSI-005 que ficou preso na
mainlocal.O merge final da FUSI-005 nao virou PR porque o gate
post-merge-verificationnunca reportou (
Auto-merge finalization deferred for FUSI-005: required post-merge evidence gate 'post-merge-verification' has not reported), entao oexecutor deixou o commit so na main local da maquina. Este PR traz esse commit
para o fork, onde ele pode ser revisado e merged normalmente.
Conteudo (test-only + docs, sem codigo de produto):
docs/solutions/test-failures/{ workflowMoveSource })resolveMergeGateBlocker)
Aplica limpo sobre
origin/main(verificado, sem conflito).