Skip to content

v1.114.0: print server cleanup#50

Merged
TheAbider merged 1 commit into
masterfrom
release/v1.114.0
May 30, 2026
Merged

v1.114.0: print server cleanup#50
TheAbider merged 1 commit into
masterfrom
release/v1.114.0

Conversation

@TheAbider
Copy link
Copy Markdown
Owner

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.
  • 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 always restarted even on purge failure.
    • Remove orphaned printer ports (reversible) — removes ports no printer references, capturing host address so the session undo / Dry-Run Undo closure can re-create them.

Unused drivers reported but not auto-removed. CLI actions 196 → 197. Section 181 added (5075 structural tests, all green).

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.
@TheAbider TheAbider merged commit cb9782f into master May 30, 2026
6 checks passed
@TheAbider TheAbider deleted the release/v1.114.0 branch May 30, 2026 00:15
@codecov
Copy link
Copy Markdown

codecov Bot commented May 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant