Skip to content

Beyro fix handling of customapis and actions#10

Merged
beyro merged 4 commits into
mainfrom
beyro-fix-handling-of-customapis-and-actions
Jun 23, 2026
Merged

Beyro fix handling of customapis and actions#10
beyro merged 4 commits into
mainfrom
beyro-fix-handling-of-customapis-and-actions

Conversation

@beyro

@beyro beyro commented Jun 23, 2026

Copy link
Copy Markdown
Owner
  • Orphaned plugin step deletion is now opt-in: pass --delete-orphaned to plugin sync / plugin register to remove steps that exist in Dataverse but are no longer in code. By default, orphans are reported as warnings only.
  • Bug fix: Steps backing Custom APIs and Custom Actions are now never removed as orphans.
  • Bug fix: entity images on Create steps (and other non-Update messages) failed to register because the image property name was always 'Target'. It is now derived per message (Create -> Id, SetState -> EntityMoniker, etc.); messages with no valid image property skip the image with a warning.

beyro added 4 commits June 22, 2026 20:43
- Introduced `--delete-orphaned` CLI option for `SyncCommand` and `RegisterCommand`. A shift from auto-deletion of orphaned steps.
- Ensured steps backing Custom APIs and Custom Actions are excluded from orphan deletion.
- Added deletion warnings for orphaned steps when `--delete-orphaned` is not specified.
- Updated `StepRegistrar` to handle orphan detection and secure deletion logic.
…o orphaned step handling and related bug fixes.
… notes, and add unit tests to validate correct image property handling.
@beyro beyro merged commit 6439583 into main Jun 23, 2026
1 check passed
@beyro beyro deleted the beyro-fix-handling-of-customapis-and-actions branch June 23, 2026 06:01
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