Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions packages/swc-plugin-workflow/transform/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1578,13 +1578,6 @@ impl StepTransform {
is_workflow: bool,
) -> String {
match fn_name {
Some(name) if name.starts_with("__builtin") => {
// Special case for __builtin functions: use only the function name.
// These are internal SDK functions that are referenced by name in the
// workflow VM runtime (packages/core/src/workflow.ts), so they need
// stable, version-independent IDs.
name.to_string()
}
Some(name) => {
let prefix = if is_workflow { "workflow" } else { "step" };
naming::format_name(prefix, &self.get_module_path(), name)
Expand Down
Loading