Skip to content

[P1] Add Analyzer Timeouts, Partial Results, And Health Metadata #13

Description

@barvhaim

Roadmap Item 7: Add Analyzer Timeouts, Partial Results, And Health Metadata

Priority: P1
Area: Workflow, analyzers
References: src/threatxtension/core/extension_analyzer.py,
src/threatxtension/workflow/nodes.py

Analyzers run sequentially and an exception can turn a partially useful scan into a
failed workflow. For security triage, partial results are often better than no results.

Scope:

  • Wrap each analyzer with timeout, error capture, duration, and enabled/disabled status.
  • Continue the workflow when non-critical analyzers fail.
  • Mark the summary as partial when any analyzer fails or times out.
  • Surface analyzer health in API, CLI, and report output.

Acceptance criteria:

  • A VirusTotal or Chrome Stats failure does not discard SAST and permissions results.
  • Results include analyzer status metadata.
  • Tests cover one analyzer failure, one timeout, and all analyzers successful.

Created from docs/roadmap.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestobservabilityLogging, metrics, and diagnosticsworkflowLangGraph workflow and scan lifecycle

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions