source/projects/tentacles
2024-04-07 01:30:45 -06:00
..
src Get the tests passing again 2024-04-07 01:30:45 -06:00
test setuptools, not Maven 2024-02-06 11:17:32 -07:00
BUILD.bazel fix 2024-02-06 11:18:33 -07:00
Dockerfile Use sid 2023-06-03 01:34:28 -06:00
mkdocker.sh Working on dockerization 2023-06-03 01:24:13 -06:00
README.md Start setting up for filament; sizes as scheduling constraints 2023-07-06 23:55:03 -06:00

Tentacles

A simple queue system for OctoPrint, designed to receive jobs and forward them to connected OctoPrint instances as they are available and ready.

Workflow

Username+Password users

API keys mapped to users (same thing as sessions actually)

Users mapped to job priority

API keys mapped to user sub-priority

User-facing API can upload gcode files to storage and create a file entry in the DB

Jobs can be created from new or existing file entries in the DB

Jobs are mapped to the priority of the API key (and user) who created them

Jobs get Runs - which track assigning a pending Job to a Printer

Highest priority job schedules first/next non-Running Job to the first available printer. This requires copying the gcode file to the target device, and starting it running.

Running Runs are polled to detect loss/failure. Lost or failed Runs are deleted, and the Job returns to the queue. A priority penalty may be called for.

Notes