Skip to content

✨ Featre/analyzer task runner validator #617

✨ Featre/analyzer task runner validator

✨ Featre/analyzer task runner validator #617

Triggered via pull request September 25, 2024 17:24
Status Failure
Total duration 41s
Artifacts 1

trunk-check.yml

on: pull_request
Trunk Check Runner
29s
Trunk Check Runner
Fit to window
Zoom out
Zoom in

Annotations

50 errors, 3 warnings, and 2 notices
Trunk Check Runner
Process completed with exit code 1.
ruff(F401): playpen/repo_level_awareness/task_runner/compiler/compiler_agent.py#L6
[new] `asyncio` imported but unused
ruff(E701): playpen/repo_level_awareness/task_runner/compiler/compiler_agent.py#L80
[new] Multiple statements on one line (colon)
ruff(E701): playpen/repo_level_awareness/task_runner/compiler/compiler_agent.py#L97
[new] Multiple statements on one line (colon)
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L1
[new] `dataclasses.field` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L2
[new] `typing.Dict` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L2
[new] `typing.List` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L2
[new] `typing.Optional` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L2
[new] `typing.Type` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L3
[new] `kai.models.report_types.AnalysisReport` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L4
[new] `playpen.repo_level_awareness.api.ValidationResult` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L4
[new] `playpen.repo_level_awareness.api.ValidationStep` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L3
[new] `os` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L4
[new] `sys` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L5
[new] `time` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L6
[new] `traceback` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L7
[new] `typing.Any` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L7
[new] `typing.Dict` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L7
[new] `typing.List` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L8
[new] `warnings.filterwarnings` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L11
[new] `playpen.client.cli.generate_fix` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L12
[new] `playpen.client.cli.get_config` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L13
[new] `playpen.client.cli.get_impacted_files_from_report` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L14
[new] `playpen.client.cli.get_model_provider` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L15
[new] `playpen.client.cli.get_trace` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L16
[new] `playpen.client.cli.render_prompt` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L22
[new] `kai.kai_logging.parent_log` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L22
[new] `kai.kai_logging.setup_file_handler` imported but unused
ruff(F401): playpen/client/anlalyzer_rpc.py#L23
[new] `kai.models.report_types.ExtendedIncident` imported but unused
ruff(E722): playpen/client/anlalyzer_rpc.py#L99
[new] Do not use bare `except`
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L1
[new] `dataclasses.field` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L2
[new] `typing.Optional` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L2
[new] `typing.Type` imported but unused
ruff(F401): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L5
[new] `playpen.repo_level_awareness.api.ValidationError` imported but unused
ruff(E101): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L49
[new] Indentation contains mixed spaces and tabs
ruff(E101): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L50
[new] Indentation contains mixed spaces and tabs
isort: playpen/repo_level_awareness/api.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: playpen/repo_level_awareness/task_runner/analyzer_lsp/api.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: playpen/repo_level_awareness/codeplan.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: playpen/client/rpc.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: playpen/client/anlalyzer_rpc.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: playpen/client/rpc.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: playpen/client/anlalyzer_rpc.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
taplo: pyproject.toml#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: playpen/repo_level_awareness/codeplan.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
isort: playpen/repo_level_awareness/task_runner/compiler/compiler_agent.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
black: playpen/repo_level_awareness/task_runner/compiler/compiler_agent.py#L1
Incorrect formatting, autoformat by running 'trunk fmt'
bandit(B404): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L3
[new] Consider possible security implications associated with the subprocess module.
bandit(B603): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L22
[new] subprocess call - check for execution of untrusted input.
Trunk Check Runner
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "trunk-annotations". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
trunk(ignore-end-unmatched): playpen/repo_level_awareness/task_runner/analyzer_lsp/validator.py#L28
[new] trunk-ignore-end(bandit/B603) is not matched by a trunk-ignore-begin(bandit/B603)

Artifacts

Produced during runtime
Name Size
trunk-annotations
38.1 KB