Skip to content

Add Durable Object hibernation timeout to @cloudflare/config #15931

Description

@petebacondarwin

Problem

Durable Objects can configure a hibernation timeout in Worker tooling, but the typed Cloudflare project configuration does not expose the equivalent option.

Expected behavior

Add a type-safe hibernation-timeout setting to the appropriate Durable Object configuration shape and preserve it through validation and conversion.

The authored shape does not need to copy another configuration format, but the resulting behavior must be equivalent.

Acceptance criteria

  • The option is available through the curated public configuration types.
  • Validation rejects invalid units, ranges, or placement with actionable messages.
  • Conversion produces the expected deployment configuration.
  • Omitting the option preserves the current default behavior.
  • Schema, conversion, and public-type tests cover the new field.
  • Documentation explains the accepted value and runtime effect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    product:deploy-configproduct:durable-objectsRelating to Cloudflare Durable Objects: https://developers.cloudflare.com/durable-objects/

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions