Skip to content

fix callback block rename from UI - #6156

Open
BobbyWang0120 wants to merge 1 commit into
mage-ai:masterfrom
BobbyWang0120:fix/6110-rename-callback-blocks-ui
Open

fix callback block rename from UI#6156
BobbyWang0120 wants to merge 1 commit into
mage-ai:masterfrom
BobbyWang0120:fix/6110-rename-callback-blocks-ui

Conversation

@BobbyWang0120

@BobbyWang0120 BobbyWang0120 commented Jun 30, 2026

Copy link
Copy Markdown

Summary

  • Fix callback block rename from the pipeline editor UI.
  • Use the editor's full block state when saving from the configure-block modal so callback blocks are included in the save payload.

Fixes #6110

Root cause

Callback blocks are stored separately from regular pipeline blocks. The rename modal was saving with only pipeline.blocks, so callback blocks were missing from the data that savePipelineContent uses to build the callbacks payload.

Validation

  • Verified manually in the browser that renaming a callback block from the UI now works.
  • Ran git diff --check.
  • Focused frontend lint was not run locally because mage_ai/frontend/node_modules is not installed in this checkout, so next is unavailable.

Demo

mage-6110-callback-rename-demo.mp4

- replace pipeline?.blocks fallback with blocks state in save payload

- add blocks to configure block modal dependency array
@BobbyWang0120 BobbyWang0120 changed the title Fix callback block rename from UI fix callback block rename from UI Jun 30, 2026
@BobbyWang0120
BobbyWang0120 marked this pull request as ready for review June 30, 2026 18:15
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.

[BUG] Unable to rename callback blocks from UI

1 participant