Skip to content

fix(ACI): Update tests to use 'any-short' logic type for trigger conditions#108257

Merged
NicoHinderling merged 1 commit intomasterfrom
fix/workflow-trigger-logic-type-tests
Feb 13, 2026
Merged

fix(ACI): Update tests to use 'any-short' logic type for trigger conditions#108257
NicoHinderling merged 1 commit intomasterfrom
fix/workflow-trigger-logic-type-tests

Conversation

@NicoHinderling
Copy link
Contributor

Three tests were missed in fe7b9ff (#107548) which added validation requiring
trigger conditions to use any-short logic type. The _validate_logic_type
check in BaseDataConditionGroupValidator.create() fires for all DCGs
(triggers and action filters) when conditions contain trigger condition types
like first_seen_event.

Failing tests:

  • test_create_trigger_condition_from_different_organization — trigger with logicType: "any"
  • test_create_action_filter_condition_from_different_organization — action filter with logicType: "any" and first_seen_event condition
  • test_update_action_filter_condition_from_different_organization — same as above in update path

Fix: change logicType from "any" to "any-short" in all three test payloads.

…itions

Tests missed in fe7b9ff that added validation requiring trigger
conditions to use 'any-short' logic type. The validation in
BaseDataConditionGroupValidator.create() also applies to action filter
DCGs containing trigger condition types like first_seen_event.

Co-Authored-By: Claude <noreply@anthropic.com>
@NicoHinderling NicoHinderling marked this pull request as ready for review February 13, 2026 20:12
@NicoHinderling NicoHinderling requested a review from a team as a code owner February 13, 2026 20:12
Copy link
Member

@ceorourke ceorourke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should do it, sorry idk how that happened. Thanks for the quick fix

@NicoHinderling NicoHinderling enabled auto-merge (squash) February 13, 2026 20:14
@NicoHinderling NicoHinderling merged commit 2644209 into master Feb 13, 2026
72 checks passed
@NicoHinderling NicoHinderling deleted the fix/workflow-trigger-logic-type-tests branch February 13, 2026 20:35
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.

2 participants