Skip to content

Fixing retries in "First Program in Python"#469

Merged
WadeWaldron merged 1 commit into
mainfrom
first-program-in-python-fix
May 28, 2026
Merged

Fixing retries in "First Program in Python"#469
WadeWaldron merged 1 commit into
mainfrom
first-program-in-python-fix

Conversation

@WadeWaldron
Copy link
Copy Markdown
Contributor

What was changed

The retry policy being specified in the source code ran counter to the intention of the tutorial. It resulted in problems when users were trying to follow the instructions. I removed the max retries to force it to retry forever instead. This allows the tutorial to proceed as expected. However this required updating the instructions which had conflicting information about the actual retry policy.

Why?

While running through this tutorial I discovered that the way retries were set up ran counter to what the instructions seemed to be indicating and resulted in an application that failed rather then demonstrating the power of Temporal. Meanwhile, the instructions had conflicts claiming both that there was a maximum of 3 retries but also a maximum of 500. I've fixed these errors while adjusting the retry policy.

Checklist

  1. How was this tested:

I've run the application locally and updating the instructions to match.

@WadeWaldron WadeWaldron requested a review from a team as a code owner May 27, 2026 19:56
@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-learning Ready Ready Preview, Comment May 28, 2026 1:47pm

Request Review

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 27, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@angelazhou32 angelazhou32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…e intention of the tutorial. It resulted in problems when users were trying to follow the instructions. I removed the max retries to force it to retry forever instead. This allows the tutorial to proceed as expected. However this required updating the instructions which had conflicting information about the actual retry policy.
@WadeWaldron WadeWaldron force-pushed the first-program-in-python-fix branch from 8239003 to 1af7d9d Compare May 28, 2026 13:46
@WadeWaldron WadeWaldron merged commit 2b0c566 into main May 28, 2026
5 checks passed
@WadeWaldron WadeWaldron deleted the first-program-in-python-fix branch May 28, 2026 13:49
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.

3 participants