v1.114.0: print server cleanup#50
Merged
Merged
Conversation
Add a print-server maintenance utility to 35-Utilities plus a read-only
CLI action:
- PrintServerAudit (read-only): reports spooler state, printer count,
total queued jobs, orphaned TCP/IP ports (no printer references them),
and unused drivers. JSON-aware; makes no changes.
- Operations Menu [36] Print Server Cleanup:
- Flush stuck print queue (one-way): stop spooler, purge spool dir,
restart. Confirmation-gated, ONE-WAY in Dry-Run; spooler is always
restarted even if the purge fails.
- Remove orphaned printer ports (reversible): removes TCP/IP ports no
printer references, capturing each port's host address so the session
undo / Dry-Run Undo closure can re-create it.
Unused drivers are reported but not auto-removed (out of scope). The new
looping submenu follows the navigation convention (Test-NavigationCommand
on the Select prompt, ReturnToMainMenu in the loop).
CLI actions 196 -> 197. Section 181 added; 5075 structural tests green.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
v1.114.0 — Print server cleanup
A print-server maintenance utility in 35-Utilities plus a read-only CLI action.
PrintServerAudit(read-only) — spooler state, printer count, total queued jobs, orphaned TCP/IP ports, unused drivers. JSON-aware; no changes.Undoclosure can re-create them.Unused drivers reported but not auto-removed. CLI actions 196 → 197. Section 181 added (5075 structural tests, all green).