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
{{ message }}
Repository navigation
[Bug]: pipeline cleanup fallback masks the original execution error #26322
In multi-input pipeline cleanup, an operator can first record the real execution error on a shared PipelineEdge, while another Connector sharing that edge fails to deliver its normal End because Ch2 is already full. Connector.Reset then aborts its spool with ErrPipelineEndSignalDeliveryFailed. A buffered GetFromSpool signal observes that synthetic cleanup error and can return it before the durable original edge error, masking the user-visible error.
Observed in PR #26318 compose BVT job 90243593095. The dedup join correctly produced the expected duplicate-entry error for value 1000000, but the client received internal error: pipeline end signal delivery failed.
Expected Behavior
If a shared PipelineEdge already has a durable terminal error, Connector/Dispatch cleanup must preserve that original error when aborting queued spool work. ErrPipelineEndSignalDeliveryFailed should only be used when no real terminal cause exists.
Steps to Reproduce
Use a shared PipelineEdge with a full Ch2 containing a GetFromSpool signal.
Record a real fatal error on the edge while the channel remains full.
Reset another successful Connector sharing that edge so its End delivery fails.
Consume the buffered spool signal.
Observe ErrPipelineEndSignalDeliveryFailed instead of the original edge error.
Additional information
Related to #26250. That change correctly made fatal terminal wakeup non-blocking and observable through PipelineEdge.Done(), but exposed the existing fallback-error precedence problem. The fix should preserve #26250 liveness behavior and only change cleanup error selection.
Activity