edulinq / autograder-server

A server to automatically grading coding assignments.
MIT License
4 stars 5 forks source link

Add Course without Server Restart #55

Open eriq-augustine opened 9 months ago

eriq-augustine commented 9 months ago

Most operations on a course can now be done live. However, when a course is added and a server is already running the course's tasks are not started. The existing server can fetch the course from the database, but does not know it exists ahead of time.

We would either need some sort of polling on the server for changes, or some IPC to prod the server. Maybe we can just have a simple IPC socket that prods the server to look for new courses.

This thread is currently only about the tasks, but the title will be kept general in-case there are other things that need to be done.