Skip to content

Retry activity polls with stable poll_request_id#3

Merged
rmcdaniel merged 1 commit into
mainfrom
copilot/fix-activity-poll-retry
May 15, 2026
Merged

Retry activity polls with stable poll_request_id#3
rmcdaniel merged 1 commit into
mainfrom
copilot/fix-activity-poll-retry

Conversation

@rmcdaniel
Copy link
Copy Markdown
Member

Summary

  • send a generated poll_request_id on activity-task polls just like workflow-task polls
  • retry one timeout with the same poll_request_id so a replay-capable server can redeliver the same leased activity task
  • bump the package version to 0.4.35 for release

Testing

  • python -m pytest tests/test_client.py -k "poll_workflow_task or poll_activity_task"

Works with durable-workflow/server#5.

@rmcdaniel rmcdaniel merged commit 527bc90 into main May 15, 2026
2 checks passed
@rmcdaniel rmcdaniel deleted the copilot/fix-activity-poll-retry branch May 15, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants