Skip to content

[Workflows] Update changelog for cron workflows#31198

Open
mia303 wants to merge 4 commits into
productionfrom
workflows/update-changelog-cron-workflows
Open

[Workflows] Update changelog for cron workflows#31198
mia303 wants to merge 4 commits into
productionfrom
workflows/update-changelog-cron-workflows

Conversation

@mia303
Copy link
Copy Markdown
Contributor

@mia303 mia303 commented Jun 3, 2026

No description provided.

@mia303 mia303 requested review from a team as code owners June 3, 2026 01:07
@cloudflare-docs-bot
Copy link
Copy Markdown

cloudflare-docs-bot Bot commented Jun 3, 2026

Review

⏸️ Automatic reviews for this PR are paused.

This PR has already received 2 automatic reviews. To run another review, a codeowner can comment /review or /full-review.

Tip: Keep PRs in draft mode until they are ready for review — the bot skips draft PRs automatically.


✅ No style-guide issues found in commit f5038f0.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/product-owners

@ask-bonk ask-bonk Bot added the product:workflows Workflows: https://developers.cloudflare.com/workflows/ label Jun 3, 2026
Copy link
Copy Markdown
Contributor

@ask-bonk ask-bonk Bot left a comment

Choose a reason for hiding this comment

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

3 issues need attention before merge.

  • MEDIUM src/content/changelog/workflows/2026-06-02-cron-workflows.mdx:29: The new code block is labeled jsonc but contains TypeScript code. Suggested fix posted inline.
  • MEDIUM src/content/changelog/workflows/2026-06-02-cron-workflows.mdx:34: WorkflowEvent<Params> references an undefined Params type. Suggested fix posted inline.
  • LOW src/content/changelog/workflows/2026-06-02-cron-workflows.mdx:27: Spelling. Suggested fix posted inline.
  • LOW PR description is empty. Add a brief description of the changes.

Note: Per the changelog style guide, Workers JS/TS code examples should use the <TypeScriptExample> component (requires adding import { TypeScriptExample } from "~/components"; after the frontmatter). If you prefer to keep the bare ts fence, ensure the language is ts (not jsonc) and the Params type is defined or removed.

}
```

This also allows you to run your cron triggered workloads durably, benefitting from the built-in retries, multi-step durable execution, and configurable timeouts of Workflows.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fix spelling:

Suggested change
This also allows you to run your cron triggered workloads durably, benefitting from the built-in retries, multi-step durable execution, and configurable timeouts of Workflows.
This also allows you to run your cron triggered workloads durably, benefiting from the built-in retries, multi-step durable execution, and configurable timeouts of Workflows.

Comment thread src/content/changelog/workflows/2026-06-02-cron-workflows.mdx Outdated
Comment thread src/content/changelog/workflows/2026-06-02-cron-workflows.mdx Outdated
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented Jun 3, 2026

Reviewed PR #31198 and posted a review with inline suggestions.

What the PR changes:
Adds a paragraph and TypeScript code example to the Workflows changelog entry (2026-06-02-cron-workflows.mdx) showing how cron-triggered Workflows benefit from built-in retries, multi-step durable execution, and configurable timeouts.

Issues flagged:

  • MEDIUM — Wrong code block language: the new example uses ```jsonc but contains TypeScript (import, class, async/await). Suggested changing to ts (or preferably <TypeScriptExample> per the changelog style guide).
  • MEDIUM — Undefined type: WorkflowEvent<Params> references Params which is never defined or imported in the example. Suggested removing the generic.
  • LOW — Spelling: "benefitting" should be "benefiting" (American English).
  • LOW — PR description is empty. Added a request to add a brief description.

Actions taken:

  • Added the product:workflows label
  • Posted 3 inline suggestions on the diff
  • Left a summary review comment with a note about using TypeScriptExample (which would require adding import { TypeScriptExample } from "~/components"; after the frontmatter)

github run

}
```

This makes it easier to build recurring jobs such as database backups, invoice generation, report aggregation, and cleanup tasks without wiring up a separate Cron Trigger entrypoint.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"recurring, scheduled jobs" - so users understand connection to the scheduled() handler

Comment thread src/content/changelog/workflows/2026-06-02-cron-workflows.mdx Outdated
mia303 and others added 2 commits June 3, 2026 17:09
Co-authored-by: ask-bonk[bot] <249159057+ask-bonk[bot]@users.noreply.github.com>
Co-authored-by: Vy Ton <vy@cloudflare.com>
@mia303 mia303 requested a review from vy-ton June 3, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:changelog product:workflows Workflows: https://developers.cloudflare.com/workflows/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants