You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aad2544
Browse filesBrowse the repository at this point in the historyBrowse files
fix(copilot): don't surface custom blocks whose definition was deleted (#5498)
* fix(copilot): keep custom blocks out of the VFS static component cache so a deleted definition doesn't linger
* fix(copilot): drop deleted-definition custom blocks from a workflow's state so the copilot can't see unrenderable blocks
* fix(copilot): don't strip placed custom blocks when the definition load fails (null vs empty set)
* refactor(copilot): drop unreachable static-cache custom-block filter
The VFS static cache is only ever built by materialize(), which runs
outside any custom-block overlay (the overlay is scoped to edit_workflow
/ get_blocks_metadata, neither of which materializes the VFS). So
getAllBlocks() there always returns first-party blocks only and no
custom block can be frozen into the cache. Removed the dead guard.
0 commit comments