Penstock

Guide / Every rule

A worker for a job type no diagram uses

The check code/unused-worker, in the group Diagrams and code.

AdvicePro

Why it matters

A worker that nothing calls is code to keep for nothing, and hides that a diagram lost its step.

How to fix it

Delete the worker, or add the step that uses its job type.

Where you see it

The Problems tab lists it under Code. In a terminal, penstock code reports it with the file and line. This check is part of Penstock Pro, and Team in a pipeline.

Rule details

Idcode/unused-worker
GroupDiagrams and code
LevelAdvice: it works, and reads or runs better without it

Read more: Code links. All rules: Every rule.