🧪 ln-342-regression-checker Workflow

Linear Workflow - Worker v1.0.0

Overview

Purpose: Run existing test suite to verify no regressions introduced by implementation changes.

Type: Linear Workflow (4 sequential phases)

Single Responsibility: ONLY runs tests and reports results - does NOT create tasks or change statuses.

graph TD Start([START]) --> Phase1[Phase 1: Discovery
Auto-detect framework
Locate test directories] Phase1 --> Phase2[Phase 2: Run Tests
Execute test suite
5-minute timeout] Phase2 --> Phase3[Phase 3: Parse Results
Extract statistics
Identify failed tests] Phase3 --> Phase4[Phase 4: Report Results
Add Linear comment
Return JSON verdict] Phase4 --> End([END:
JSON verdict returned]) classDef phase fill:#E3F2FD,stroke:#1976D2,stroke-width:2px classDef endpoint fill:#C8E6C9,stroke:#388E3C,stroke-width:2px class Phase1,Phase2,Phase3,Phase4 phase class Start,End endpoint

Phase Descriptions

Phase 1: Discovery
Phase 2: Run Tests
Phase 3: Parse Results
Phase 4: Report Results

Output Format

{
  "verdict": "PASS" | "FAIL",
  "framework": "pytest" | "jest" | "vitest" | "go test",
  "total_tests": 127,
  "passed": 125,
  "failed": 2,
  "failed_tests": [
    "tests/auth/test_login.py::test_expired_token",
    "tests/api/test_rate_limit.py::test_burst_limit"
  ],
  "execution_time": "12.5s",
  "linear_comment_id": "abc123"
}
    

Key Characteristics