Repository navigation
Conversation
Mechanical fixes from a review of docs/design-patterns: - Rewrite meta descriptions and index cards that overclaimed (exactly-once, automatic scaling, maximum throughput) or promised content the page doesn't have. - Drop "proven" and "battle-tested" from the section landing page. - Rename the Long-Running Activity page title and use one name for it. - Retitle three pitfalls whose labels said the opposite of their body. - Remove sentences that contradicted another part of the same page (child failure propagation, per-Worker rate cap, Queries during a start delay, automatic cancellation in Pick First, fixed iteration counts for Continue-As-New). - Tag Resumable Activity with Errors to match its retry siblings.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Two documentation passages still misleadingly imply that Signal or Query handlers can run during the start delay.
1 open issue
What changed in this PR
Corrects contradictions and overclaims in the design-patterns documentation without changing code samples.
Changes:
- Aligns descriptions and index cards with page content.
- Corrects guidance on delayed execution, rate limiting, Signals, and Continue-As-New.
- Standardizes Long-Running Activity naming and retry-related tags.
| File | Description |
|---|---|
| docs/design-patterns/sliding-window.mdx | Clarifies Go Signal draining. |
| docs/design-patterns/resumable-activity.mdx | Uses the Errors tag. |
| docs/design-patterns/qos-throughput-patterns.mdx | Corrects rate-limit scope. |
| docs/design-patterns/pick-first.mdx | Removes automatic-cancellation claims. |
| docs/design-patterns/parallel-execution.mdx | Narrows the description. |
| docs/design-patterns/long-running-activity.mdx | Standardizes naming and description. |
| docs/design-patterns/local-activities.mdx | Updates the linked pattern name. |
| docs/design-patterns/index.mdx | Revises introduction and cards. |
| docs/design-patterns/fanout-child-workflows.mdx | Removes automatic-scaling claim. |
| docs/design-patterns/fairness.mdx | Clarifies description and unkeyed Tasks. |
| docs/design-patterns/external-interaction-patterns.mdx | Updates description and pattern names. |
| docs/design-patterns/event-accumulator.mdx | Corrects Updatable Timer comparison. |
| docs/design-patterns/entity-workflow.mdx | Aligns diagram with SDK suggestions. |
| docs/design-patterns/downstream-rate-limiting.mdx | Removes per-worker cap qualification. |
| docs/design-patterns/distributed-transaction-patterns.mdx | Removes decision-tree promise. |
| docs/design-patterns/delayed-start.mdx | Distinguishes visibility from Queries. |
| docs/design-patterns/continue-as-new.mdx | Removes fixed iteration guidance. |
| docs/design-patterns/child-workflows.mdx | Removes blanket failure-isolation claim. |
| docs/design-patterns/batch-iterator.mdx | Corrects description and final-page pitfall. |
Review effort: Balanced
|
|
||
| 1. The client starts the Workflow with a 30-second delay. Temporal creates the execution immediately. | ||
| 2. The execution is visible and queryable, but no Workflow code runs during the delay. | ||
| 2. The execution is visible to List and Describe calls, but no Workflow code runs during the delay. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Mechanical fixes from a full review of
docs/design-patterns. These are the unambiguous items; code-sample bugs, claims that contradict canonical pages, and structural changes are coming separately.continueAsNewon the last page), Sliding Window (now describes draining the Go Signal Channel before Continue-As-New, per/handling-messages).Errors, matching its retry siblings.Testing
vale --config .vale-ci.inion the changed files: no findings.yarn build: passes.yarn check:orphans: no orphans.