Skip to content

[RFC] Self-Healing Diagnostics Framework for Flipper One Testing Pipeline  #4376

Description

@eaglecrat

Summary

Proposal for a self-healing diagnostics layer in the Flipper One testing pipeline. Automated fault detection, root-cause classification, and retry loops — reducing manual triage.

Scope

  • Fault Detection: Hook furi_test runner, capture failures in real-time
  • Classifier: Tag by category (timing, memory, peripheral, protocol, infrastructure)
  • Recovery Loop: Auto-retry with adjusted parameters, escalate after deterministic failure
  • Telemetry: JSON Lines output for CI dashboards

Spec

https://github.com/eaglecrat/-flipper-one-proposals/blob/main/testing/testing-self-healing-diagnostics.md

Questions

  1. Is the Testing team open to test runner architectural changes?
  2. Standalone module or integrated into furi_test?
  3. Preferred: Python (host-side) or C (on-device)?

Risk

  • Zero device risk — host/CI only
  • Backward compatible
  • Can be feature-flagged

— ΩV

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions