Skip to content

discovery(unwired-tracker): wire in delta_engine (tracker #1947 closed prematurely) #7798

Closed

Description

@mrveiss

Unwired Module

File: autobot_shared/delta_engine.py
Closed tracker: #1947
Production callers: 0

Description

delta_engine in autobot_shared has zero production callers — tracker #1947 closed prematurely. Module not imported by any production code.

Source

Discovered by pipeline-scripts/audit-unwired-trackers.py run for GH#6872 (Phase D batch 5).

Action Required

Identify whether this module should be:

  1. Wired in — add an import/caller in the appropriate production module
  2. Deleted — if the feature was intentionally abandoned
  3. Deferred — file a wire-in issue with a concrete plan

Activity

  1. mrveiss commented on May 16, 2026

    @mrveiss
    OwnerAuthor

    Closing — DeltaEngine requires per-metric threshold configuration before it can be wired; no single natural caller exists without that configuration.

    Analysis:

    autobot_shared/delta_engine.py provides DeltaEngine for detecting significant metric changes. It requires per-metric MetricThreshold objects (moderate_pct, critical_pct) to compute deltas.

    The most natural caller would be metrics/system_monitor.py (which does static threshold checks) or a new metrics aggregation step. However:

    1. The metric set and thresholds must be defined for each deployment (CPU, memory, error rate, etc.)
    2. system_monitor.py currently does static value checks, not change-rate checks — wiring DeltaEngine requires redesigning the alerting path
    3. There is no existing "metric snapshot pipeline" to inject DeltaEngine into

    Action: File a dedicated issue to design the metrics change-detection pipeline. Defining MetricThreshold objects and wiring DeltaEngine into the monitoring loop is a feature, not a simple wire-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions