Skip to content

3.31.0

Choose a tag to compare

@rmcdaniel rmcdaniel released this 25 Nov 13:55
· 61 commits to main since this release
ab9e123

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)