Repository navigation
Preserve label printing failures and skip failed job redelivery - #12872
Merged
SchrodingersGat merged 2 commits intoSep 22, 2026
Merged
SchrodingersGat merged 2 commits into
SchrodingersGat merged 2 commits into
Conversation
Retain DataOutput records with the original printing error and mark jobs failed when their plugin is unavailable. Keep exception propagation and skip failed outputs on redelivery to avoid printing partial batches again. Cover direct and worker exceptions, unavailable plugins, failed-job redelivery, and missing or completed outputs.
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #12872 +/- ##
==========================================
- Coverage 87.18% 85.34% -1.84%
==========================================
Files 1502 1503 +1
Lines 102408 105609 +3201
Branches 11568 11654 +86
==========================================
+ Hits 89281 90131 +850
- Misses 13062 15413 +2351
Partials 65 65
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This was referenced Sep 17, 2026
SchrodingersGat
approved these changes
Sep 22, 2026
Member
|
@ledvinap thanks for the contribution |
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

AI, as usual.
Label printing exceptions currently delete the monitored DataOutput, losing the error details.
An unavailable plugin leaves the job unfinished without an error, leaving the “Printing” popup stuck.
This change records both failures using mark_failure() while preserving exception propagation. Workers skip outputs with recorded errors, preventing redelivery from reprinting partially completed batches. Existing missing/completed-output guards remain intact.
The problem more pronounced with my (unpublished yet) changes, where multiple checks may fail a print.
Adds regressions for printing exceptions, unavailable plugins, and redelivery. No frontend changes or migrations are required.