Skip to content

Commit 0b11d66

Browse files
Apply suggestions from code review
Co-authored-by: Sidhartha Chatterjee <[email protected]>
1 parent 8f5ecba commit 0b11d66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/docs/workflows/build/rules-of-workflows.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,8 @@ export class MyWorkflow extends WorkflowEntrypoint {
227227
228228
### Name steps deterministically
229229
230-
Dynamically naming a step will prevent it from being cached, and cause the step to be re-run unnecessarily. Step names act as the "cache key" in your Workflow.
230+
Steps should be named deterministically (even if dynamic). This ensures that their state is cached, and prevents the step from being rerun unnecessarily. Step names act as the "cache key" in your Workflow.
231231
232-
Note that, step names can be formed dynamically as long they are deterministic across steps and/or Workflow restarts.
233232
234233
```ts
235234
export class MyWorkflow extends WorkflowEntrypoint {

0 commit comments

Comments
 (0)