cloudflare / cloudflare/workerd

🐛 Bug Report — Runtime APIs - Durable Object Alarm

Open
#3,138 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

If the alarm is not triggered prior to the worker environment existing, the alarm will still exist on the next boot up of the environment. If the alarm has past it's expiration date, it will never trigger.

This is non-intuitive from a development perspective. The current work around I have is to create an end point that grabs the instance of the durable object and then removes the alarm.

This is currently being discussed as it related to tests, but development should also be considered.
https://github.com/cloudflare/workers-sdk/issues/5388

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.