Skip to content

fix(security): resolve pluto single file scan timeout and telemetry test export error (#645) - #647

Merged
dan-petty merged 2 commits into
release/v0.2.23from
fix/645-pluto-scan-timeout-and-telemetry-typing
Sep 27, 2026
Merged

dan-petty merged 2 commits into
release/v0.2.23from
fix/645-pluto-scan-timeout-and-telemetry-typing

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Closes #645

Summary of Changes

  • Pluto File vs Directory Command Dispatch: Updated PlutoScanner.build_command in src/devops_cli/security/pluto.py, build_pluto_cmd in src/devops_cli/config/commands.py, and scan_pluto in src/devops_cli/ai/tools/builtin_tools.py to route single files to pluto detect <file> -o json and directory paths to pluto detect-files -d <dir> -o json.
  • Add CONST_K8S_MANIFEST_EXTENSIONS: Defined constant in constants.py per architectural invariant standards.
  • Direct Telemetry Client Typing in Tests: Replaced non-exported monkeypatch target with direct OTelTelemetryClient from devops_cli.telemetry.tracer, resolving static typing errors.
  • Embeddings Test Telemetry Isolation: Filtered _capture_embedding_posts in tests/test_rag_embeddings.py to ignore background telemetry OTLP metrics.
  • Gated CI Compliance: 100% passing across all quality gates.

@dan-petty
dan-petty merged commit 3c715df into release/v0.2.23 Sep 27, 2026
8 checks passed
@dan-petty
dan-petty deleted the fix/645-pluto-scan-timeout-and-telemetry-typing branch September 27, 2026 17:03
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