Skip to content

[Fix #1261] Add scanAll test#1262

Merged
fjtirado merged 1 commit intoserverlessworkflow:mainfrom
fjtirado:Fix_#1261
Mar 23, 2026
Merged

[Fix #1261] Add scanAll test#1262
fjtirado merged 1 commit intoserverlessworkflow:mainfrom
fjtirado:Fix_#1261

Conversation

@fjtirado
Copy link
Collaborator

Fix #1261

Copilot AI review requested due to automatic review settings March 23, 2026 14:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds test coverage for the scanAll method in the persistence test utilities, which was previously untested. The issue was discovered while implementing related functionality in another project.

Changes:

  • Added assertion to verify that scanAll returns 1 instance when a workflow is active after task completion
  • Added assertion to verify that scanAll returns 0 instances after workflow completion (when the instance is removed from persistence)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings March 23, 2026 14:42
Signed-off-by: fjtirado <ftirados@redhat.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fjtirado fjtirado merged commit 52af947 into serverlessworkflow:main Mar 23, 2026
4 of 5 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.

Add scanAll test to persistence test utils

3 participants