You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V48 Gate 3 (implementation-only): stitch-repair validation errors stream as in-band 'repair', not terminal 'error' — stop marking actively-repairing runs failed
Run 61c3b0cf: the synthesis agent's plan step returned output missing the
required 'options' array; StitchUntilComplete recorded the zod error
(store('validation','error', …)) and began its bounded repair — exactly its
job. But ExecutionStreamAdapter.inferEventType typed any key==='error' store
as a terminal 'error' event, so: the SSE tail closed (usePipelineExecution
sawTerminal), the activity builder surfaced the zod message as the run error,
and /deposit flipped to failed — while the pipeline repaired and kept running
(sidecar shows it deep in validation and a second fail-closed iteration,
zero errors, 18+ minutes past the false verdict).
- ExecutionStreamAdapter: new REPAIR='repair' stream type;
'validation'/'error' stores (the stitch loop's about-to-repair record, its
only producer) classify as REPAIR. Genuine terminals are unchanged:
namespace 'error' stores, the route catch's explicit error emitEvent, and
stitching/error (stored immediately before the stitch-exceeded throw).
- Legacy-row hardening (rows persisted before this fix are typed 'error' with
namespace 'validation'): usePipelineExecution no longer treats them as
terminal, buildTerminalRunActivityFromEvents no longer surfaces them as the
run error, and the /api/executions/stream tail no longer closes on them —
so reloading a mid-repair run resumes tailing to its real outcome.
Verified: execution-generics adapter suite 15 green (incl. new repair
classification test); uapi full suite 155 suites / 599 tests green (incl.
new tail-past-repair and run-error regression tests); pipelines-generics
streaming 46 green; tsc clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments