Skip to content

fix(worker): keep the alarm when an object is exported again - #4

Merged
eersnington merged 1 commit into
mainfrom
fix/keep-alarm-on-reexport
Oct 29, 2026
Merged

eersnington merged 1 commit into
mainfrom
fix/keep-alarm-on-reexport

Conversation

@eersnington

Copy link
Copy Markdown
Member
  • Fixes a regression from fix(worker): stop alarms on migrated durable objects #2: an object exported a second time reported no alarm, because the first export had already removed the Cloudflare alarm. The export now falls back to the alarm time saved when the object was marked migrated.
  • This happens whenever the destination fails after the last page and migrate runs again.
  • Adds a test that exports the same object twice and checks the alarm is in both copies.
  • Adds a smoke check that a migrated object exported again on real Cloudflare still reports its alarm.

@eersnington
eersnington merged commit f7db619 into main Oct 29, 2026
1 check passed
@eersnington
eersnington deleted the fix/keep-alarm-on-reexport branch October 29, 2026 00:49
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