Skip to content

refactor(controller-admin-jobs): always serialize retry_strategy#2111

Open
shiyasmohd wants to merge 1 commit intomainfrom
shiyamohd/retry-strategy-default
Open

refactor(controller-admin-jobs): always serialize retry_strategy#2111
shiyasmohd wants to merge 1 commit intomainfrom
shiyamohd/retry-strategy-default

Conversation

@shiyasmohd
Copy link
Copy Markdown
Contributor

Always serialize retry_strategy in job descriptors (defaulting to UnlessStopped) and ensure all variants are tested through the admin API.

  • Make Descriptor::retry_strategy non-optional, defaulting to UnlessStopped
  • Fix incorrect assertion in deploy_without_retry_strategy test
  • Add tests for RetryStrategy::None, UnlessStopped, and ExponentialWithJitter

Always serialize retry_strategy in job descriptors (defaulting to UnlessStopped)
and ensure all variants are tested through the admin API.

- Make `Descriptor::retry_strategy` non-optional, defaulting to `UnlessStopped`
- Fix incorrect assertion in `deploy_without_retry_strategy` test
- Add tests for `RetryStrategy::None`, `UnlessStopped`, and `ExponentialWithJitter`

Signed-off-by: Shiyas Mohammed <shiyasmohd.official@gmail.com>
@shiyasmohd shiyasmohd self-assigned this Apr 8, 2026
@shiyasmohd shiyasmohd requested a review from LNSD April 8, 2026 12:16
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.

1 participant