Add RulesAutomationRuleTerminalFailure action item codes (LINK-6287)#139
Merged
giacaglia merged 4 commits intoJun 2, 2026
Merged
Conversation
Add MaestroRuleTerminalFailure and MaestroRuleTerminalFailureAssigned values to the ActionItemCode enum so Rules Automation rule owners can be notified when a rule hits a terminal execution failure (an execution that reaches the FAILURE status with no further retries). Mirrors the With Owner / Without Owner split already used for the data silo reconnect codes. Backend wiring lives in transcend-io/main. - ref https://linear.app/transcend/issue/LINK-6287/add-notification-option-for-terminal-rule-failures
@transcend-io/airgap.js-types
@transcend-io/cli
@transcend-io/internationalization
@transcend-io/privacy-types
@transcend-io/sdk
@transcend-io/type-utils
@transcend-io/utils
@transcend-io/mcp
@transcend-io/mcp-server-admin
@transcend-io/mcp-server-assessment
@transcend-io/mcp-server-base
@transcend-io/mcp-server-consent
@transcend-io/mcp-server-discovery
@transcend-io/mcp-server-dsr
@transcend-io/mcp-server-inventory
@transcend-io/mcp-server-preferences
@transcend-io/mcp-server-workflows
commit: |
Rename the new ActionItemCode members from the internal "Maestro" codename to the product-facing "RulesAutomation" name, matching the naming convention for other published, persisted action item codes.
The transcend.yml JSON schema embeds the ActionItemCode enum, so add the two new RulesAutomation rule terminal failure values to the generated schema and cover @transcend-io/cli in the changeset.
dawson-turechek-transcend
approved these changes
Jun 2, 2026
Member
dawson-turechek-transcend
left a comment
There was a problem hiding this comment.
Looks good!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add two new values to the
ActionItemCodeenum so that Rules Automation rule owners can be notified when a rule hits a terminal execution failure.RulesAutomationRuleTerminalFailure— terminal failure on a rule with no assigned owners (org-level subscribers / fallback emails)RulesAutomationRuleTerminalFailureAssigned— terminal failure on a rule with one or more assigned owners (users or teams)The codes use the product-facing
RulesAutomationname rather than the internalMaestrocodename, matching the convention for other published, persistedActionItemCodevalues. Mirrors the With Owner / Without Owner split already used byDataSiloNeedsReconnect/DataSiloNeedsReconnectAssigned.Why
Rule owners currently have no way to know that a Rules Automation rule has failed silently. The companion transcend-io/main#43398 wires these codes into:
ACTION_ITEM_CONFIG_MAPPING(withsupportsCadence: true, mirroring reconnect)afterUpdatehook onmaestroRuleExecutionswhen an execution transitions into theFAILUREstatusThis PR is the lightweight enum addition that must publish first; once a new
@transcend-io/privacy-typesversion ships, the catalog version intranscend-io/mainwill be bumped and the rest of the feature lands.Test plan
pnpm typecheckinpackages/privacy-typespnpm testinpackages/privacy-typestranscend-io/mainLinks: LINK-6287 - Add notification option for terminal rule failures