feat: upgrade Pipeline #16

Merged
irammini merged 6 commits from dev into main 2026-02-22 13:27:42 +00:00
irammini commented 2026-02-22 09:28:39 +00:00 (Migrated from github.com)

V1.4.0

V1.4.0
github-code-quality[bot] (Migrated from github.com) reviewed 2026-02-22 09:29:46 +00:00
@ -0,0 +1,401 @@
import { Pipeline, PipelineValidationError, StepMetadata, PipelineExit } from '../src/pipeline';
github-code-quality[bot] (Migrated from github.com) commented 2026-02-22 09:29:46 +00:00

Unused variable, import, function or class

Unused import StepMetadata.


In general, unused imports should be removed to keep the code clean and avoid confusion. Since only StepMetadata is reported unused, we should leave the other imports (Pipeline, PipelineValidationError) intact and only remove StepMetadata from the import list.

The best fix is to edit test/pipeline.test.ts, line 1, and update the import statement to omit StepMetadata, changing import { Pipeline, PipelineValidationError, StepMetadata } from '../src/pipeline'; to import { Pipeline, PipelineValidationError } from '../src/pipeline';. No additional methods, imports, or definitions are needed.

## Unused variable, import, function or class Unused import StepMetadata. --- In general, unused imports should be removed to keep the code clean and avoid confusion. Since only <code>StepMetadata</code> is reported unused, we should leave the other imports (<code>Pipeline</code>, <code>PipelineValidationError</code>) intact and only remove <code>StepMetadata</code> from the import list.</p> <p>The best fix is to edit <code>test/pipeline.test.ts</code>, line 1, and update the import statement to omit <code>StepMetadata</code>, changing <code>import { Pipeline, PipelineValidationError, StepMetadata } from '../src/pipeline';</code> to <code>import { Pipeline, PipelineValidationError } from '../src/pipeline';</code>. No additional methods, imports, or definitions are needed.
github-code-quality[bot] (Migrated from github.com) reviewed 2026-02-22 10:04:05 +00:00
@ -0,0 +1,401 @@
import { Pipeline, PipelineValidationError, StepMetadata, PipelineExit } from '../src/pipeline';
github-code-quality[bot] (Migrated from github.com) commented 2026-02-22 10:04:04 +00:00

Unused variable, import, function or class

Unused import StepMetadata.


In general, the correct way to fix an unused import is to remove it from the import list, leaving only the symbols that are actually used in the file. This eliminates dead code and satisfies static analysis without altering runtime behavior.

For this specific case, in test/pipeline.test.ts at line 1, we should remove StepMetadata from the named import list that currently imports Pipeline, PipelineValidationError, StepMetadata, and PipelineExit from ../src/pipeline. No other code changes are necessary because nothing refers to StepMetadata in the shown tests. The functional behavior of the tests remains the same since the unused symbol was never used.

Concretely:

  • Edit the first line of test/pipeline.test.ts to import only Pipeline, PipelineValidationError, and PipelineExit.
  • No additional imports, methods, or definitions are needed.
## Unused variable, import, function or class Unused import StepMetadata. --- <p>In general, the correct way to fix an unused import is to remove it from the import list, leaving only the symbols that are actually used in the file. This eliminates dead code and satisfies static analysis without altering runtime behavior.</p> <p>For this specific case, in <code>test/pipeline.test.ts</code> at line 1, we should remove <code>StepMetadata</code> from the named import list that currently imports <code>Pipeline</code>, <code>PipelineValidationError</code>, <code>StepMetadata</code>, and <code>PipelineExit</code> from <code>../src/pipeline</code>. No other code changes are necessary because nothing refers to <code>StepMetadata</code> in the shown tests. The functional behavior of the tests remains the same since the unused symbol was never used.</p> <p>Concretely:</p> <ul> <li>Edit the first line of <code>test/pipeline.test.ts</code> to import only <code>Pipeline</code>, <code>PipelineValidationError</code>, and <code>PipelineExit</code>.</li> <li>No additional imports, methods, or definitions are needed.</li> </ul>
Sign in to join this conversation.
No description provided.