Skip to content

Conversation

@GaminRick7
Copy link
Collaborator

Add Job Creation and Status Query API

  • Adds HTTP endpoints for job management:
  • POST /jobs : Create a job with JSON payload, returns job ID
  • GET /jobs/status?id=<job_id>: Query job status by ID
    Implementation:
  • Updated Scheduler.Enqueue() to accept GPU requirements and return job ID
  • Added job status storage in Redis (jobs:status hash)
  • Added GetJobStatus() and UpdateJobStatus() to StatusRegistry
  • Jobs initialized with Scheduled state

Still To-Do:

  • Create containers using Elwin's container manager (might become a new issue once I can add test cases for the API endpoints)

@blobcode blobcode self-requested a review November 6, 2025 16:56
Copy link
Collaborator

@blobcode blobcode left a comment

Choose a reason for hiding this comment

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

lgtm for mvp at least, please just clean up the binary / add to .gitignore

src/mist Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

please remove this

@blobcode
Copy link
Collaborator

@GaminRick7 @elwincheng can you merge in?

@blobcode blobcode self-requested a review November 16, 2025 19:55
@blobcode
Copy link
Collaborator

@ambroseling @KCui0327 @redpinecube please review; need to merge this into main atp.

Copy link
Contributor

@ambroseling ambroseling left a comment

Choose a reason for hiding this comment

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

Changed look good to me

@ambroseling ambroseling merged commit 80bfaa3 into main Nov 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants