Skip to content

Make the Brush node store its cache as internal #[data] state instead of a serialized node input#4126

Merged
Keavon merged 2 commits intomasterfrom
brush-cache-data
May 7, 2026
Merged

Make the Brush node store its cache as internal #[data] state instead of a serialized node input#4126
Keavon merged 2 commits intomasterfrom
brush-cache-data

Conversation

@Keavon
Copy link
Copy Markdown
Member

@Keavon Keavon commented May 7, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request transitions the BrushCache from a serializable node input to internal node state using the #[data] attribute. It removes BrushCache from the TaggedValue enum and introduces a JSON scrubbing mechanism during document deserialization to replace removed variants with "None", ensuring backward compatibility. Additionally, node migration logic is updated to handle the removal of the cache input from brush nodes. I have no feedback to provide.

@Keavon Keavon force-pushed the brush-cache-data branch from e387095 to 6c78819 Compare May 7, 2026 22:23
@Keavon Keavon merged commit 0834bff into master May 7, 2026
10 checks passed
@Keavon Keavon deleted the brush-cache-data branch May 7, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant