Skip to content

Commit

Permalink
add TaskSpec.propagate_preemption field
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed May 31, 2024
1 parent ef85f3f commit 1c1054b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ use patch releases for compatibility fixes instead.

## Unreleased

### Added

- Added `TaskSpec.propagate_preemption` field.

## [v1.27.0](https://github.com/allenai/beaker-py/releases/tag/v1.27.0) - 2024-05-31

### Added
Expand Down
5 changes: 5 additions & 0 deletions beaker/data_model/experiment_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,11 @@ class TaskSpec(BaseModel, frozen=False):
Determines if whole experiment should fail if this task failures.
"""

propagate_preemption: Optional[bool] = None
"""
Determines if all tasks should be preempted if this one task is.
"""

synchronized_start_timeout: Optional[int] = None
"""
If set, jobs in the replicated task will wait to start, up to the specified timeout,
Expand Down

0 comments on commit 1c1054b

Please sign in to comment.