Skip to content

[Fix #1795] Refactoring test - #1800

Merged
fjtirado merged 1 commit into
open-workflow-specification:mainfrom
fjtirado:issue-1795
Oct 23, 2026
Merged

fjtirado merged 1 commit into
open-workflow-specification:mainfrom
fjtirado:issue-1795

Conversation

@fjtirado

Copy link
Copy Markdown
Collaborator

Fix #1795

@fjtirado
fjtirado requested review from mathecruz and a balanced review from Copilot October 23, 2026 10:03
Signed-off by: Francisco Javier Tirado Sarti <ftirados@ibm.com>

Copilot AI 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.

🟢 Approval recommended

The focused test refactor preserves the tested behavior and introduces no identified blocking issues.

No open issues 🎉

What changed in this PR

This test-only refactor simplifies the priority-selection regression tests associated with issue #1795 without changing production code or existing assertions.

Changes:

  • Replaces the custom ExpressionFactory record with a Mockito-based helper.
  • Removes unused imports and boilerplate implementations while preserving all four priority-selection scenarios.
File Description
impl/​core/​src/​test/​java/​org/​openworkflow/​sdk/​impl/​CompositeExpressionFactoryTest.java Simplifies factory fixtures using Mockito while retaining regression assertions.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 23, 2026 10:04

Copilot AI 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.

🟢 Approval recommended

The narrow test refactor preserves the exercised behavior and assertions, with no unresolved blocking issues.

No open issues 🎉

Review effort: Balanced

@fjtirado
fjtirado merged commit dc8d7f5 into open-workflow-specification:main Oct 23, 2026
4 checks passed
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.

Priority comparator overflow in CompositeExpressionFactory

2 participants