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
[Plugin] Preserve handler errors in invocation-end hooks when returning PENDING #772
When a handler raises an error and checkpoint-token withdrawal requires a PENDING response, the invocation-end hook should retain the original error details in InvocationEndInfo.error. Its status should remain PENDING.
The service response must remain exactly {"Status": "PENDING"}. It must contain neither Error nor Result. Ordinary suspension without a handler error should continue to report error=None.
Actual behavior
The revoked-token branches replace handler errors with an error-free pending output in execution.py:449–463.
The plugin wrapper reconstructs its invocation output from that service-response dictionary in plugin.py:845–851. So the invocation-end hook receives PENDING without the handler error.
Activity