Skip to content

Feature request: Allow testing migration logic #137

Description

@matyascimbulka

Allow for testing migration logic of our Actors

Currently there is no way for the testing library to (gracefully) abort a run, evaluate its aborted state. And then resurrect the run and evaluate the final state of the Actor. This feature would allow us to test that migration logic within the Actor is set up correctly and all of the internal state survives migration.

Example

In e-commerce scraping tool we have several counters that keep track of returned results. If one of these counters isn't properly saved into KV store a migration will cause the counter to reset and for the Actor to return more results than requested.

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

    enhancementNew feature or request.libTesting lib wrapping vitestv1: nice to haveThis feature is a nice to have for the v1 release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions