mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-20 05:23:44 +00:00
expose minimized_stack_depth functionality in the CLI/API (#715)
This commit is contained in:
@ -79,6 +79,7 @@ class TaskFeature(Enum):
|
||||
check_fuzzer_help = "check_fuzzer_help"
|
||||
expect_crash_on_failure = "expect_crash_on_failure"
|
||||
report_list = "report_list"
|
||||
minimized_stack_depth = "minimized_stack_depth"
|
||||
|
||||
|
||||
# Permissions for an Azure Blob Storage Container.
|
||||
|
@ -171,6 +171,7 @@ class TaskDetails(BaseModel):
|
||||
ensemble_sync_delay: Optional[int]
|
||||
preserve_existing_outputs: Optional[bool]
|
||||
report_list: Optional[List[str]]
|
||||
minimized_stack_depth: Optional[int]
|
||||
|
||||
@validator("check_retry_count", allow_reuse=True)
|
||||
def validate_check_retry_count(cls, value: int) -> int:
|
||||
@ -399,6 +400,7 @@ class TaskUnitConfig(BaseModel):
|
||||
stats_format: Optional[StatsFormat]
|
||||
ensemble_sync_delay: Optional[int]
|
||||
report_list: Optional[List[str]]
|
||||
minimized_stack_depth: Optional[int]
|
||||
|
||||
# from here forwards are Container definitions. These need to be inline
|
||||
# with TaskDefinitions and ContainerTypes
|
||||
|
Reference in New Issue
Block a user