Skip to content

Version Packages#194

Open
emily-shen wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages#194
emily-shen wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@emily-shen
Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cloudflare/containers@0.3.4

Patch Changes

  • cf41295: Fix subclass sleepAfter overrides being ignored during the initial activity timeout setup. Previously, the base Container constructor called renewActivityTimeout() inside blockConcurrencyWhile() before subclass class-field initializers ran, so the first sleepAfterMs was always computed from the base default ('10m') regardless of whether the subclass declared sleepAfter = '2h'. A container could then be killed by the activity timeout before the subclass's longer window took effect on the next renewActivityTimeout call. Declarations like:

    class BigContainer extends Container {
      sleepAfter = '2h';
    }

    are now honored from the very first alarm check.

@emily-shen emily-shen requested a review from a team as a code owner April 28, 2026 14:19
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 28, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/containers/@cloudflare/containers@194

commit: 983cf33

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