Skip to content

Fix duplicated "unexpected shutdowns" paragraph in Rules of Durable Objects#31345

Open
krupa-dot wants to merge 1 commit into
cloudflare:productionfrom
krupa-dot:fix/rules-of-do-duplicate-shutdown-paragraph
Open

Fix duplicated "unexpected shutdowns" paragraph in Rules of Durable Objects#31345
krupa-dot wants to merge 1 commit into
cloudflare:productionfrom
krupa-dot:fix/rules-of-do-duplicate-shutdown-paragraph

Conversation

@krupa-dot

Copy link
Copy Markdown

Bug: On the Rules of Durable Objects page, the paragraph under "Design for unexpected shutdowns" rendered twice — an inline hardcoded copy plus the working-without-shutdown-hooks partial, which begins with the same sentence.

Fix: Removed the inline hardcoded paragraph so the partial is the single source of truth. Preserved the slightly stronger "at any time" wording by adding it to the partial's first paragraph.

Blast radius: This partial is also rendered by durable-objects/concepts/durable-object-lifecycle.mdx (under its "Working without shutdown hooks" heading). The "at any time" wording now appears there too and reads correctly in context; that page has no inline copy, so no new duplication is introduced.

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review

❌ Review failed for commit f8eb260. This is usually a transient error — it will retry on the next push.

…bjects

The paragraph under "Design for unexpected shutdowns" rendered twice: an inline hardcoded copy plus the working-without-shutdown-hooks partial, which begins with the same sentence.

Remove the inline paragraph so the partial is the single source of truth, and preserve the "at any time" wording by adding it to the partial.
@krupa-dot krupa-dot force-pushed the fix/rules-of-do-duplicate-shutdown-paragraph branch from 8ca87d1 to f8eb260 Compare June 9, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.