mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
36c63af4a8
* feat(core): record replay lineage in run executionContext recreateRunFromExisting now stamps the source run id into the new run's executionContext as `replayedFromRunId`, and `start` accepts a matching option. This lets tooling (e.g. the dashboard runs list) surface a run as a replay and link back to the run it was replayed from — previously a replay started a brand-new run with no link to its origin. Co-authored-by: Cursor <cursoragent@cursor.com> * Apply suggestion from @mitul-s Signed-off-by: Mitul Shah <mitulxshah@gmail.com> * cleanup * Update runs.test.ts * update --------- Signed-off-by: Mitul Shah <mitulxshah@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
272 B
272 B
@workflow/core
| @workflow/core |
|---|
| minor |
Record the source run on replays: recreateRunFromExisting now stamps replayedFromRunId into the new run's executionContext (and start accepts a matching option) so tooling can surface a run as a replay and link back to its origin.