Commit ae8d438
authored
Merge pull request #69 from Xento/improvements
New Features
Add an MQTT log replay test harness (including fixtures and expected JSON snapshots) to validate parsing and tray detection deterministically.
Enhance 3MF handling to better support real-world project file variants used by the replay tests (e.g., G-code-in-3MF and multi-color cases).
Add layer tracking for local prints, enabling per-layer / incremental usage tracking in scenarios where only local print data is available.
Extend print history with layer and print progress details, and include the original slicer color for better traceability.
Recognize failed prints in the processing pipeline so history and downstream logic can reflect FAILED outcomes reliably.
##️ Improvements
Flush console output directly to improve log timeliness in containerized/runtime environments.
Improve boolean config handling for more robust environment/config parsing.
Update CI to Python 3.13 and run tests with layer tracking both disabled and enabled (matrix), improving coverage for both modes.
Add a VS Code launch configuration to debug MQTT replay tests more efficiently.
Parse booleans correctly when reading config
Removed output of spoolman responses
Bug Fixes
Fix G-code filament-change detection.
Fix the start behavior of layer tracking when a local print begins.
Fix and adjust tests to keep the new replay suite stable in CI.34 files changed
Lines changed: 10858 additions & 966 deletions
File tree
- .github/workflows
- .vscode
- logs
- scripts
- static/css
- templates/fragments
- tests
- MQTT
- A1/01.07.00.00
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
16 | | - | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
24 | 61 | | |
25 | 62 | | |
26 | | - | |
| 63 | + | |
0 commit comments