Skip to content

fix(client): handle time skipping server long poll response - #506

Merged
chris-olszewski merged 3 commits into
mainfrom
olszewski/fix_gh_499
Jul 30, 2026
Merged

fix(client): handle time skipping server long poll response#506
chris-olszewski merged 3 commits into
mainfrom
olszewski/fix_gh_499

Conversation

@chris-olszewski

Copy link
Copy Markdown
Member

What was changed

Catch iteration error when fetching workflow results and continue calling.

Why?

Timeskipping server can return both no events and no continuation token during long polls.

Checklist

  1. Closes [Bug] WorkflowHandle#result silently returns nil for a still-running workflow when the history long poll expires #499

  2. How was this tested:
    Added test with mocked empty history.

  3. Any docs updates needed?
    N/A

@chris-olszewski
chris-olszewski marked this pull request as ready for review July 30, 2026 18:02
@chris-olszewski
chris-olszewski requested a review from a team as a code owner July 30, 2026 18:02
@chris-olszewski
chris-olszewski merged commit a8507cb into main Jul 30, 2026
10 checks passed
@chris-olszewski
chris-olszewski deleted the olszewski/fix_gh_499 branch July 30, 2026 18:31
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.

[Bug] WorkflowHandle#result silently returns nil for a still-running workflow when the history long poll expires

2 participants