Skip to content

Clarify that Schedules contribute to Active and Retained Storage - #5303

Open
Duncanma wants to merge 2 commits into
mainfrom
docs/schedules-storage-cost
Open

Clarify that Schedules contribute to Active and Retained Storage#5303
Duncanma wants to merge 2 commits into
mainfrom
docs/schedules-storage-cost

Conversation

@Duncanma

Copy link
Copy Markdown
Contributor

Summary

A customer investigation traced an unexpectedly high Active Storage bill (with ~$0 Retained Storage) to tens of thousands of running Schedules, each keeping its own backing system Workflow open. Support clarified in a Slack thread that our docs should state this more clearly:

  • Running Schedules contribute to Active Storage, since each keeps its own backing Workflow Execution open for as long as the Schedule exists.
  • Deleting an unneeded Schedule reduces that Active Storage footprint.
  • Schedules also contribute to Retained Storage, not just Active — so cleanup shifts the cost rather than eliminating it.

This PR adds that clarification to the three canonical pages that cover Schedules and Cloud storage costs, cross-linked:

  • docs/encyclopedia/workflow/schedule.mdx — expands the Limitations section with the storage-cost mechanism.
  • docs/evaluate/temporal-cloud/pricing.mdx — revises the existing Schedules storage tip to distinguish Active vs. Retained impact.
  • docs/best-practices/cost-optimization.mdx — adds a new Schedules subsection under Active Storage optimization with concrete cleanup guidance.

Out of scope: Schedules v2's expected storage-usage reduction, since no percentage or release date has been confirmed yet.

Test plan

  • yarn build succeeds
  • vale --config .vale-ci.ini docs/encyclopedia/workflow/schedule.mdx docs/evaluate/temporal-cloud/pricing.mdx docs/best-practices/cost-optimization.mdx — 0 errors/warnings
  • yarn check-links — no new broken anchors introduced by this change

Running Schedules keep their own backing Workflow Execution open,
which counts toward Active Storage for as long as the Schedule
exists. Deleting an unneeded Schedule reduces that footprint, but
its closed history still counts toward Retained Storage for the
Namespace's retention period, so cleanup shifts the cost rather
than removing it. Add this to the Schedules concept page, the
Cloud pricing page, and the cost-optimization best practices guide.
@Duncanma
Duncanma requested review from a team and tlotemporal as code owners September 10, 2026 22:12
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Sep 10, 2026 10:15pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 771e27fc44

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +220 to +221
Each [Schedule](/schedule) keeps its own backing Workflow Execution open for as long as the Schedule exists, so running Schedules contribute to Active Storage.
Audit Schedules periodically and delete the ones you no longer need — for example with `temporal schedule delete` (see [Delete](/cli/command-reference/schedule#delete)) or your SDK's delete-Schedule API.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Lead the Schedules subsection with the cleanup action

This procedural cost-optimization subsection presents the implementation detail before telling readers what to do. Start with the instruction to audit and delete unneeded Schedules, then explain the backing Workflow and storage consequences, so readers encounter the action before its rationale.

AGENTS.md reference: AGENTS.md:L266-L268

Useful? React with 👍 / 👎.

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.

1 participant