-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the REST Endpoint to manage the job queue #29480
Comments
Just a note, and I am sure you are on it, but we will need to be careful with the |
|
@bryanboza, The following endpoint {{baseUrl}}/api/v1/jobs/{{jobId}}/status has been updated to include all additional details as shown on the job-list endpoints. |
So to summarize this fix:
|
Parent Issue
#29474
Task
As a developer, I need to create a REST endpoint to manage the creation, execution, monitoring, and querying of system tasks. This endpoint will serve as the main interface for users to interact with the job system, allowing them to enqueue new jobs, check job status, cancel running jobs, retry failed jobs, and monitor job progress in real-time using Server-Sent Events (SSE).real time
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
Acceptance Criteria
1.1. The endpoint should accept job parameters and optionally a queue name.
1.2. The response should include a unique job identifier.
2.1. The status should include the job state, progress percentage, and the node executing the job.
3.1. The endpoint should update the job status to "canceled."
4.1. The endpoint should reset the job status to "pending" and re-enqueue it.
6.1. The endpoint should stream updates on job status changes, progress, and completion to the client.
Let the following code serve as a high-level example:
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: