Skip to content

Add local workflow draft cache and restore flow#6923

Merged
c121914yu merged 20 commits into
labring:mainfrom
FinleyGe:feat/local-workflow-cache
May 28, 2026
Merged

Add local workflow draft cache and restore flow#6923
c121914yu merged 20 commits into
labring:mainfrom
FinleyGe:feat/local-workflow-cache

Conversation

@FinleyGe
Copy link
Copy Markdown
Collaborator

Summary

  • Add a local workflow draft cache with restore/cleanup helpers for login and workflow persistence flows
  • Restore cached workflow drafts during fast login and standard login entry points
  • Update request handling and workflow i18n copy to support the new persistence behavior
  • Add unit coverage for local draft logic, restore hook behavior, and request handling

Testing

  • Added/updated unit tests for localDraft, useWorkflowLocalDraftRestore, and request logic
  • Not run (not requested)

@FinleyGe FinleyGe requested a review from c121914yu May 12, 2026 09:40
@FinleyGe FinleyGe marked this pull request as ready for review May 12, 2026 09:41
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 13.96% 1140 / 8161
🔵 Statements 13.95% 1195 / 8564
🔵 Functions 12.47% 245 / 1964
🔵 Branches 11.93% 536 / 4490
File CoverageNo changed files found.
Generated in workflow #480 for commit 031d1ec by the Vitest Coverage Report Action

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_72dcb43627ca2ebc629b2cd9087f26ef764c21d1

🕒 Time: 2026-05-28 10:21:34 (UTC+8)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Build Successful - Preview fastgpt Image for this PR:

ghcr.io/labring/fastgpt-pr:fastgpt_aaef390c1ca55c20ed9d51019d2002c96949b793

🕒 Time: 2026-05-28 11:52:04 (UTC+8)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Build Successful - Preview code-sandbox Image for this PR:

ghcr.io/labring/fastgpt-pr:code-sandbox_8fd231c296e6257a161a2eb832f6ab44fa6a77ea

🕒 Time: 2026-05-25 10:45:30 (UTC+8)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

Build Successful - Preview mcp_server Image for this PR:

ghcr.io/labring/fastgpt-pr:mcp_server_8fd231c296e6257a161a2eb832f6ab44fa6a77ea

🕒 Time: 2026-05-25 10:45:57 (UTC+8)

@c121914yu
Copy link
Copy Markdown
Collaborator

逻辑跟设计稿不一样
image

@FinleyGe FinleyGe force-pushed the feat/local-workflow-cache branch from 3628719 to 8fd231c Compare May 25, 2026 02:34
@c121914yu c121914yu force-pushed the feat/local-workflow-cache branch from 8fd231c to d039013 Compare May 27, 2026 06:50
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

Docs Preview Deployed!

🔗 👀 Click here to visit preview

ghcr.io/labring/fastgpt-docs-pr:031d1ec85e817acaed5a7edcc4e9f131e05c5f21

🕒 Time: 2026-05-28 12:04:43 (UTC+8)

@c121914yu c121914yu force-pushed the feat/local-workflow-cache branch from 937afb0 to 2d71d7c Compare May 27, 2026 10:48
@c121914yu c121914yu changed the base branch from main to eval-dev May 27, 2026 12:15
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented May 27, 2026

CLA assistant check
All committers have signed the CLA.

@c121914yu c121914yu changed the base branch from eval-dev to main May 27, 2026 12:23
c121914yu
c121914yu previously approved these changes May 28, 2026
@c121914yu c121914yu merged commit 4af1ef7 into labring:main May 28, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants