Performance·Advanced·Conceptual·1 min read
How should worker errors be surfaced?
Short interview answer
Define protocol-level failures for expected job errors and handle worker error or messageerror events for execution and serialization failures, preserving the request id.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.