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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
ActivityContext::lastHeartbeatCheckpoint() returns the last acknowledged
heartbeat checkpoint that a retry attempt receives from earlier attempts of
the same activity execution, with lastHeartbeatDetails(), lastHeartbeatAt() and heartbeatResumeVersion(). Workers register the activity_heartbeat_resume capability. A Server or claim without the
version 1 contract, local activities and Server-free tests throw ActivityHeartbeatResumeUnavailable instead of reporting an empty
checkpoint. Heartbeats sent by the running attempt never change the received
snapshot. (.github #218)
Workers with cooperative cancellation enabled advertise the timeout_cleanup
capability, version 1. A native Server can then admit starts that reserve
time for deadline-triggered timeout cleanup on their queue. When workflow
code lets the delivered WorkflowTimeoutCleanupRequested escape, the fail_workflow command carries failure.interruption: "timeout_cleanup",
and the Server records the cleanup as completed. Other failures still record
failed cleanup. Workers without cooperative cancellation are unchanged.
(Server #1201)