[backport cloud/1.38] feat(persistence): add workspace-scoped storage keys and types#8982
Closed
comfy-pr-bot wants to merge 1 commit intocloud/1.38from
Closed
[backport cloud/1.38] feat(persistence): add workspace-scoped storage keys and types#8982comfy-pr-bot wants to merge 1 commit intocloud/1.38from
comfy-pr-bot wants to merge 1 commit intocloud/1.38from
Conversation
## Summary Adds the foundational types and key generation utilities for workspace-scoped workflow draft persistence. This enables storing drafts per-workspace to prevent data leakage between different ComfyUI instances. [Screencast from 2026-02-08 18-17-45.webm](https://github.com/user-attachments/assets/f16226e9-c1db-469d-a0b7-aa6af725db53) ## Changes - **What**: Type definitions for draft storage (`DraftIndexV2`, `DraftPayloadV2`, session pointers) and key generation utilities with workspace/client scoping - **Why**: The current persistence system stores all drafts globally, causing cross-workspace data leakage when users work with multiple ComfyUI instances --------- Co-authored-by: Amp <amp@ampcode.com>
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 02/19/2026, 03:33:16 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Tests: 🕵🏻 No test results📊 Browser Reports
|
Contributor
|
I don't think we need to backport this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #8517 to
cloud/1.38Automatically created by backport workflow.
┆Issue is synchronized with this Notion page by Unito