mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
New SJF toggle badge on the queue page. When enabled, the scheduler picks shorter print jobs before longer ones instead of FIFO. A starvation guard flags jobs that get skipped once, moving them to the front on the next cycle so long jobs can't be postponed indefinitely. - Add print_time_seconds and been_jumped columns to PrintQueueItem - Cache print duration from 3MF metadata at queue item creation - SJF query: printer_id, target_model, been_jumped DESC, print_time_seconds ASC, position - Mark jumped items in-memory after each print start - Toggle badge on queue page header with live state indicator - Frontend auto-sorts to match scheduler order when SJF enabled - Settings schema, boolean parsing, and migration (SQLite + PostgreSQL) - i18n badge keys for all 7 locales - 10 integration tests for SJF ordering and starvation logic - Wiki, website, README, and changelog updated