feat: machines share the work by metres open, with an optional limit, their load on show and operators set from the machine
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m31s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Successful in 59s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-20 10:28:13 -03:00
parent df30046027
commit 53c6234feb
10 changed files with 380 additions and 81 deletions

View File

@@ -328,6 +328,15 @@ details and the Tiny log there (`integrations` capability, app/core/auth.py).
Admins and gestão see each integration's state and summary; anyone who
produces also gets the folder's row with its buttons.
Machines (2026-10-20, app/machines.py): each order keeps one machine, either
chosen in the order panel or given on arrival: the active machine of its
product with the fewest metres open (rec, tra, fil, imp, cor), preferring
those below their optional limit in metres, else the least loaded anyway (the
Usuários page shows it over the limit). A machine switched off, deleted or no
longer printing the product hands its automatic orders, not yet printing, to
that choice again. Only operators are linked to machines (from the user or
the machine form); a linked operator sees only those machines' orders.
### Active localhost milestone (2026-09-15)
The current implementation target is localhost before any production connection.