Skip to content

Repeat Tasks - Not functioning as expected #19

Closed
@ashblue

Description

@ashblue

Repeat tasks are not working as expected. This issue only affects repeaters. Current bugs are as follows.

  • Does not run Start() and Exit() when a task ends, causing tasks like Wait to automatically fail on 2nd run
  • Composites do not work with any repeat tasks

This should by fixable by doing the following. Adequate test coverage and testing will be needed to verify this doesn't create any weird bugs in the app.

  • Prove the issue with a test that shows a sequence/composite does not repeat on completion
  • Write a test to verify nested composites on repeat run as expected repeat
  • Prove the issue with a test that shows Start() and Exit() fails to run task repeat
  • Write a test to verify nested tasks inside a composite run as expected on repeat
  • TaskParentBase should run a self Reset() when success or failure returns
  • TaskBase then needs to run a Reset() on Exit

Testing when the fix is ready:

  • Tree visualizer still works as expected
  • Tree visualizer doesn't blow out with nested repeats
  • Add a nested repeat sample to the sample project that verifies the new repeater logic works as expected

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions