Skip to content

[Prism] Disable combiner lifting for TriggerAlways - #36146

Merged
shunping merged 2 commits into
apache:masterfrom
shunping:fix-trigger-always-test
Sep 15, 2025
Merged

[Prism] Disable combiner lifting for TriggerAlways#36146
shunping merged 2 commits into
apache:masterfrom
shunping:fix-trigger-always-test

Conversation

@shunping

@shunping shunping commented Sep 15, 2025

Copy link
Copy Markdown
Collaborator

Same as TriggerElementCount, TriggerAlways does not work well with combiner lifting. Therefore, we disable if there is such a trigger in the window strategy.

With this fix, the TriggerAlways integration test passed.

fixes #36145

@shunping
shunping marked this pull request as ready for review September 15, 2025 03:07
@shunping shunping self-assigned this Sep 15, 2025
@shunping shunping changed the title Fix TriggerAlways integration test. [Prism] Disable combine lifting for TriggerAlways Sep 15, 2025
@shunping shunping changed the title [Prism] Disable combine lifting for TriggerAlways [Prism] Disable combiner lifting for TriggerAlways Sep 15, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @jrmccluskey for label go.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@lostluck lostluck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great find. TriggerAlways can be viewed as Repeated(ElementCount=1) IIRC. I suppose the flakiness of the test is what made me miss it, as it spuriously passed.

@shunping

Copy link
Copy Markdown
Collaborator Author

TriggerAlways can be viewed as Repeated(ElementCount=1)

Brilliant! That's a good explanation of why it also failed.

@shunping
shunping merged commit 0c433e3 into apache:master Sep 15, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Failing Test]: TriggerAlways integration test failed in prism

2 participants