Skip to content

Conversation

@acabarbaye
Copy link
Contributor

Description

Extend the stores so it can be executed differently : i.e. sequentially vs concurrently

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

…ays of functioning (e.g. parallel, sequential, reverse order, etc.)
Comment on lines +28 to +31
option := ExecuteAll
if stopOnFirstError {
option = StopOnFirstError
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Having an option only represent a positive will help us avoid overwriting options which will simplify option interactions if things get complicated, what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the overwriting is because the stores cancel and close have fundamentally different behaviours

}
}

// NewCloseFunctionStoreStore is exactly the same as NewConcurrentCloseFunctionStore but without a typo in the name.
Copy link
Contributor

Choose a reason for hiding this comment

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

what typo ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

StoreStore in the name

aorabdel
aorabdel previously approved these changes Aug 13, 2025
Co-authored-by: Abdelrahman Abdelraouf <abdelrahman.abdelraouf@arm.com>
@acabarbaye acabarbaye merged commit 4eb2998 into master Aug 13, 2025
6 checks passed
@acabarbaye acabarbaye deleted the sequentialstore branch August 13, 2025 10:12
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.

3 participants