Skip to content

Autofix and Regression

hypersdk edited this page Aug 7, 2026 · 1 revision

Autofix and Regression

Self-healing selectors and visual regression. Deep: Tutorials 06 · 07.

Visual regression

# Capture baselines
make regression-update
# or
ENABLE_REGRESSION=true zyvor-qa regression --update-baselines

# Compare
make regression
ENABLE_REGRESSION=true zyvor-qa regression
Variable Default Meaning
ENABLE_REGRESSION false Pixel compare vs screenshots/baselines/
REGRESSION_THRESHOLD 1.0 Max % diff
ENABLE_RUST_PROCESSOR false Use zyvor-diff (make rust)

Also: Mission Control regression / screenshot / compare actions; route-sweep for multi-route visuals.

Autofix (self-heal)

# .env
ENABLE_AUTOFIX=true
ENABLE_AUTOFIX_APPLY=true          # patch specs + re-execute
AUTOFIX_MAX_RETRIES=2
ENABLE_LLM_ANALYSIS=true           # better suggestions

Fail path: analyze → autofix → apply_autofix → execute (bounded).

Mode Use when
Suggest only (APPLY=false) CI — human reviews git diff tests/
Apply + rerun Nightly / staging self-heal

Autofix repairs selectors, not product intent — always review patches.

Log analysis

Always on during pipeline: console errors + network failures (favicon/analytics noise filtered).

Related: Architecture · Configuration.

Clone this wiki locally