Skip to content

fix: remove isReplaying from StepContext#481

Open
zhongkechen wants to merge 1 commit into
mainfrom
logger
Open

fix: remove isReplaying from StepContext#481
zhongkechen wants to merge 1 commit into
mainfrom
logger

Conversation

@zhongkechen

@zhongkechen zhongkechen commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue Link, if available

Related: #383

Description

Remove isReplaying() method from StepContext. It's only useful in DurableContext.

When a user function for step is called, it's always considered a new attempt and the logger will always write logs.

This issue was found when working on #383

Demo/Screenshots

Checklist

  • I have filled out every section of the PR template
  • I have thoroughly tested this change

Testing

Unit Tests

Have unit tests been written for these changes? Yes

Integration Tests

Have integration tests been written for these changes? Yes

Examples

Has a new example been added for the change? (if applicable)

@zhongkechen zhongkechen self-assigned this Jun 19, 2026
@zhongkechen zhongkechen added the BREAKING Something that is going to break existing users label Jun 19, 2026
@zhongkechen zhongkechen marked this pull request as ready for review June 19, 2026 23:01
@zhongkechen zhongkechen requested a review from a team June 19, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BREAKING Something that is going to break existing users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant