[PR #34] [CLOSED] feat: snapshot support #48

Closed
opened 2026-02-16 03:16:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-ts/pull/34
Author: @himself65
Created: 4/13/2025
Status: Closed

Base: mainHead: with-snapshot


📝 Commits (4)

📊 Changes

2 files changed (+78 additions, -0 deletions)

View changed files

📝 packages/core/src/core/event.ts (+5 -0)
packages/core/src/middleware/snapshot.ts (+73 -0)

📄 Description

what is suspense here?

Imaging human in the loop case:

  1. user upload a file
  2. workflow processing
  3. workflow require more infomation from user (suspense)
  4. store the current state into KV cache or DB, (for serverless runtime)

image

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-ts/pull/34 **Author:** [@himself65](https://github.com/himself65) **Created:** 4/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `with-snapshot` --- ### 📝 Commits (4) - [`618400d`](https://github.com/run-llama/workflows-ts/commit/618400d92307b80404a9e0e4dca03ab9ca564164) feat: snapshot support - [`3db3400`](https://github.com/run-llama/workflows-ts/commit/3db34009509e575399e6360f3fede9f2ab609403) feat: init pending queue - [`df618c7`](https://github.com/run-llama/workflows-ts/commit/df618c775bcf216ec68e6c75d973a85723429764) Merge branch 'main' into with-snapshot - [`d686a24`](https://github.com/run-llama/workflows-ts/commit/d686a24d12ce53789b90bad7b7231d7746a951c6) fix: subscribe ### 📊 Changes **2 files changed** (+78 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/core/event.ts` (+5 -0) ➕ `packages/core/src/middleware/snapshot.ts` (+73 -0) </details> ### 📄 Description what is suspense here? Imaging human in the loop case: 1. user upload a file 2. workflow processing 3. workflow require more infomation from user (suspense) 4. store the current state into KV cache or DB, (for serverless runtime) ![image](https://github.com/user-attachments/assets/a24b05da-35eb-49d7-aee7-3a76920592b4) ![image](https://github.com/user-attachments/assets/a154ec01-b1ea-4fb4-b9ba-55b0ed9d30ab) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:16:02 -05:00
yindo closed this issue 2026-02-16 03:16:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-ts#48