-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Is your feature request related to a problem? Please describe.
As of 0.29.x, when a task cannot find a specified profile, it chooses a default profile instead of returning an error. This can result in undesired planning behavior that can be hard to track down.
Describe the solution you'd like
- Remove the
getProfilehelper function that returns a provided default profile if the desired profile is not available - Add a helper function that adds a default profiles for each task to a profile dictionary. Then the user can choose whether or not to populate their profile dictionary with default profiles or if they want to be responsible for adding them all themselves
- One approach (implemented here) is to write a where we manually a default profile for all known tasks. The limitation here is that this would only add default profiles for tasks that exist in Tesseract, and not user provided tasks.
- Probably a better approach (discussed here) is to add a function to the task composer task base class that generates a default profile for that task. Then our helper function could loop over all known task composer plugins and invoke the task method for generating the default profile. Then we would be able to add default profiles for all findable (and therefore usable) tasks.
Describe alternatives you've considered
N/A
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels