Skip to content

Conversation

@shiyasmohd
Copy link
Contributor

@shiyasmohd shiyasmohd commented Dec 22, 2025

  • Implemented job resume functionality in scheduler & worker for jobs in STOPPED state.
  • Added admin-api endpoint PUT /jobs/{id}/resume to resume a job.
  • Added ampctl job resume command to resume jobs via admin-api
  • Added tests for job resume endpoint in admin-api

Closes #1058

@shiyasmohd shiyasmohd force-pushed the shiyasmohd/job-resume branch from 71141dd to 1e84490 Compare December 22, 2025 03:50
@shiyasmohd shiyasmohd self-assigned this Dec 22, 2025
Copy link
Contributor

@LNSD LNSD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, we should not restart a job that is already in a terminal state, such as STOPPED.

Furthermore, I don't see a point in adding a pause/resume mechanism to the jobs, given that the underlying worker logic doesn't support those actions.

In my opinion, we should put the "pause and resume jobs" feature request on hold until we have a better understanding of what operator use cases this would cover.

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.

Job pause/resume

3 participants