Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AERIE-1930] Include awaiting execution state activity tasks in results #367

Merged

Conversation

patkenneally
Copy link
Contributor

  • Tickets addressed: AERIE-1930
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

ComputeResults incorrectly assumes that tasks are either in the Terminated or InProgress state. There is a third state, AwaitingChildren, which is like "Unfinished" in that it doesn't have an end time, but it's like "Finished" in that it has computed attributes. The check for Task state is extended to catch this third state so that all activities are included in simulation results.

Verification

Added a test which simulates a small plan which has been constructed such that there will always be a parent activity awaiting a child. A new activity type, which decomposes using spawn, is added to Banananation for this purpose.

Documentation

No changes or additions needed

Future work

None

@patkenneally patkenneally requested a review from a team as a code owner October 10, 2022 23:51
@patkenneally patkenneally temporarily deployed to e2e-test October 10, 2022 23:51 Inactive
Copy link
Contributor

@pcrosemurgy pcrosemurgy left a comment

Choose a reason for hiding this comment

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

Thanks Pat, looks good!

@patkenneally patkenneally force-pushed the bug/AERIE-1930--include-awaiting-children-in-results branch from faeb159 to 2d6b0e5 Compare October 11, 2022 03:06
@patkenneally patkenneally temporarily deployed to e2e-test October 11, 2022 03:06 Inactive
@patkenneally patkenneally force-pushed the bug/AERIE-1930--include-awaiting-children-in-results branch from 2d6b0e5 to 45f8308 Compare October 11, 2022 03:09
@patkenneally patkenneally temporarily deployed to e2e-test October 11, 2022 03:09 Inactive
@patkenneally patkenneally merged commit 9a6a736 into develop Oct 11, 2022
@patkenneally patkenneally deleted the bug/AERIE-1930--include-awaiting-children-in-results branch October 11, 2022 17:07
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