Skip to content

Actor doesn't persist the identifier value #46

@harshil1712

Description

@harshil1712

Describe the bug
The Actor doesn't persist the this.identifier value. When setting an alarm for >20s and using the this.identifier value in the callback function of the alarm, this.identifier gets set to default.

To Reproduce
Steps to reproduce the behavior:

  1. Run the example: https://github.com/harshil1712/do-actors-repro
  2. In the logs the message gets displayed

Expected behavior
The value of this.identifier should persist, irrespective of the scheduled time.

Information (please complete the following information):

  • Typescript: 5.8.3
  • Node.js: 22.14.0
  • Wrangler: 4.26.0
  • Actor Version: 0.0.1-beta.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions