{
  "meta": {
    "module": "veza-backend-api",
    "generated_at": "2025-12-15T19:26:45.771318",
    "go_version": "go1.24.10",
    "git_commit": "feb7283",
    "commands": {
      "unit": "go test ./... -count=1",
      "unit_json": "go test ./... -count=1 -json",
      "integration": "go test ./... -tags=integration -count=1",
      "integration_json": "go test ./... -tags=integration -count=1 -json",
      "race": "go test ./... -race -count=1",
      "race_json": "go test ./... -race -count=1 -json"
    }
  },
  "fails": [
    {
      "id": "TF-0001",
      "scope": "unit",
      "package": "veza-backend-api/cmd/api",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/api -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0002",
      "scope": "unit",
      "package": "veza-backend-api/cmd/generate-config-docs",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/generate-config-docs -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0003",
      "scope": "unit",
      "package": "veza-backend-api/cmd/migrate_tool",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/migrate_tool -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0004",
      "scope": "unit",
      "package": "veza-backend-api/cmd/modern-server",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/modern-server -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0005",
      "scope": "unit",
      "package": "veza-backend-api/cmd/tools/hash_gen",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/tools/hash_gen -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0006",
      "scope": "unit",
      "package": "veza-backend-api/docs",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/docs -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0007",
      "scope": "unit",
      "package": "veza-backend-api/internal/api",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0008",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/admin",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/admin -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0009",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/chat",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/chat -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0010",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/collaboration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/collaboration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0011",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/contest",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/contest -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0012",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/education",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/education -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0013",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/graphql",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/graphql -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0014",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/grpc",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/grpc -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0015",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/handlers",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/handlers -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0016",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/listing",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/listing -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0017",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/message",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/message -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0018",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/offer",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/offer -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0019",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/production_challenge",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/production_challenge -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0020",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/room",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/room -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0021",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/search",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/search -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0022",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/shared_resources",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/shared_resources -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0023",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/sound_design_contest",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/sound_design_contest -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0024",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/tag",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/tag -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0025",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/track",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/track -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0026",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/user",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/user -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0027",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/voting_system",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/voting_system -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0028",
      "scope": "unit",
      "package": "veza-backend-api/internal/api/websocket",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/websocket -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0029",
      "scope": "unit",
      "package": "veza-backend-api/internal/core/auth",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/auth -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0030",
      "scope": "unit",
      "package": "veza-backend-api/internal/core/collaboration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/collaboration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0031",
      "scope": "unit",
      "package": "veza-backend-api/internal/core/education",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/education -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0032",
      "scope": "unit",
      "package": "veza-backend-api/internal/core/marketplace",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/marketplace -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0033",
      "scope": "unit",
      "package": "veza-backend-api/internal/core/social",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/social -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0034",
      "scope": "unit",
      "package": "veza-backend-api/internal/dto",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/dto -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0035",
      "scope": "unit",
      "package": "veza-backend-api/internal/eventbus",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/eventbus -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0036",
      "scope": "unit",
      "package": "veza-backend-api/internal/features",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/features -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0037",
      "scope": "unit",
      "package": "veza-backend-api/internal/core/track",
      "test": "TestTrackHandler_SuccessResponseFormat",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/track -run TestTrackHandler_SuccessResponseFormat -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0038",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestRunMigrations_TransactionRollback",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestRunMigrations_TransactionRollback -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0039",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestNewDB",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestNewDB -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0040",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestCloseDB",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestCloseDB -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0041",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestGetPoolStats",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestGetPoolStats -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0042",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestIsConnectionHealthy",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestIsConnectionHealthy -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0043",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestIsConnectionHealthy_Timeout",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestIsConnectionHealthy_Timeout -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0044",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_ConnectionPooling",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_ConnectionPooling -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0045",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_MaxConnections",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_MaxConnections -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0046",
      "scope": "unit",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_Performance",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_Performance -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0047",
      "scope": "unit",
      "package": "veza-backend-api/internal/infrastructure/eventbus",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/eventbus -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0048",
      "scope": "unit",
      "package": "veza-backend-api/internal/infrastructure/events",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/events -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0049",
      "scope": "unit",
      "package": "veza-backend-api/internal/infrastructure/ssl",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/ssl -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0050",
      "scope": "unit",
      "package": "veza-backend-api/internal/interfaces",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/interfaces -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0051",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestCreatePlaylist_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestCreatePlaylist_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11257}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11257}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11258}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11259}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11260}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11261}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11262}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11263}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11264}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11265}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11266}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11267}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11268}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11269}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11270}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11271}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11272}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11273}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11274}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11275}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11276}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11277}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11278}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11279}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11280}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11281}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11282}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11283}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11284}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11285}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.474-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":11286}\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0052",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestGetPlaylist_Private_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestGetPlaylist_Private_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16347}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16347}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16348}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16349}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16350}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16351}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16352}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16353}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16354}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16355}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16356}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16357}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16358}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16359}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16360}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16361}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16362}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16363}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.567-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":16364}\n\n2025-12-15T18:57:09.684-0500\tINFO\tjobs/cleanup_verification_tokens.go:35\tCleaned up verification tokens\t{\"count\": 1}\n\n    playlist_track_handler_integration_test.go:143: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:143\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"track added to playlist\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestAddTrackToPlaylist_Success\n\n    playlist_track_handler_integration_test.go:144: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:144\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"track added to playlist\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestAddTrackToPlaylist_Success\n\n--- FAIL: TestAddTrackToPlaylist_Success (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0053",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18348}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18348}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18349}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18350}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18351}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18352}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18353}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18354}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18355}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18356}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18357}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18358}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18359}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18360}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18361}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18362}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18363}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18364}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18365}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18366}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.692-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18367}\n\n2025-12-15T18:57:09.726-0500\tINFO\tjobs/cleanup_verification_tokens.go:35\tCleaned up verification tokens\t{\"count\": 0}\n\n--- PASS: TestCleanupExpiredVerificationTokens_NoTokensToClean (0.03s)\n\n=== RUN   TestScheduleCleanupJob\n\n    playlist_track_handler_integration_test.go:201: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:201\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:09Z\"})\n\n        \tTest:       \tTestAddTrackToPlaylist_Ownership\n\n--- FAIL: TestAddTrackToPlaylist_Ownership (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0054",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20787}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20787}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20788}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20789}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20790}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20791}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20792}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20793}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20794}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20795}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20796}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20797}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20798}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20799}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20800}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20801}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20802}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20803}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20804}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20805}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20806}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.734-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":20807}\n\n2025-12-15T18:57:09.744-0500\tINFO\tjobs/cleanup_verification_tokens.go:58\tCleanup job scheduled to run daily\n\n2025-12-15T18:57:09.744-0500\tINFO\tjobs/cleanup_verification_tokens.go:35\tCleaned up verification tokens\t{\"count\": 0}\n\n    playlist_track_handler_integration_test.go:235: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:235\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 401\n\n        \t            \tactual  : 403\n\n        \tTest:       \tTestAddTrackToPlaylist_Unauthorized\n\n--- FAIL: TestAddTrackToPlaylist_Unauthorized (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0055",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21204}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21204}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21205}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21206}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21207}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21208}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21209}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21210}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21211}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21212}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21213}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21214}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21215}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21216}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21217}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21218}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21219}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21220}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21221}\n\n    playlist_track_handler_integration_test.go:316: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:316\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"track removed from playlist\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Success\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.735-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":21222}\n\n    playlist_track_handler_integration_test.go:317: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:317\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"track removed from playlist\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Success\n\n--- FAIL: TestRemoveTrackFromPlaylist_Success (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0056",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestRemoveTrackFromPlaylist_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestRemoveTrackFromPlaylist_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22129}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22129}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22130}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22131}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22132}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22133}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22134}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22135}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22136}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22137}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22138}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22139}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22140}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22141}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22142}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22143}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22144}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22145}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22146}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22147}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22148}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22149}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22150}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.743-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":22151}\n\n    playlist_track_handler_integration_test.go:375: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:375\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:09Z\"})\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Ownership\n\n--- FAIL: TestRemoveTrackFromPlaylist_Ownership (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0057",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestRemoveTrackFromPlaylist_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestRemoveTrackFromPlaylist_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.913-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26702}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.913-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26702}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26703}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26704}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26705}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26706}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26707}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26708}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26709}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26710}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26711}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26712}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26713}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26714}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26715}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26716}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26717}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26718}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26719}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26720}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26721}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26722}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26723}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26724}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26725}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26726}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26727}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26728}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.914-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":26729}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:09.891-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":25727}\n\n--- FAIL: TestReorderPlaylistTracks_Success (0.12s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0058",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestReorderPlaylistTracks_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestReorderPlaylistTracks_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29804}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29804}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29805}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29806}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29807}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29808}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29809}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29810}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29811}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29812}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29813}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29814}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29815}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29816}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29817}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29818}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29819}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29820}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29821}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29822}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29823}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29824}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29825}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.039-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":29826}\n\n    playlist_track_handler_integration_test.go:498: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:498\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:10Z\"})\n\n        \tTest:       \tTestReorderPlaylistTracks_Ownership\n\n--- FAIL: TestReorderPlaylistTracks_Ownership (0.13s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0059",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestReorderPlaylistTracks_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestReorderPlaylistTracks_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30450}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30450}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30451}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30452}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30453}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30454}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30455}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30456}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30457}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30458}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30459}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30460}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30461}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30462}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30463}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30464}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30465}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30466}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30467}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30468}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30469}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30470}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30471}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30472}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30473}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30474}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30475}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30476}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30477}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:10.041-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":30478}\n\nFAIL\tveza-backend-api/internal/handlers\t0.986s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0060",
      "scope": "unit",
      "package": "veza-backend-api/internal/repository",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/repository -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0061",
      "scope": "unit",
      "package": "veza-backend-api/internal/response",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/response -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0062",
      "scope": "unit",
      "package": "veza-backend-api/internal/security",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/security -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0063",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/integration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/integration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0064",
      "scope": "unit",
      "package": "veza-backend-api/internal/types",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/types -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0060",
      "scope": "unit",
      "package": "veza-backend-api/internal/handlers",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -v",
        "env": {},
        "requires": [
          "postgres",
          "postgres",
          "postgres",
          "postgres",
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestMockSessionService_ValidateSession (0.00s)",
        "log_excerpt": "--- PASS: TestMockSessionService_ValidateSession (0.00s)\n\n=== RUN   TestMockSessionService_ValidateSessionError\n\n--- PASS: TestMockSessionService_ValidateSessionError (0.00s)\n\n=== RUN   TestMockSessionService_RevokeSession\n\n--- PASS: TestMockSessionService_RevokeSession (0.00s)\n\n=== RUN   TestMockSessionService_RevokeAllUserSessions\n\n--- PASS: TestMockSessionService_RevokeAllUserSessions (0.00s)\n\n=== RUN   TestMockSessionService_GetUserSessions\n\n--- PASS: TestMockSessionService_GetUserSessions (0.00s)\n\n=== RUN   TestMockSessionService_CleanupExpiredSessions\n\n--- PASS: TestMockSessionService_CleanupExpiredSessions (0.00s)\n\n=== RUN   TestMockSessionService_RefreshSession\n\n--- PASS: TestMockSessionService_RefreshSession (0.00s)\n\n=== RUN   TestMockSessionService_GetSessionStats\n\n--- PASS: TestMockSessionService_GetSessionStats (0.00s)\n\n=== RUN   TestMockAuditService\n\n    mocks_test.go:185: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:185]\n\n--- FAIL: TestMockAuditService (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0066",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:209: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogLogin\n\n--- PASS: TestMockAuditService_LogLogin (0.00s)\n\n=== RUN   TestMockAuditService_LogLogout\n\n    mocks_test.go:209: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:209]\n\n--- FAIL: TestMockAuditService_LogLogout (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0067",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogLogout",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogLogout$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:222: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogUpload\n\n    mocks_test.go:222: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:222]\n\n--- FAIL: TestMockAuditService_LogUpload (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0068",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogUpload",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogUpload$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:237: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogPermissionChange\n\n    mocks_test.go:237: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:237]\n\n--- FAIL: TestMockAuditService_LogPermissionChange (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0069",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogPermissionChange",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogPermissionChange$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:250: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogDeletion\n\n    mocks_test.go:250: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:250]\n\n--- FAIL: TestMockAuditService_LogDeletion (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0070",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogDeletion",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogDeletion$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestMockAuditService_SearchLogs",
        "log_excerpt": "=== RUN   TestMockAuditService_SearchLogs\n\n--- PASS: TestMockAuditService_SearchLogs (0.00s)\n\n=== RUN   TestMockAuditService_SearchLogsError\n\n--- PASS: TestMockAuditService_SearchLogsError (0.00s)\n\n=== RUN   TestMockAuditService_GetStats\n\n--- PASS: TestMockAuditService_GetStats (0.00s)\n\n=== RUN   TestNewMockSessionService\n\n--- PASS: TestNewMockSessionService (0.00s)\n\n=== RUN   TestNewMockAuditService\n\n--- PASS: TestNewMockAuditService (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/testutils/servicemocks\t0.118s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0071",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "<package_fail>",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -v",
        "env": {},
        "requires": [
          "redis",
          "postgres",
          "redis",
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsWorker_CollectBatch",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsWorker_CollectBatch\n\n    circuit_breaker_integration_test.go:116: Circuit breaker state after success: half-open (half-open or closed is acceptable)\n\n--- PASS: TestCircuitBreakerIntegration_5xxSimulation (1.34s)\n\n=== RUN   TestCircuitBreakerIntegration_MetricsValidation\n\n    circuit_breaker_integration_test.go:145: Metrics: TotalFailures=3, ConsecutiveFailures=3\n\n--- PASS: TestCircuitBreakerIntegration_MetricsValidation (0.00s)\n\n=== RUN   TestNewCircuitBreakerHTTPClient\n\n--- PASS: TestNewCircuitBreakerHTTPClient (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_Success\n\n--- PASS: TestCircuitBreakerHTTPClient_Do_Success (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_ServerError\n\n--- PASS: TestCircuitBreakerHTTPClient_Do_ServerError (0.11s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_OpenState\n\n    logger.go:146: 2025-12-15T18:57:18.475-0500\tWARN\tCircuit breaker is open, request rejected\t{\"circuit_breaker\": \"test-open\", \"url\": \"http://127.0.0.1:33751\"}\n\n--- PASS: TestCircuitBreakerHTTPClient_Do_OpenState (0.10s)\n\n=== RUN   TestCircuitBreakerHTTPClient_DoWithContext\n\n--- PASS: TestCircuitBreakerHTTPClient_DoWithContext (0.01s)\n\n=== RUN   TestCircuitBreakerHTTPClient_DoWithContext_Cancelled\n\nredis: 2025/12/15 18:57:18 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestPlaybackAnalyticsWorker_CollectBatch (0.34s)\n\n=== RUN   TestPlaybackAnalyticsWorker_CollectBatch_Timeout\n\n--- PASS: TestPlaybackAnalyticsWorker_CollectBatch_Timeout (0.12s)\n\n=== RUN   TestPlaybackAnalyticsWorker_GetStats\n\n--- PASS: TestPlaybackAnalyticsWorker_GetStats (0.06s)\n\n=== RUN   TestPlaybackAnalyticsWorker_RetryFailedJobs\n\n    playback_analytics_worker_test.go:408: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/workers/playback_analytics_worker_test.go:408\n\n        \tError:      \t\"0\" is not greater than or equal to \"2\"\n\n        \tTest:       \tTestPlaybackAnalyticsWorker_RetryFailedJobs\n\n--- FAIL: TestPlaybackAnalyticsWorker_RetryFailedJobs (0.19s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0072",
      "scope": "unit",
      "package": "veza-backend-api/internal/workers",
      "test": "TestPlaybackAnalyticsWorker_RetryFailedJobs",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -run ^TestPlaybackAnalyticsWorker_RetryFailedJobs$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:57:19.054-0500\tINFO\tNo analytics to delete\t{\"older_than\": \"8760h0m0s\"}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:57:19.054-0500\tINFO\tNo analytics to delete\t{\"older_than\": \"8760h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:19.054-0500\tINFO\tPlayback retention policy applied successfully\t{\"worker\": \"playback_retention\"}\n\nredis: 2025/12/15 18:57:19 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n    logger.go:146: 2025-12-15T18:57:19.158-0500\tINFO\tStopping playback retention worker (stop requested)\n\n--- PASS: TestPlaybackRetentionWorker_Start_Stop (0.24s)\n\n=== RUN   TestPlaybackRetentionWorker_Start_AlreadyRunning\n\n    logger.go:146: 2025-12-15T18:57:19.284-0500\tINFO\tStarting playback retention worker\t{\"interval\": \"1h0m0s\", \"archive_after\": \"2160h0m0s\", \"delete_after\": \"8760h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:19.285-0500\tINFO\tRunning playback retention policy\t{\"worker\": \"playback_retention\"}\n\n    logger.go:146: 2025-12-15T18:57:19.286-0500\tINFO\tNo analytics to archive\t{\"older_than\": \"2160h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:19.286-0500\tINFO\tNo analytics to delete\t{\"older_than\": \"8760h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:19.286-0500\tINFO\tPlayback retention policy applied successfully\t{\"worker\": \"playback_retention\"}\n\n    logger.go:146: 2025-12-15T18:57:19.339-0500\tWARN\tRetention worker is already running\n\n    logger.go:146: 2025-12-15T18:57:19.340-0500\tINFO\tStopping playback retention worker\n\n--- PASS: TestPlaybackRetentionWorker_Start_AlreadyRunning (0.13s)\n\n=== RUN   TestThumbnailJob_Execute\n\n=== RUN   TestThumbnailJob_Execute/Generate_thumbnail_successfully\n\n--- PASS: TestThumbnailJob_Execute/Generate_thumbnail_successfully (0.01s)\n\n=== RUN   TestThumbnailJob_Execute/Fail_when_input_file_does_not_exist\n\n--- PASS: TestThumbnailJob_Execute/Fail_when_input_file_does_not_exist (0.00s)\n\n=== RUN   TestThumbnailJob_Execute/Use_default_dimensions_when_not_specified\n\n--- PASS: TestThumbnailJob_Execute/Use_default_dimensions_when_not_specified (0.02s)\n\n--- PASS: TestThumbnailJob_Execute (0.08s)\n\n=== RUN   TestNewThumbnailJob\n\n=== RUN   TestNewThumbnailJob/Create_job_with_specified_dimensions\n\n--- PASS: TestNewThumbnailJob/Create_job_with_specified_dimensions (0.00s)\n\n=== RUN   TestNewThumbnailJob/Apply_default_dimensions_when_zero\n\n--- PASS: TestNewThumbnailJob/Apply_default_dimensions_when_zero (0.00s)\n\n--- PASS: TestNewThumbnailJob (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/workers\t2.798s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0073",
      "scope": "unit",
      "package": "veza-backend-api/internal/workers",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes\n\n=== RUN   TestPublicCoreRoutes/Legacy_Health_Check\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Health_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Health_Check\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Health_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0074",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Health_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Health_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Health_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Health_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Health_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0075",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Health_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Health_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Liveness_Check\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Liveness_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Liveness_Check\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Liveness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0076",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Liveness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Liveness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Liveness_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Liveness_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Liveness_Check (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0077",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Liveness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Liveness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Readiness_Check\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Readiness_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Readiness_Check\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Readiness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0078",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Readiness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Readiness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Readiness_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Readiness_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Readiness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0079",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Readiness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Readiness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0080",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Metrics\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Modern_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0081",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Aggregated_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0082",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Aggregated_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Aggregated_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Aggregated_Metrics\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Aggregated_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Modern_Aggregated_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0083",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Aggregated_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Aggregated_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_System_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_System_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_System_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_System_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0084",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_System_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_System_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_System_Metrics\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_System_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Modern_System_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0085",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_System_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_System_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestPublicCoreRoutes (0.06s)",
        "log_excerpt": "--- FAIL: TestPublicCoreRoutes (0.06s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0086",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestInternalTrackStreamCallbackRoutes\n\n=== RUN   TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:184: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:184\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:186: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:186\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n--- FAIL: TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed Redis/DB connection issues and route configuration"
      ]
    },
    {
      "id": "TF-0087",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:196: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:196\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback\n\n--- FAIL: TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0088",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestInternalTrackStreamCallbackRoutes (0.01s)",
        "log_excerpt": "--- FAIL: TestInternalTrackStreamCallbackRoutes (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0089",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "FAIL",
        "log_excerpt": "FAIL\n\nredis: 2025/12/15 18:57:19 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\nFAIL\tveza-backend-api/tests\t0.484s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed Redis/DB connection issues and route configuration"
      ]
    },
    {
      "id": "TF-0090",
      "scope": "unit",
      "package": "veza-backend-api/tests",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "redis: 2025/12/15 18:57:20 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused",
        "log_excerpt": "redis: 2025/12/15 18:57:20 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\nFAIL\tveza-backend-api/tests/transactions [build failed]\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0091",
      "scope": "unit",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIStatus",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIStatus -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0092",
      "scope": "unit",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIStatusDegraded",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIStatusDegraded -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0093",
      "scope": "unit",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIHealthHTTP",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIHealthHTTP -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0091",
      "scope": "unit",
      "package": "veza-backend-api/tests/transactions",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests/transactions -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestEmailService_SendPasswordResetEmail_Subject (0.00s)",
        "log_excerpt": "--- PASS: TestEmailService_SendPasswordResetEmail_Subject (0.00s)\n\n=== RUN   TestEmailVerificationService_GenerateToken\n\n--- PASS: TestEmailVerificationService_GenerateToken (0.00s)\n\n=== RUN   TestEmailVerificationService_GenerateToken_Unique\n\n--- PASS: TestEmailVerificationService_GenerateToken_Unique (0.00s)\n\n=== RUN   TestEmailVerificationService_StoreToken\n\n2025-12-15T18:57:21.069-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"89349cbc-81dc-47fc-96ee-f024a48279f6\", \"expires_at\": \"2025-12-16T18:57:21.069-0500\"}\n\n--- PASS: TestEmailVerificationService_StoreToken (0.03s)\n\n=== RUN   TestEmailVerificationService_StoreToken_Expiration\n\n2025-12-15T18:57:21.102-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"2fa5150b-441a-4c33-8a05-2fc891b4e778\", \"expires_at\": \"2025-12-16T18:57:21.102-0500\"}\n\n--- PASS: TestEmailVerificationService_StoreToken_Expiration (0.03s)\n\n=== RUN   TestEmailVerificationService_VerifyToken_ValidToken\n\n2025-12-15T18:57:21.111-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"19d7df8d-b2a2-49ad-a299-cca92e82d385\", \"expires_at\": \"2025-12-16T18:57:21.110-0500\"}\n\n2025-12-15T18:57:21.111-0500\tINFO\tservices/email_verification_service.go:150\tVerification token verified successfully\t{\"user_id\": \"19d7df8d-b2a2-49ad-a299-cca92e82d385\"}\n\n--- PASS: TestEmailVerificationService_VerifyToken_ValidToken (0.01s)\n\n=== RUN   TestEmailVerificationService_VerifyToken_InvalidToken\n\n2025-12-15T18:57:21.123-0500\tWARN\tservices/email_verification_service.go:112\tVerification token not found\t{\"token\": \"invalid-...\"}\n\nveza-backend-api/internal/services.(*EmailVerificationService).VerifyToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service.go:112\n\nveza-backend-api/internal/services.TestEmailVerificationService_VerifyToken_InvalidToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:225\n\ntesting.tRunner\n\n\t/usr/lib/golang/src/testing/testing.go:1792\n\n    email_verification_service_test.go:227: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:227\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(0)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0})\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_InvalidToken\n\n--- FAIL: TestEmailVerificationService_VerifyToken_InvalidToken (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0095",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_InvalidToken",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_InvalidToken$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_ExpiredToken\n\n    email_verification_service_test.go:248: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:248\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tNOT NULL constraint failed: email_verification_tokens.token_hash\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_ExpiredToken\n\n--- FAIL: TestEmailVerificationService_VerifyToken_ExpiredToken (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0096",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_ExpiredToken",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_ExpiredToken$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_AlreadyUsed\n\n    email_verification_service_test.go:273: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:273\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tNOT NULL constraint failed: email_verification_tokens.token_hash\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_AlreadyUsed\n\n--- FAIL: TestEmailVerificationService_VerifyToken_AlreadyUsed (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0097",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_AlreadyUsed",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_AlreadyUsed$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestEmailVerificationService_VerifyToken_CannotReuse",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_CannotReuse\n\n2025-12-15T18:57:21.166-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"c2997e89-457a-4843-81da-c52aa4d69320\", \"expires_at\": \"2025-12-16T18:57:21.165-0500\"}\n\n2025-12-15T18:57:21.166-0500\tINFO\tservices/email_verification_service.go:150\tVerification token verified successfully\t{\"user_id\": \"c2997e89-457a-4843-81da-c52aa4d69320\"}\n\n2025-12-15T18:57:21.166-0500\tWARN\tservices/email_verification_service.go:125\tVerification token already used\t{\"user_id\": \"c2997e89-457a-4843-81da-c52aa4d69320\", \"token\": \"55MIukVD...\"}\n\nveza-backend-api/internal/services.(*EmailVerificationService).VerifyToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service.go:125\n\nveza-backend-api/internal/services.TestEmailVerificationService_VerifyToken_CannotReuse\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:300\n\ntesting.tRunner\n\n\t/usr/lib/golang/src/testing/testing.go:1792\n\n    email_verification_service_test.go:302: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:302\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(0)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0})\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_CannotReuse\n\n--- FAIL: TestEmailVerificationService_VerifyToken_CannotReuse (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0098",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_CannotReuse",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_CannotReuse$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations",
        "log_excerpt": "=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations\n\n--- PASS: TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations (0.00s)\n\n=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations_Empty\n\n--- PASS: TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations_Empty (0.00s)\n\n=== RUN   TestNewHLSService\n\n--- PASS: TestNewHLSService (0.00s)\n\n=== RUN   TestNewHLSService_NilLogger\n\n--- PASS: TestNewHLSService_NilLogger (0.00s)\n\n=== RUN   TestHLSService_GetMasterPlaylist\n\n--- PASS: TestHLSService_GetMasterPlaylist (0.03s)\n\n=== RUN   TestHLSService_GetMasterPlaylist_NotFound\n\n\r\n\n2025/12/15 18:57:21 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:64 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.578ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"e08d086c-9504-4c4d-954e-bf33ff97a0bd\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetMasterPlaylist_NotFound (0.03s)\n\n=== RUN   TestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:170: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:170\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tquality playlist file not found: /tmp/hls_service_test_1205292/track_855c9299-49bf-4230-a6d1-e228e38b9925/128k/playlist.m3u8\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:171: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:171\n\n        \tError:      \t\"\" does not contain \"#EXTM3U\"\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:172: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:172\n\n        \tError:      \t\"\" does not contain \"segment_000.ts\"\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n--- FAIL: TestHLSService_GetQualityPlaylist (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0099",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSService_GetQualityPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSService_GetQualityPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSService_GetQualityPlaylist_NotFound",
        "log_excerpt": "=== RUN   TestHLSService_GetQualityPlaylist_NotFound\n\n\r\n\n2025/12/15 18:57:21 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:96 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.186ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"412f7e2c-c218-4531-bb5a-130943b95d3c\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetQualityPlaylist_NotFound (0.02s)\n\n=== RUN   TestHLSService_GetQualityPlaylist_InvalidBitrate\n\n--- PASS: TestHLSService_GetQualityPlaylist_InvalidBitrate (0.03s)\n\n=== RUN   TestHLSService_GetSegmentPath\n\n    hls_service_test.go:212: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:212\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tsegment file not found: /tmp/hls_service_test_1205292/track_24b1802e-a854-485b-a2a2-d76432f6fb91/128k/segment_000.ts\n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n    hls_service_test.go:213: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:213\n\n        \tError:      \tShould NOT be empty, but was \n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n    hls_service_test.go:214: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:214\n\n        \tError:      \tunable to find file \"\"\n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n--- FAIL: TestHLSService_GetSegmentPath (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0100",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSService_GetSegmentPath",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSService_GetSegmentPath$ -v",
        "env": {},
        "requires": [
          "redis",
          "redis",
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestHLSTranscodeService_SetBitrates (0.00s)",
        "log_excerpt": "--- PASS: TestHLSTranscodeService_SetBitrates (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_NilTrack\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_NilTrack (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_EmptyFilePath\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_EmptyFilePath (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_FileNotExists\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_FileNotExists (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_CreatesDirectory\n\nredis: 2025/12/15 18:57:23 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n    logger.go:146: 2025-12-15T18:57:23.253-0500\tERROR\tFFmpeg transcoding failed\t{\"bitrate\": 128, \"track_id\": \"806694a1-5086-46b5-a805-fad73267137d\", \"output\": \"ffmpeg version 7.1.2 Copyright (c) 2000-2025 the FFmpeg developers\\n  built with gcc 15 (GCC)\\n  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,\npack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' --disable-htmlpages --disable-static --disable-stripping --enable-pic --enable-shared --enable-gpl --enable-version3 --enable-amf --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-alsa --enable-bzlib --enable-chromaprint --disable-cuda-nvcc --enable-cuvid --disable-decklink --enable-frei0r --enable-gcrypt --enable-gmp --enable-gnutls --enable-gray --enable-iconv --enable-ladspa --enable-lcms2 --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --disable-libdavs2 --enable-libdc1394 --enable-libdvdnav --enable-libdvdread --enable-libfdk-aac --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-l\nibharfbuzz --enable-libiec61883 --enable-libilbc --enable-libjack --enable-libjxl --enable-libklvanc --disable-liblensfun --disable-liblcevc-dec --enable-liblc3 --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-libopencv --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --disable-libquirc --enable-librabbitmq --enable-librav1e --enable-librist --enable-librsvg --enable-librubberband --enable-libshaderc --disable-libshine --enable-libsmbclient --enable-libsnappy --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-libtensorflow --enable-libtesseract --enable-libtheora --disable-libtorch --disable-libuavs3d --enable-libtwolame --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --disable-libxavs2 --dis\nable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lto --enable-lv2 --enable-lzma --enable-manpages --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-opengl --disable-openssl --enable-postproc --enable-pthreads --enable-sdl2 --enable-shared --enable-swresample --enable-swscale --enable-v4l2-m2m --enable-vaapi --enable-vapoursynth --enable-vdpau --enable-vulkan --enable-xlib --enable-zlib --enable-muxers --enable-demuxers --enable-hwaccels --disable-encoders --disable-decoders --disable-decoder='h264,hevc,libxevd,vc1,vvc' --enable-encoder=',a64multi,a64multi5,aac,libfdk_aac,ac3,adpcm_adx,adpcm_argo,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apm,adpcm_ima_qt,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_swf,adpcm_yamaha,alac,alias_pix,amv,anull,apng,ass,asv1,asv2,av1_amf,av1_nvenc,av1_qsv,av1_vaapi,bitpacked,bmp,cinep\nak,cljr,dca,dfpwm,dnxhd,dnxhr,dpx,dvbsub,dvdsub,dvvideo,exr,ffv1,ffvhuff,flac,flashsv,flashsv2,flv,g723_1,gif,h261,h263,h263_v4l2m2m,h263p,h264_amf,h264_nvenc,h264_qsv,h264_v4l2m2m,h264_vaapi,hap,hdr,hevc_amf,hevc_nvenc,hevc_qsv,hevc_v4l2m2m,hevc_vaapi,huffyuv,ilbc,jpeg2000,jpegls,libaom,libaom_av1,libcodec2,libgsm,libgsm_ms,libilbc,libjxl,liblc3,libmp3lame,libopencore_amrnb,libopenh264,libopenjpeg,libopus,librav1e,libspeex,libsvtav1,libtheora,libtwolame,libvo_amrwbenc,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,libxvid,mjpeg,mjpeg_qsv,mjpeg_vaapi,mlp,mp2,mp2fixed,mpeg1video,mpeg2_qsv,mpeg2_vaapi,mpeg2video,mpeg4,mpeg4_v4l2m2m,msmpeg4v2,msmpeg4v3,msvideo1,nellymoser,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,phm,png,ppm,prores,prores_aw,prores_k\ns,qoi,qtrle,r10k,r210,ra_144,rawvideo,roq,roq_dpcm,rpza,rv10,rv20,s302m,sbc,sgi,smc,snow,sonic,sonic_ls,speedhq,srt,ssa,subrip,sunrast,svq1,targa,text,tiff,truehd,tta,ttml,utvideo,v210,v308,v408,v410,vc1_qsv,vc1_v4l2m2m,vc2,vnull,vorbis,vp8_qsv,vp8_v4l2m2m,vp8_vaapi,vp9_qsv,vp9_vaapi,wavpack,wbmp,webvtt,wmav1,wmav2,wmv1,wmv2,wrapped_avframe,xbm,xface,xsub,xwd,y41p,yuv4,zlib,zmbv,' --enable-decoder=',aac,aasc,libfdk_aac,ac3,acelp_kelvin,adpcm_4xm,adpcm_adx,adpcm_afc,adpcm_agm,adpcm_aica,adpcm_argo,adpcm_ct,adpcm_dtk,adpcm_ea,adpcm_ea_maxis_xa,adpcm_ea_r1,adpcm_ea_r2,adpcm_ea_r3,adpcm_ea_xas,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_acorn,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apc,adpcm_ima_apm,adpcm_ima_cunning,adpcm_ima_dat4,adpcm_ima_dk3,adpcm_ima_dk4,adpcm_ima_ea_eacs,adpcm_ima_ea_sead,adpcm_ima_iss,adpcm_ima_moflex,adpcm_ima_mtf,adpcm_ima_oki,adpcm_ima_qt,adpcm_ima_qt_at,adpcm_ima_rad,adpcm_ima_smjpeg,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_mtaf,adpcm_psx,adpcm_sbpro_2,adpcm_sbpro_3,adpcm\n_sbpro_4,adpcm_swf,adpcm_thp,adpcm_thp_le,adpcm_vima,adpcm_xa,adpcm_xmd,adpcm_yamaha,adpcm_zork,aic,alac,alias_pix,amrnb,amrwb,amv,anm,ansi,anull,apac,ape,apng,arbc,argo,ass,asv1,asv2,atrac1,atrac3,atrac3al,atrac3p,atrac3pal,aura,aura2,av1,av1_qsv,bethsoftvid,bfi,bink,binkaudio_dct,binkaudio_rdft,bintext,bitpacked,bmp,bmv_audio,bmv_video,bonk,brender_pix,c93,cbd2_dpcm,ccaption,cdgraphics,cdtoons,cdxl,cinepak,clearvideo,cljr,cook,cpia,cscd,cyuv,dca,dds,derf_dpcm,dfa,dfpwm,dirac,dnxhd,dnxhr,dolby_e,dpx,dsd_lsbf,dsd_msbf,dsicinaudio,dsicinvideo,dss_sp,dvaudio,dvbsub,dvdsub,dvvideo,dxa,dxtory,eacmv,eamad,eatgq,eatgv,eatqi,eightbps,eightsvx_exp,eightsvx_fib,escape124,escape130,evrc,exr,ffv1,ffvhuff,ffwavesynth,fits,flac,flashsv,flashsv2,flic,flv,fmvc,fourxm,ftr,g723_1,g729,gdv,gem,gif,gremlin_dpcm,gsm,gsm_ms,gsm_ms_at,h261,h263,h263_v4l2m2m,h263i,h263p,hap,hca,hcom,hdr,hnm4_video,hq_hqa,hqx,huffyuv,hymt,iac,idcin,idf,iff_ilbm,ilbc,imc,indeo2,indeo3,indeo4,indeo5,interplay_acm,interplay_dpcm,interplay_video,ipu,jac\nosub,jpeg2000,jpegls,jv,kgv1,kmvc,lagarith,libaribb24,libaribcaption,libaom,libaom_av1,libcodec2,libdav1d,libgsm,libgsm_ms,libilbc,libjxl,liblc3,libopencore_amrnb,libopencore_amrwb,libopenh264,libopenjpeg,libopus,librsvg,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,libzvbi_teletext,loco,lscr,m101,mace3,mace6,mdec,media100,metasound,microdvd,mimic,misc4,mjpeg,mjpeg_qsv,mjpegb,mlp,mmvideo,motionpixels,mp1,mp1float,mp2,mp2float,mp3,mp3adu,mp3adufloat,mp3float,mp3on4,mp3on4float,mpc7,mpc8,mpeg1_v4l2m2m,mpeg1video,mpeg2_qsv,mpeg2_v4l2m2m,mpeg2video,mpeg4,mpeg4_v4l2m2m,mpegvideo,mpl2,msa1,mscc,msmpeg4v1,msmpeg4v2,msmpeg4v3,msnsiren,msp2,msrle,mss1,mss2,msvideo1,mszh,mts2,mv30,mvc1,mvc2,mvdv,mvha,mwsc,mxpeg,nellymoser,nuv,on2avc,opus,paf_audio,paf_video,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_lxf,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24daud,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,p\ncm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_sga,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcm_vidc,pcx,pfm,pgm,pgmyuv,pgssub,pgx,phm,photocd,pictor,pjs,png,ppm,prores,prosumer,psd,ptx,qcelp,qdm2,qdmc,qdraw,qoa,qoi,qpeg,qtrle,r10k,r210,ra_144,ra_288,rasc,rawvideo,realtext,rka,rl2,roq,roq_dpcm,rpza,rscc,rv10,rv20,s302m,sami,sanm,sbc,screenpresso,sdx2_dpcm,sgi,sgirle,shorten,simbiosis_imx,sipr,siren,smackaud,smacker,smc,smvjpeg,snow,sol_dpcm,sonic,sp5x,speedhq,speex,srgc,srt,ssa,stl,subrip,subviewer,subviewer1,sunrast,svq1,svq3,tak,targa,targa_y216,tdsc,text,theora,thp,tiertexseqvideo,tiff,tmv,truehd,truemotion1,truemotion2,truemotion2rt,truespeech,tscc,tscc2,tta,twinvq,txd,ulti,utvideo,v210,v210x,v308,v408,v410,vb,vble,vcr1,vmdaudio,vmdvideo,vmnc,vnull,vorbis,vp3,vp4,vp5,vp6,vp6a,vp6f,vp7,vp8,vp8_qsv,vp8_v4l2m2m,vp9,vp9_qsv,vp9_v4l2m2m,vplayer,vqa,vqc,wady_dpcm,wavarc,wavpack,wbmp,wcmv,webp,webvtt,wmav1,wmav2,wmavoice,wmv1,wmv2,wnv1,wrapped_avframe,ws_snd1,xan_dpcm,xan_wc3,xan_wc4,xbin,\nxbm,xface,xl,xpm,xsub,xwd,y41p,ylc,yop,yuv4,zero12v,zerocodec,zlib,zmbv,'\\n  libavutil      59. 39.100 / 59. 39.100\\n  libavcodec     61. 19.101 / 61. 19.101\\n  libavformat    61.  7.100 / 61.  7.100\\n  libavdevice    61.  3.100 / 61.  3.100\\n  libavfilter    10.  4.100 / 10.  4.100\\n  libswscale      8.  3.100 /  8.  3.100\\n  libswresample   5.  3.100 /  5.  3.100\\n  libpostproc    58.  3.100 / 58.  3.100\\n[mp3 @ 0x563715509380] Format mp3 detected only with low score of 1, misdetection possible!\\n[mp3 @ 0x563715509380] Failed to find two consecutive MPEG audio frames.\\n[in#0 @ 0x5637154e1b00] Error opening input: Invalid data found when processing input\\nError opening input file /tmp/hls_test_1765843042861599124/test.mp3.\\nError opening input files: Invalid data found when processing input\\n\", \"error\": \"exit status 183\"}\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_CreatesDirectory (0.39s)\n\n=== RUN   TestHLSTranscodeService_CountSegments\n\n--- PASS: TestHLSTranscodeService_CountSegments (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_EmptyDir\n\n--- PASS: TestHLSTranscodeService_CountSegments_EmptyDir (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_NonexistentDir\n\n    hls_transcode_service_test.go:231: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_transcode_service_test.go:231\n\n        \tError:      \tAn error is expected but got nil.\n\n        \tTest:       \tTestHLSTranscodeService_CountSegments_NonexistentDir\n\n--- FAIL: TestHLSTranscodeService_CountSegments_NonexistentDir (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0101",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSTranscodeService_CountSegments_NonexistentDir",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSTranscodeService_CountSegments_NonexistentDir$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSTranscodeService_CountSegments_MultipleBitrates",
        "log_excerpt": "=== RUN   TestHLSTranscodeService_CountSegments_MultipleBitrates\n\n--- PASS: TestHLSTranscodeService_CountSegments_MultipleBitrates (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_OnlySegmentFiles\n\n--- PASS: TestHLSTranscodeService_CountSegments_OnlySegmentFiles (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_NonexistentFile\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_NonexistentFile (0.00s)\n\n=== RUN   TestHLSTranscodeService_GenerateMasterPlaylist\n\n--- PASS: TestHLSTranscodeService_GenerateMasterPlaylist (0.00s)\n\n=== RUN   TestHLSTranscodeService_CleanupTrackDir\n\n    hls_transcode_service_test.go:391: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_transcode_service_test.go:391\n\n        \tError:      \tdirectory \"/tmp/hls_test_1765843043261018598/ae68ec54-2f82-44d1-b815-37ffdfdf4376\" exists\n\n        \tTest:       \tTestHLSTranscodeService_CleanupTrackDir\n\n--- FAIL: TestHLSTranscodeService_CleanupTrackDir (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0102",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSTranscodeService_CleanupTrackDir",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSTranscodeService_CleanupTrackDir$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestHLSTranscodeService_TranscodeTrack_WithCustomBitrates (0.41s)",
        "log_excerpt": "--- PASS: TestHLSTranscodeService_TranscodeTrack_WithCustomBitrates (0.41s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_InvalidFormat\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_InvalidFormat (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_EmptyFile\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_EmptyFile (0.00s)\n\n=== RUN   TestHLSTranscodeService_GenerateMasterPlaylist_EmptyBitrates\n\n--- PASS: TestHLSTranscodeService_GenerateMasterPlaylist_EmptyBitrates (0.00s)\n\n=== RUN   TestJWTService\n\n=== RUN   TestJWTService/GenerateAccessToken\n\n--- PASS: TestJWTService/GenerateAccessToken (0.00s)\n\n=== RUN   TestJWTService/GenerateRefreshToken\n\n--- PASS: TestJWTService/GenerateRefreshToken (0.00s)\n\n=== RUN   TestJWTService/VerifyTokenVersion\n\n--- PASS: TestJWTService/VerifyTokenVersion (0.00s)\n\n=== RUN   TestJWTService/ExpiredToken\n\n--- PASS: TestJWTService/ExpiredToken (0.00s)\n\n=== RUN   TestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:99: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:99\n\n        \tError:      \t\"failed to parse token: token has invalid claims: token has invalid issuer\" does not contain \"token has invalid claims: issuer name 'evil.com' is invalid\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:114: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:114\n\n        \tError:      \t\"failed to parse token: token has invalid claims: token has invalid audience\" does not contain \"token has invalid claims: token contains an invalid number of audience claims\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:132: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:132\n\n        \tError:      \t\"failed to parse token: token is unverifiable: error while executing keyfunc: invalid signing algorithm: HS512, expected HS256\" does not contain \"unexpected signing method\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n--- FAIL: TestJWTService/Security_StrictValidation (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0103",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestJWTService/Security_StrictValidation",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestJWTService/Security_StrictValidation$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestJWTService (0.00s)",
        "log_excerpt": "--- FAIL: TestJWTService (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0104",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestJWTService",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestJWTService$ -v",
        "env": {},
        "requires": [
          "postgres",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "postgres",
          "postgres",
          "postgres",
          "postgres",
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestCleanupDatabaseWithOptions_SpecificTables",
        "log_excerpt": "=== RUN   TestCleanupDatabaseWithOptions_SpecificTables\n\n--- PASS: TestTimeoutMiddleware_MultipleConcurrentRequests (0.27s)\n\n=== RUN   TestTimeoutMiddleware_FastHandler_NoTimeout\n\n--- PASS: TestTimeoutMiddleware_FastHandler_NoTimeout (0.01s)\n\n=== RUN   TestTimeoutMiddleware_PassesGivenEnoughTime\n\n--- PASS: TestTimeoutMiddleware_PassesGivenEnoughTime (0.01s)\n\n=== RUN   TestTimeoutMiddleware_ContextTimesOut\n\n--- PASS: TestTimeoutMiddleware_ContextTimesOut (0.01s)\n\nPASS\n\nok  \tveza-backend-api/internal/middleware\t16.786s\n\n--- PASS: TestCleanupDatabaseWithOptions_SpecificTables (0.22s)\n\n=== RUN   TestCleanupSpecificTables\n\n--- PASS: TestCleanupSpecificTables (0.22s)\n\n=== RUN   TestCleanupWithTransaction\n\n--- PASS: TestCleanupWithTransaction (0.02s)\n\n=== RUN   TestRegisterCleanupHook\n\n--- PASS: TestRegisterCleanupHook (0.00s)\n\n=== RUN   TestGetDefaultTables\n\n--- PASS: TestGetDefaultTables (0.00s)\n\n=== RUN   TestSetupTestDB\n\n--- PASS: TestSetupTestDB (0.04s)\n\n=== RUN   TestCleanupTestDB\n\n--- PASS: TestCleanupTestDB (0.01s)\n\n=== RUN   TestResetTestDB\n\n    db_test.go:43: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/db_test.go:43\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestResetTestDB\n\n--- FAIL: TestResetTestDB (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0105",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestResetTestDB",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestResetTestDB$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestGetDBStats",
        "log_excerpt": "=== RUN   TestGetDBStats\n\n--- PASS: TestGetDBStats (0.01s)\n\n=== RUN   TestSetupTestDB_CanCreateRecords\n\n    db_test.go:80: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/db_test.go:80\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestSetupTestDB_CanCreateRecords\n\n--- FAIL: TestSetupTestDB_CanCreateRecords (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0106",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestSetupTestDB_CanCreateRecords",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestSetupTestDB_CanCreateRecords$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestCreateTestUser",
        "log_excerpt": "=== RUN   TestCreateTestUser\n\n--- PASS: TestPasswordService_Compare_ValidPassword/compare_valid_password_with_special_chars (0.63s)\n\n=== RUN   TestPasswordService_Compare_ValidPassword/compare_empty_password\n\n    fixtures_test.go:18: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:18\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestUser\n\n--- FAIL: TestCreateTestUser (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0107",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestUser",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestUser$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestUserWithCustomData\n\n    fixtures_test.go:38: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:38\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestUserWithCustomData\n\n--- FAIL: TestCreateTestUserWithCustomData (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0108",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestUserWithCustomData",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestUserWithCustomData$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestAdmin\n\n    fixtures_test.go:51: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:51\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestAdmin\n\n--- FAIL: TestCreateTestAdmin (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0109",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestAdmin",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestAdmin$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestTrack\n\n    fixtures_test.go:66: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:66\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestTrack\n\n--- FAIL: TestCreateTestTrack (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0110",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestTrack",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestTrack$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestTrackWithCustomData\n\n    fixtures_test.go:85: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:85\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestTrackWithCustomData\n\n--- FAIL: TestCreateTestTrackWithCustomData (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0111",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestTrackWithCustomData",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestTrackWithCustomData$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestPlaylist\n\n    fixtures_test.go:104: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:104\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestPlaylist\n\n--- FAIL: TestCreateTestPlaylist (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0112",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestPlaylist",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestPlaylist$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestRoom\n\n    fixtures_test.go:121: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:121\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestRoom\n\n--- FAIL: TestCreateTestRoom (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0113",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestRoom",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestRoom$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestMessage\n\n    fixtures_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:139\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestMessage\n\n--- FAIL: TestCreateTestMessage (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0114",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestMessage",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestMessage$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestSession\n\n    fixtures_test.go:163: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:163\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestSession\n\n--- FAIL: TestCreateTestSession (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0115",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestSession",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestSession$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateMultipleTestUsers\n\n    fixtures_test.go:180: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:180\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateMultipleTestUsers\n\n--- FAIL: TestCreateMultipleTestUsers (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0116",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateMultipleTestUsers",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateMultipleTestUsers$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateMultipleTestTracks\n\n    fixtures_test.go:203: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:203\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateMultipleTestTracks\n\n--- FAIL: TestCreateMultipleTestTracks (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0117",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateMultipleTestTracks",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateMultipleTestTracks$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestFixtures_ForeignKeyConstraints\n\n    fixtures_test.go:232: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:232\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestFixtures_ForeignKeyConstraints\n\n--- FAIL: TestFixtures_ForeignKeyConstraints (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0118",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestFixtures_ForeignKeyConstraints",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestFixtures_ForeignKeyConstraints$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestGetGoldenFilePath",
        "log_excerpt": "=== RUN   TestGetGoldenFilePath\n\n--- PASS: TestGetGoldenFilePath (0.00s)\n\n=== RUN   TestGoldenFile\n\n--- PASS: TestGoldenFile (0.00s)\n\n=== RUN   TestGoldenFile_Mismatch\n\n    golden.go:48: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden.go:48\n\n        \t            \t\t\t\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden_test.go:87\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: \"expected content\"\n\n        \t            \tactual  : \"actual content\"\n\n        \t            \t\n\n        \t            \tDiff:\n\n        \t            \t--- Expected\n\n        \t            \t+++ Actual\n\n        \t            \t@@ -1 +1 @@\n\n        \t            \t-expected content\n\n        \t            \t+actual content\n\n        \tTest:       \tTestGoldenFile_Mismatch\n\n        \tMessages:   \tGolden file mismatch\n\n    golden_test.go:80: CompareGoldenFile should have failed but didn't\n\n--- FAIL: TestGoldenFile_Mismatch (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0119",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestUpdateGoldenFile",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run TestUpdateGoldenFile -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0119",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestGoldenFile_Mismatch",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestGoldenFile_Mismatch$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestUpdateGoldenFile",
        "log_excerpt": "=== RUN   TestUpdateGoldenFile\n\n    golden_test.go:93: Skipping update test (use -update flag)\n\n--- SKIP: TestUpdateGoldenFile (0.00s)\n\n=== RUN   TestCompareGoldenFile_NotFound\n\n    golden.go:46: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden.go:46\n\n        \t            \t\t\t\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden_test.go:139\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \topen testdata/TestCompareGoldenFile_NotFound_nonexistent_file.txt: no such file or directory\n\n        \tTest:       \tTestCompareGoldenFile_NotFound\n\n        \tMessages:   \tGolden file not found. Run tests with -update flag to create it.\n\n    golden_test.go:135: CompareGoldenFile should have failed for non-existent file\n\n--- FAIL: TestCompareGoldenFile_NotFound (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0121",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCompareGoldenFile_NotFound",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCompareGoldenFile_NotFound$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestSetupParallelTest",
        "log_excerpt": "=== RUN   TestSetupParallelTest\n\n=== PAUSE TestSetupParallelTest\n\n=== RUN   TestRunParallelTests\n\n=== RUN   TestRunParallelTests/test3\n\n=== PAUSE TestRunParallelTests/test3\n\n=== RUN   TestRunParallelTests/test1\n\n=== PAUSE TestRunParallelTests/test1\n\n=== RUN   TestRunParallelTests/test2\n\n=== PAUSE TestRunParallelTests/test2\n\n    parallel_test.go:38: Expected counter to be 3, got 0\n\n=== CONT  TestRunParallelTests/test3\n\n--- FAIL: TestRunParallelTests/test3 (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0122",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestRunParallelTests/test3",
      "failure_type": "panic",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestRunParallelTests/test3$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestRunParallelTests (0.00s)",
        "log_excerpt": "--- FAIL: TestRunParallelTests (0.00s)\n\npanic: testing: t.Parallel called multiple times [recovered]\n\n\tpanic: testing: t.Parallel called multiple times\n\n\n\ngoroutine 586 [running]:\n\ntesting.tRunner.func1.2({0xd145c0, 0xfb69b0})\n\n\t/usr/lib/golang/src/testing/testing.go:1734 +0x21c\n\ntesting.tRunner.func1()\n\n\t/usr/lib/golang/src/testing/testing.go:1737 +0x35e\n\npanic({0xd145c0?, 0xfb69b0?})\n\n\t/usr/lib/golang/src/runtime/panic.go:792 +0x132\n\ntesting.(*T).Parallel(0xd145c0?)\n\n\t/usr/lib/golang/src/testing/testing.go:1538 +0x3b0\n\nveza-backend-api/internal/testutils.SetupParallelTest(...)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel.go:14\n\nveza-backend-api/internal/testutils.TestRunParallelTests.func3(0xc0005c16c0?)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel_test.go:30 +0x1d\n\nveza-backend-api/internal/testutils.RunParallelTests.func1.1(0xc0005c16c0)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel.go:31 +0x34\n\ntesting.tRunner(0xc0005c16c0, 0xc0005427c0)\n\n\t/usr/lib/golang/src/testing/testing.go:1792 +0xf4\n\ncreated by testing.(*T).Run in goroutine 585\n\n\t/usr/lib/golang/src/testing/testing.go:1851 +0x413\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Runtime panic - likely nil pointer, index out of range, or type assertion failure",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed duplicate t.Parallel() calls"
      ]
    },
    {
      "id": "TF-0123",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestRunParallelTests",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestRunParallelTests$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL\tveza-backend-api/internal/testutils\t12.048s",
        "log_excerpt": "FAIL\tveza-backend-api/internal/testutils\t12.048s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0124",
      "scope": "unit",
      "package": "veza-backend-api/internal/testutils",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_HashAndCompare_Integration",
        "log_excerpt": "=== RUN   TestPasswordService_HashAndCompare_Integration\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/simple_password\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/simple_password (0.97s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_uppercase\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_uppercase (1.50s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_special_chars\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_special_chars (1.29s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_spaces\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_spaces (1.47s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_unicode\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_unicode (1.06s)\n\n--- PASS: TestPasswordService_HashAndCompare_Integration (6.30s)\n\n=== RUN   TestPasswordService_Hash_ConsistentCost\n\n--- PASS: TestPasswordService_Hash_ConsistentCost (0.40s)\n\n=== RUN   TestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:270: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:270\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tbcrypt: password length exceeds 72 bytes\n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:271: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:271\n\n        \tError:      \tShould NOT be empty, but was \n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:275: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:275\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n        \tMessages:   \tLong password should still work (truncated by bcrypt)\n\n--- FAIL: TestPasswordService_Hash_ErrorHandling (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0125",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPasswordService_Hash_ErrorHandling",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPasswordService_Hash_ErrorHandling$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_Compare_CaseSensitive",
        "log_excerpt": "=== RUN   TestPasswordService_Compare_CaseSensitive\n\n--- PASS: TestPasswordService_Compare_CaseSensitive (1.95s)\n\n=== RUN   TestPermissionService_HasRole\n\n\r\n\n2025/12/15 18:57:39 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service.go:100 \u001b[35;1mno such column: user_roles.is_active\n\n\u001b[0m\u001b[33m[0.086ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `user_roles` JOIN roles ON user_roles.role_id = roles.id WHERE (user_roles.user_id = \"9516f264-c85a-426b-a98e-2f5dc1d168dc\" AND roles.name = \"admin\" AND user_roles.is_active = true) AND (user_roles.expires_at IS NULL OR user_roles.expires_at > \"2025-12-15 18:57:39.863\")\n\n    permission_service_test.go:61: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service_test.go:61\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to check role: no such column: user_roles.is_active\n\n        \tTest:       \tTestPermissionService_HasRole\n\n--- FAIL: TestPermissionService_HasRole (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0126",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPermissionService_HasRole",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPermissionService_HasRole$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPermissionService_HasPermission",
        "log_excerpt": "=== RUN   TestPermissionService_HasPermission\n\n\r\n\n2025/12/15 18:57:40 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service.go:115 \u001b[35;1mno such column: user_roles.is_active\n\n\u001b[0m\u001b[33m[0.079ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `user_roles` JOIN role_permissions ON user_roles.role_id = role_permissions.role_id JOIN permissions ON role_permissions.permission_id = permissions.id WHERE (user_roles.user_id = \"662ad215-009b-43e9-9162-fa90a26b18e9\" AND permissions.name = \"manage_users\" AND user_roles.is_active = true) AND (user_roles.expires_at IS NULL OR user_roles.expires_at > \"2025-12-15 18:57:40.087\")\n\n    permission_service_test.go:130: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service_test.go:130\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to check permission: no such column: user_roles.is_active\n\n        \tTest:       \tTestPermissionService_HasPermission\n\n--- FAIL: TestPermissionService_HasPermission (0.22s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0127",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPermissionService_HasPermission",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPermissionService_HasPermission$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestNewPlaybackAggregationService (0.01s)",
        "log_excerpt": "--- PASS: TestNewPlaybackAggregationService (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Day\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Day (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Week\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Week (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Month\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Month (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_InvalidTrackID\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_InvalidTrackID (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_TrackNotFound\n\n\r\n\n2025/12/15 18:57:40 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_aggregation_service.go:89 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.112ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"554dfe06-496d-4517-9a54-5fa1b13276e7\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_TrackNotFound (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_InvalidPeriod\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_InvalidPeriod (0.03s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_NoData\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_NoData (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Trends\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Trends (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByDateRange\n\n--- PASS: TestPlaybackAggregationService_AggregateByDateRange (0.01s)\n\n=== RUN   TestPlaybackAggregationService_GetTopTracksByPlayback\n\n    playback_aggregation_service_test.go:500: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_aggregation_service_test.go:500\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(1)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0xbc, 0x55, 0xb5, 0x8a, 0x75, 0x70, 0x44, 0xe, 0x9c, 0xf6, 0xc7, 0x5b, 0xab, 0x53, 0xe1, 0x15})\n\n        \tTest:       \tTestPlaybackAggregationService_GetTopTracksByPlayback\n\n--- FAIL: TestPlaybackAggregationService_GetTopTracksByPlayback (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0128",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAggregationService_GetTopTracksByPlayback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAggregationService_GetTopTracksByPlayback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:57:40.881-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"16b4a1ef-09ee-44d3-9613-509d67a2a1b6\", \"alerts_count\": 2}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:57:40.881-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"16b4a1ef-09ee-44d3-9613-509d67a2a1b6\", \"alerts_count\": 2}\n\n--- PASS: TestPlaybackAlertsService_DetectAnomalies (0.02s)\n\n=== RUN   TestPlaybackAlertsService_CalculateMeanAndStdDev\n\n--- PASS: TestPlaybackAlertsService_CalculateMeanAndStdDev (0.01s)\n\n=== RUN   TestPlaybackAlertsService_CalculateMeanAndStdDev_Empty\n\n--- PASS: TestPlaybackAlertsService_CalculateMeanAndStdDev_Empty (0.04s)\n\n=== RUN   TestPlaybackAlertsService_CheckAlerts_WithCustomConfig\n\n    logger.go:146: 2025-12-15T18:57:40.937-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"ac235db5-3dc8-4bf4-b96a-f196df0a2d75\", \"alerts_count\": 2}\n\n--- PASS: TestPlaybackAlertsService_CheckAlerts_WithCustomConfig (0.01s)\n\n=== RUN   TestPlaybackAlertsService_DetectLowCompletionRate_HighPercentage\n\n    logger.go:146: 2025-12-15T18:57:40.982-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"7a6da613-9a40-493d-b86e-b4cb2bc50148\", \"alerts_count\": 3}\n\n--- PASS: TestPlaybackAlertsService_DetectLowCompletionRate_HighPercentage (0.04s)\n\n=== RUN   TestPlaybackAlertsService_DetectDropOffPoints_NoDropOff\n\n    logger.go:146: 2025-12-15T18:57:40.996-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"a8f2d12a-466c-485a-befd-0e3d35a0f267\", \"alerts_count\": 0}\n\n--- PASS: TestPlaybackAlertsService_DetectDropOffPoints_NoDropOff (0.01s)\n\n=== RUN   TestNewPlaybackAnalyticsService\n\n--- PASS: TestNewPlaybackAnalyticsService (0.00s)\n\n=== RUN   TestNewPlaybackAnalyticsService_NilLogger\n\n--- PASS: TestNewPlaybackAnalyticsService_NilLogger (0.00s)\n\n=== RUN   TestPlaybackAnalyticsService_CalculateCompletionRate\n\n--- PASS: TestPlaybackAnalyticsService_CalculateCompletionRate (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_Success\n\n    logger.go:146: 2025-12-15T18:57:41.022-0500\tINFO\tPlayback analytics recorded\t{\"id\": \"3f77ad67-ff2b-43e2-8f9d-331a2dc3c86e\", \"track_id\": \"bf03a330-d250-426e-8bc2-f8594bef378f\", \"user_id\": \"090ed68b-c649-4d5b-8e36-cb92c2a49396\", \"play_time\": 120, \"completion_rate\": 66.66666666666666}\n\n    playback_analytics_service_test.go:122: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:122\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 66.67\n\n        \t            \tactual  : 66.66666666666666\n\n        \tTest:       \tTestPlaybackAnalyticsService_RecordPlayback_Success\n\n--- FAIL: TestPlaybackAnalyticsService_RecordPlayback_Success (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0129",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_RecordPlayback_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_RecordPlayback_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidUserID\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidUserID (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_TrackNotFound\n\n\r\n\n2025/12/15 18:57:41 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:84 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[2.120ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"a1621cf1-bd5f-403c-b4cd-04c433548371\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_TrackNotFound (0.03s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidCompletionRate\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidCompletionRate (0.04s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_ZeroStartedAt\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_ZeroStartedAt (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetTrackStats\n\n    playback_analytics_service_test.go:288: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:288\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 33.33\n\n        \t            \tactual  : 33.33333333333333\n\n        \tTest:       \tTestPlaybackAnalyticsService_GetTrackStats\n\n--- FAIL: TestPlaybackAnalyticsService_GetTrackStats (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0130",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_GetTrackStats",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_GetTrackStats$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsService_GetTrackStats_NoSessions",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsService_GetTrackStats_NoSessions\n\n--- PASS: TestPlaybackAnalyticsService_GetTrackStats_NoSessions (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetTrackStats_TrackNotFound\n\n\r\n\n2025/12/15 18:57:41 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:275 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.102ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"6959fc01-68b1-446f-beb2-5f28f98ab853\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_GetTrackStats_TrackNotFound (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetUserStats\n\n--- PASS: TestPlaybackAnalyticsService_GetUserStats (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetUserStats_UserNotFound\n\n\r\n\n2025/12/15 18:57:41 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:370 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.208ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `users` WHERE `users`.`id` = \"ae1de76e-e647-47a2-98f6-e8004c375840\" AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_GetUserStats_UserNotFound (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_GetSessionsByDateRange\n\n    playback_analytics_service_test.go:419: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:419\n\n        \tError:      \t\"[]\" should have 3 item(s), but has 0\n\n        \tTest:       \tTestPlaybackAnalyticsService_GetSessionsByDateRange\n\n--- FAIL: TestPlaybackAnalyticsService_GetSessionsByDateRange (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0131",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_GetSessionsByDateRange",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_GetSessionsByDateRange$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestPlaybackComparisonService_CompareUsers_InvalidUserID (0.01s)",
        "log_excerpt": "--- PASS: TestPlaybackComparisonService_CompareUsers_InvalidUserID (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CompareUsers_TrackNotFound\n\n\r\n\n2025/12/15 18:57:41 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_comparison_service.go:371 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.170ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"f62466d6-5aba-4c32-bcf3-6b570647ee44\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackComparisonService_CompareUsers_TrackNotFound (0.02s)\n\n=== RUN   TestPlaybackComparisonService_CompareUsers_UserNotFound\n\n\r\n\n2025/12/15 18:57:41 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_comparison_service.go:386 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.894ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `users` WHERE `users`.`id` = \"83bdb603-5aa5-4b18-a666-0d834c59c706\" AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT 1\n\n--- PASS: TestPlaybackComparisonService_CompareUsers_UserNotFound (0.04s)\n\n=== RUN   TestPlaybackComparisonService_CalculateDifference\n\n--- PASS: TestPlaybackComparisonService_CalculateDifference (0.05s)\n\n=== RUN   TestPlaybackComparisonService_CalculatePercentageChange\n\n--- PASS: TestPlaybackComparisonService_CalculatePercentageChange (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CalculatePercentageChange_ZeroBase\n\n--- PASS: TestPlaybackComparisonService_CalculatePercentageChange_ZeroBase (0.01s)\n\n=== RUN   TestPlaybackComparisonService_GetPeriodDates\n\n--- PASS: TestPlaybackComparisonService_GetPeriodDates (0.02s)\n\n=== RUN   TestNewPlaybackExportService\n\n--- PASS: TestNewPlaybackExportService (0.00s)\n\n=== RUN   TestNewPlaybackExportService_NilLogger\n\n--- PASS: TestNewPlaybackExportService_NilLogger (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_Success\n\n    logger.go:146: 2025-12-15T18:57:41.977-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_Success1882804287/001/test.csv\", \"count\": 2}\n\n    playback_export_service_test.go:85: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_export_service_test.go:85\n\n        \tError:      \t\"ID,Track ID,User ID,Play Time (seconds),Pause Count,Seek Count,Completion Rate (%),Started At,Ended At,Created At\\n[125 54 162 128 53 211 77 231 163 123 100 14 193 52 50 51],[252 126 246 221 64 66 66 139 152 140 200 223 206 51 69 59],[85 133 146 243 159 159 71 0 180 160 60 103 15 213 12 8],120,2,3,75.00,2025-12-15T18:57:41-05:00,,2025-12-15T18:57:41-05:00\\n[254 238 161 232 89 115 72 44 130 145 171 34 98 206 219 99],[252 126 246 221 64 66 66 139 152 140 200 223 206 51 69 59],[4 84 98 201 182 199 78 11 178 29 64 216 63 9 212 73],150,1,2,90.00,2025-12-15T18:57:41-05:00,2025-12-15T18:57:41-05:00,2025-12-15T18:57:41-05:00\\n\" does not contain \"7d36a280-35d3-4de7-a37b-640ec1343233\"\n\n        \tTest:       \tTestPlaybackExportService_ExportCSV_Success\n\n--- FAIL: TestPlaybackExportService_ExportCSV_Success (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0132",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackExportService_ExportCSV_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackExportService_ExportCSV_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:57:41.979-0500\tINFO\tAnalytics exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportJSON_Success1707056698/001/test.json\", \"count\": 1}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:57:41.979-0500\tINFO\tAnalytics exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportJSON_Success1707056698/001/test.json\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportJSON_Success (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportJSON_EmptyData\n\n--- PASS: TestPlaybackExportService_ExportJSON_EmptyData (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_CSV\n\n    logger.go:146: 2025-12-15T18:57:41.982-0500\tINFO\tAnalytics report exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportReport_CSV1705785488/001/report.csv\", \"count\": 2}\n\n--- PASS: TestPlaybackExportService_ExportReport_CSV (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_JSON\n\n    logger.go:146: 2025-12-15T18:57:41.983-0500\tINFO\tAnalytics report exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportReport_JSON1211004760/001/report.json\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportReport_JSON (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_InvalidFormat\n\n--- PASS: TestPlaybackExportService_ExportReport_InvalidFormat (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_EmptyData\n\n--- PASS: TestPlaybackExportService_ExportReport_EmptyData (0.00s)\n\n=== RUN   TestPlaybackExportService_calculateReportStats\n\n--- PASS: TestPlaybackExportService_calculateReportStats (0.00s)\n\n=== RUN   TestPlaybackExportService_calculateReportStats_Empty\n\n--- PASS: TestPlaybackExportService_calculateReportStats_Empty (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_WithEndedAt\n\n    logger.go:146: 2025-12-15T18:57:41.986-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_WithEndedAt3704254656/001/test.csv\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportCSV_WithEndedAt (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_WithoutEndedAt\n\n    logger.go:146: 2025-12-15T18:57:41.987-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_WithoutEndedAt474607731/001/test.csv\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportCSV_WithoutEndedAt (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportToWriter_CSV\n\n    playback_export_service_test.go:433: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_export_service_test.go:433\n\n        \tError:      \t\"ID,Track ID,User ID,Play Time (seconds),Pause Count,Seek Count,Completion Rate (%),Started At,Ended At,Created At\\n[243 245 21 0 194 161 76 43 147 126 47 222 42 147 233 27],[84 252 138 90 133 48 64 71 163 118 49 73 95 51 68 208],[238 127 248 187 166 131 72 174 189 27 229 154 191 53 8 251],120,0,0,75.00,2025-12-15T18:57:41-05:00,,2025-12-15T18:57:41-05:00\\n\" does not contain \"f3f51500-c2a1-4c2b-937e-2fde2a93e91b\"\n\n        \tTest:       \tTestPlaybackExportService_ExportToWriter_CSV\n\n--- FAIL: TestPlaybackExportService_ExportToWriter_CSV (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0133",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackExportService_ExportToWriter_CSV",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackExportService_ExportToWriter_CSV$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found",
        "log_excerpt": "\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[1.487ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"648b9174-02f0-467b-9352-b951d99f94be\" AND playlist_id = \"121ba029-b791-4ed5-94df-db50fb37bb00\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist (0.05s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_OwnPlaylist\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_OwnPlaylist (0.06s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_NotFound\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:37 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.166ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlists` WHERE id = \"595937c7-7c7a-428d-9801-5e3f83a2836a\" AND `playlists`.`deleted_at` IS NULL ORDER BY `playlists`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_NotFound (0.03s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_Idempotent\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.199ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"74a1c019-b5b2-474d-bb92-20b179282c84\" AND playlist_id = \"ac7f5d9a-dfd4-46f3-928c-47fce16946d8\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_Idempotent (0.01s)\n\n=== RUN   TestPlaylistFollowService_UnfollowPlaylist\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.131ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"7b52ae77-c83e-432b-987d-7317d849245c\" AND playlist_id = \"7a7bb625-1fe6-45c4-aed3-761b965f4c07\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:105 \u001b[35;1mno such function: GREATEST\n\n\u001b[0m\u001b[33m[0.054ms] \u001b[34;1m[rows:0]\u001b[0m UPDATE `playlists` SET `follower_count`=GREATEST(follower_count - 1, 0) WHERE `playlists`.`deleted_at` IS NULL AND `id` = \"7a7bb625-1fe6-45c4-aed3-761b965f4c07\"\n\n    playlist_follow_service_test.go:238: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service_test.go:238\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 0\n\n        \t            \tactual  : 1\n\n        \tTest:       \tTestPlaylistFollowService_UnfollowPlaylist\n\n--- FAIL: TestPlaylistFollowService_UnfollowPlaylist (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0134",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistFollowService_UnfollowPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistFollowService_UnfollowPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistFollowService_UnfollowPlaylist_Idempotent",
        "log_excerpt": "=== RUN   TestPlaylistFollowService_UnfollowPlaylist_Idempotent\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:89 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.366ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"e5b1fb97-ccea-4c1a-a87e-d01acbc8cd7d\" AND playlist_id = \"8d3b4583-57bc-460a-8141-54c62e952f40\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_UnfollowPlaylist_Idempotent (0.01s)\n\n=== RUN   TestPlaylistFollowService_IsFollowing\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[1.591ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"02768827-781b-431c-be83-9bc5b2ae7f22\" AND playlist_id = \"53033e99-6db2-408e-8105-6d0f125763e7\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_IsFollowing (0.01s)\n\n=== RUN   TestPlaylistFollowService_GetPlaylistFollowersCount\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.303ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"effad8bc-891d-4231-b733-c68264d2b44b\" AND playlist_id = \"7198f9ab-f916-4c1d-ad09-ab17ed0af354\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.115ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"c14b4122-fe56-403a-ae6e-07c83363146f\" AND playlist_id = \"7198f9ab-f916-4c1d-ad09-ab17ed0af354\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_GetPlaylistFollowersCount (0.01s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_ByQuery\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_repository.go:186 \u001b[35;1mno such column: title\n\n\u001b[0m\u001b[33m[0.081ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `playlists` WHERE ((title LIKE \"%Rock%\" OR description LIKE \"%Rock%\")) AND `playlists`.`deleted_at` IS NULL\n\n    playlist_service_search_test.go:110: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:110\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to search playlists: no such column: title\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_ByQuery\n\n--- FAIL: TestPlaylistService_SearchPlaylists_ByQuery (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0135",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_ByQuery",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_ByQuery$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_ByUserID",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_ByUserID\n\n--- PASS: TestPlaylistService_SearchPlaylists_ByUserID (0.02s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_ByIsPublic\n\n--- PASS: TestPlaylistService_SearchPlaylists_ByIsPublic (0.02s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists\n\n    playlist_service_search_test.go:204: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:204\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_OwnPrivatePlaylists\n\n        \tMessages:   \tShould find own private playlist\n\n--- FAIL: TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0136",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_Unauthenticated",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_Unauthenticated\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_repository.go:186 \u001b[35;1mno such column: title\n\n\u001b[0m\u001b[33m[0.053ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `playlists` WHERE ((title LIKE \"%Playlist%\" OR description LIKE \"%Playlist%\")) AND is_public = true AND `playlists`.`deleted_at` IS NULL\n\n    playlist_service_search_test.go:221: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:221\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to search playlists: no such column: title\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_Unauthenticated\n\n--- FAIL: TestPlaylistService_SearchPlaylists_Unauthenticated (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0137",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_Unauthenticated",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_Unauthenticated$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_Pagination",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_Pagination\n\n--- PASS: TestPlaylistService_SearchPlaylists_Pagination (0.01s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_EmptyQuery\n\n--- PASS: TestPlaylistService_SearchPlaylists_EmptyQuery (0.01s)\n\n=== RUN   TestPlaylistService_CreatePlaylist\n\n--- PASS: TestPlaylistService_CreatePlaylist (0.01s)\n\n=== RUN   TestPlaylistService_AddTrackToPlaylist\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:78 \u001b[35;1mno such column: position\n\n\u001b[0m\u001b[33m[0.046ms] \u001b[34;1m[rows:-]\u001b[0m SELECT COALESCE(MAX(position), 0) FROM `playlist_tracks` WHERE playlist_id = \"cb71c9ab-8669-49e3-ab48-631dd854d3b9\"\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:98 \u001b[35;1mtable playlist_tracks has no column named id\n\n\u001b[0m\u001b[33m[0.156ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `playlist_tracks` (`id`,`playlist_id`,`track_id`,`position`,`added_by`,`added_at`) VALUES (\"e4e5c13b-9a49-4d0e-a0fc-fcde2e383cfe\",\"cb71c9ab-8669-49e3-ab48-631dd854d3b9\",\"f00f3afd-159c-42f2-b4dd-b77ca703866b\",1,\"00000000-0000-0000-0000-000000000000\",\"2025-12-15 18:57:43.479\")\n\n    playlist_service_test.go:127: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:127\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to add track to playlist: table playlist_tracks has no column named id\n\n        \tTest:       \tTestPlaylistService_AddTrackToPlaylist\n\n    playlist_service_test.go:132: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:132\n\n        \tError:      \t\"[]\" should have 1 item(s), but has 0\n\n        \tTest:       \tTestPlaylistService_AddTrackToPlaylist\n\n--- FAIL: TestPlaylistService_AddTrackToPlaylist (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0138",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_AddTrackToPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_AddTrackToPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_RemoveTrackFromPlaylist",
        "log_excerpt": "=== RUN   TestPlaylistService_RemoveTrackFromPlaylist\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:78 \u001b[35;1mno such column: position\n\n\u001b[0m\u001b[33m[0.038ms] \u001b[34;1m[rows:-]\u001b[0m SELECT COALESCE(MAX(position), 0) FROM `playlist_tracks` WHERE playlist_id = \"5001ba3d-b891-435c-b7e8-841b5b74c626\"\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:98 \u001b[35;1mtable playlist_tracks has no column named id\n\n\u001b[0m\u001b[33m[0.081ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `playlist_tracks` (`id`,`playlist_id`,`track_id`,`position`,`added_by`,`added_at`) VALUES (\"a507c867-fc3e-4d38-93a6-4d875c900cb7\",\"5001ba3d-b891-435c-b7e8-841b5b74c626\",\"876391a1-e944-4f21-9352-333bb6d5b4ed\",1,\"00000000-0000-0000-0000-000000000000\",\"2025-12-15 18:57:43.497\")\n\n    playlist_service_test.go:158: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:158\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to add track to playlist: table playlist_tracks has no column named id\n\n        \tTest:       \tTestPlaylistService_RemoveTrackFromPlaylist\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:119 \u001b[35;1mno such column: playlist_tracks.id\n\n\u001b[0m\u001b[33m[0.035ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_tracks` WHERE playlist_id = \"5001ba3d-b891-435c-b7e8-841b5b74c626\" AND track_id = \"876391a1-e944-4f21-9352-333bb6d5b4ed\" ORDER BY `playlist_tracks`.`id` LIMIT 1\n\n    playlist_service_test.go:162: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:162\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to remove track from playlist: no such column: playlist_tracks.id\n\n        \tTest:       \tTestPlaylistService_RemoveTrackFromPlaylist\n\n--- FAIL: TestPlaylistService_RemoveTrackFromPlaylist (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0139",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_RemoveTrackFromPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_RemoveTrackFromPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestRefreshTokenService_StoreMultipleTokens (0.01s)",
        "log_excerpt": "--- PASS: TestRefreshTokenService_StoreMultipleTokens (0.01s)\n\n=== RUN   TestRefreshTokenService_Validate_AfterRevokeOne\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/refresh_token_service.go:49 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.212ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `refresh_tokens` WHERE (user_id = \"877b3e3d-fe1b-496f-a300-780641eb315d\" AND token_hash = \"3f08aace122ee2368432c1ca23a049bc640bafbf00fdf33a52429f38ba12dbf9\") AND `refresh_tokens`.`deleted_at` IS NULL ORDER BY `refresh_tokens`.`id` LIMIT 1\n\n--- PASS: TestRefreshTokenService_Validate_AfterRevokeOne (0.02s)\n\n=== RUN   TestRoomService_CreateRoom\n\n--- PASS: TestRoomService_CreateRoom (0.02s)\n\n=== RUN   TestRoomService_GetUserRooms\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/room_repository.go:47 \u001b[35;1mno such column: room_members.deleted_at\n\n\u001b[0m\u001b[33m[0.079ms] \u001b[34;1m[rows:0]\u001b[0m SELECT `rooms`.`id`,`rooms`.`name`,`rooms`.`description`,`rooms`.`room_type`,`rooms`.`is_private`,`rooms`.`created_by`,`rooms`.`created_at`,`rooms`.`updated_at`,`rooms`.`deleted_at` FROM `rooms` JOIN room_members ON rooms.id = room_members.room_id WHERE (room_members.user_id = \"90eecda2-8f31-4c06-8d62-5d2422d0c933\" AND room_members.deleted_at IS NULL) AND `rooms`.`deleted_at` IS NULL\n\n    room_service_test.go:90: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:90\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to get user rooms: no such column: room_members.deleted_at\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:91: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:91\n\n        \tError:      \t\"[]\" should have 2 item(s), but has 0\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:103: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:103\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:104: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:104\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n--- FAIL: TestRoomService_GetUserRooms (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0140",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestRoomService_GetUserRooms",
      "failure_type": "panic",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestRoomService_GetUserRooms$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestRoomService_GetRoomHistory",
        "log_excerpt": "=== RUN   TestRoomService_GetRoomHistory\n\n\r\n\n2025/12/15 18:57:43 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/chat_message_repository.go:27 \u001b[35;1mno such column: conversation_id\n\n\u001b[0m\u001b[33m[0.067ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `messages` WHERE conversation_id = \"a00243e5-5381-40e3-bd49-2cd795554372\" AND is_deleted = false ORDER BY created_at DESC LIMIT 10\n\n    room_service_test.go:127: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:127\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to get room history: failed to get conversation messages: no such column: conversation_id\n\n        \tTest:       \tTestRoomService_GetRoomHistory\n\n    room_service_test.go:128: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:128\n\n        \tError:      \t\"[]\" should have 3 item(s), but has 0\n\n        \tTest:       \tTestRoomService_GetRoomHistory\n\n--- FAIL: TestRoomService_GetRoomHistory (0.01s)\n\npanic: runtime error: index out of range [0] with length 0 [recovered]\n\n\tpanic: runtime error: index out of range [0] with length 0\n\n\n\ngoroutine 1711 [running]:\n\ntesting.tRunner.func1.2({0x1345360, 0xc0004f10f8})\n\n\t/usr/lib/golang/src/testing/testing.go:1734 +0x21c\n\ntesting.tRunner.func1()\n\n\t/usr/lib/golang/src/testing/testing.go:1737 +0x35e\n\npanic({0x1345360?, 0xc0004f10f8?})\n\n\t/usr/lib/golang/src/runtime/panic.go:792 +0x132\n\nveza-backend-api/internal/services.TestRoomService_GetRoomHistory(0xc000704700)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:129 +0x688\n\ntesting.tRunner(0xc000704700, 0x1430ed0)\n\n\t/usr/lib/golang/src/testing/testing.go:1792 +0xf4\n\ncreated by testing.(*T).Run in goroutine 1\n\n\t/usr/lib/golang/src/testing/testing.go:1851 +0x413\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Runtime panic - likely nil pointer, index out of range, or type assertion failure",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed repository column name issues"
      ]
    },
    {
      "id": "TF-0141",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "TestRoomService_GetRoomHistory",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestRoomService_GetRoomHistory$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL\tveza-backend-api/internal/services\t27.964s",
        "log_excerpt": "FAIL\tveza-backend-api/internal/services\t27.964s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0142",
      "scope": "unit",
      "package": "veza-backend-api/internal/services",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0143",
      "scope": "unit",
      "package": "veza-backend-api/tests/transactions",
      "test": "<compile>",
      "failure_type": "compile",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests/transactions -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "tests/transactions/playlist_duplicate_transaction_test.go:80:13: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "log_excerpt": "tests/transactions/playlist_duplicate_transaction_test.go:80:13: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "source_files": [
          {
            "path": "tests/transactions/playlist_duplicate_transaction_test.go",
            "hint_lines": [
              80
            ]
          }
        ]
      },
      "analysis": {
        "likely_root_cause": "Compilation error: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "Fix compilation error at tests/transactions/playlist_duplicate_transaction_test.go:80",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed compilation error: FileID pointer issue",
        "Fixed compilation error: FileID pointer issue"
      ]
    },
    {
      "id": "TF-0001",
      "scope": "integration",
      "package": "veza-backend-api/cmd/api",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/api -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0002",
      "scope": "integration",
      "package": "veza-backend-api/cmd/generate-config-docs",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/generate-config-docs -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0003",
      "scope": "integration",
      "package": "veza-backend-api/cmd/migrate_tool",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/migrate_tool -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0004",
      "scope": "integration",
      "package": "veza-backend-api/cmd/modern-server",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/modern-server -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0005",
      "scope": "integration",
      "package": "veza-backend-api/cmd/tools/hash_gen",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/tools/hash_gen -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0006",
      "scope": "integration",
      "package": "veza-backend-api/docs",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/docs -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0007",
      "scope": "integration",
      "package": "veza-backend-api/internal/api",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0008",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/admin",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/admin -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0009",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/chat",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/chat -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0010",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/collaboration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/collaboration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0011",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/contest",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/contest -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0012",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/education",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/education -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0013",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/graphql",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/graphql -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0014",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/grpc",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/grpc -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0015",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/listing",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/listing -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0016",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/handlers",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/handlers -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0017",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/message",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/message -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0018",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/offer",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/offer -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0019",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/production_challenge",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/production_challenge -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0020",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/room",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/room -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0021",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/search",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/search -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0022",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/shared_resources",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/shared_resources -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0023",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/sound_design_contest",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/sound_design_contest -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0024",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/tag",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/tag -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0025",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/track",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/track -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0026",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/user",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/user -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0027",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/voting_system",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/voting_system -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0028",
      "scope": "integration",
      "package": "veza-backend-api/internal/api/websocket",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/websocket -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0029",
      "scope": "integration",
      "package": "veza-backend-api/internal/core/auth",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/auth -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0030",
      "scope": "integration",
      "package": "veza-backend-api/internal/core/collaboration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/collaboration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0031",
      "scope": "integration",
      "package": "veza-backend-api/internal/core/education",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/education -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0032",
      "scope": "integration",
      "package": "veza-backend-api/internal/core/marketplace",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/marketplace -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0033",
      "scope": "integration",
      "package": "veza-backend-api/internal/core/social",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/social -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0034",
      "scope": "integration",
      "package": "veza-backend-api/internal/dto",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/dto -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0035",
      "scope": "integration",
      "package": "veza-backend-api/internal/eventbus",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/eventbus -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0036",
      "scope": "integration",
      "package": "veza-backend-api/internal/features",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/features -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0037",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestRunMigrations_TransactionRollback",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestRunMigrations_TransactionRollback -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0038",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestNewDB",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestNewDB -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0039",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestCloseDB",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestCloseDB -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0040",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestGetPoolStats",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestGetPoolStats -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0041",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestIsConnectionHealthy",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestIsConnectionHealthy -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0042",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestIsConnectionHealthy_Timeout",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestIsConnectionHealthy_Timeout -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0043",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_ConnectionPooling",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_ConnectionPooling -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0044",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_MaxConnections",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_MaxConnections -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0045",
      "scope": "integration",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_Performance",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_Performance -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0046",
      "scope": "integration",
      "package": "veza-backend-api/internal/infrastructure/eventbus",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/eventbus -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0047",
      "scope": "integration",
      "package": "veza-backend-api/internal/infrastructure/events",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/events -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0048",
      "scope": "integration",
      "package": "veza-backend-api/internal/infrastructure/ssl",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/ssl -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0049",
      "scope": "integration",
      "package": "veza-backend-api/internal/interfaces",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/interfaces -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0050",
      "scope": "integration",
      "package": "veza-backend-api/internal/repository",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/repository -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0051",
      "scope": "integration",
      "package": "veza-backend-api/internal/response",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/response -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0052",
      "scope": "integration",
      "package": "veza-backend-api/internal/security",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/security -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0053",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestCreatePlaylist_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestCreatePlaylist_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestNewLoggerWithRotation_Production",
        "log_excerpt": "=== RUN   TestNewLoggerWithRotation_Production\n\n--- PASS: TestPlaybackAnalytics_EndedAtOptional (0.01s)\n\n=== RUN   TestPlaylistPermission_IsValid\n\n=== RUN   TestPlaylistPermission_IsValid/read_permission_is_valid\n\n--- PASS: TestPlaylistPermission_IsValid/read_permission_is_valid (0.00s)\n\n=== RUN   TestPlaylistPermission_IsValid/write_permission_is_valid\n\n--- PASS: TestPlaylistPermission_IsValid/write_permission_is_valid (0.00s)\n\n=== RUN   TestPlaylistPermission_IsValid/admin_permission_is_valid\n\n--- PASS: TestPlaylistPermission_IsValid/admin_permission_is_valid (0.00s)\n\n=== RUN   TestPlaylistPermission_IsValid/invalid_permission\n\n--- PASS: TestPlaylistPermission_IsValid/invalid_permission (0.00s)\n\n--- PASS: TestPlaylistPermission_IsValid (0.00s)\n\n=== RUN   TestPlaylistPermission_String\n\n=== RUN   TestPlaylistPermission_String/read_permission_string\n\n--- PASS: TestPlaylistPermission_String/read_permission_string (0.00s)\n\n=== RUN   TestPlaylistPermission_String/write_permission_string\n\n--- PASS: TestPlaylistPermission_String/write_permission_string (0.00s)\n\n=== RUN   TestPlaylistPermission_String/admin_permission_string\n\n--- PASS: TestPlaylistPermission_String/admin_permission_string (0.00s)\n\n--- PASS: TestPlaylistPermission_String (0.00s)\n\n=== RUN   TestPlaylistCollaborator_Create\n\n--- PASS: TestGetPlaylist_Public (0.05s)\n\n=== RUN   TestGetPlaylist_Private_Unauthorized\n\n    playlist_handler_integration_test.go:324: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_handler_integration_test.go:324\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 200\n\n        \tTest:       \tTestGetPlaylist_Private_Unauthorized\n\n--- FAIL: TestGetPlaylist_Private_Unauthorized (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0054",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestGetPlaylist_Private_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestGetPlaylist_Private_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylist_CascadeDeleteUser",
        "log_excerpt": "=== RUN   TestPlaylist_CascadeDeleteUser\n\n--- PASS: TestPlaylist_CascadeDeleteUser (0.01s)\n\n=== RUN   TestPlaylistTrack_Create\n\n--- PASS: TestPlaylistRepository_Exists (0.15s)\n\n=== RUN   TestPlaylistRepository_List\n\n--- PASS: TestPlaylistTrack_Create (0.01s)\n\n=== RUN   TestPlaylistTrack_Position\n\n--- PASS: TestPlaylistTrack_Position (0.00s)\n\n=== RUN   TestPlaylistTrack_CascadeDeletePlaylist\n\n--- PASS: TestListPlaylists_FilterByUser (0.04s)\n\n=== RUN   TestAddTrackToPlaylist_Success\n\n--- PASS: TestPlaylistTrack_CascadeDeletePlaylist (0.01s)\n\n=== RUN   TestPlaylistTrack_CascadeDeleteTrack\n\n--- PASS: TestPlaylistTrack_CascadeDeleteTrack (0.00s)\n\n=== RUN   TestPlaylist_TableName\n\n--- PASS: TestPlaylist_TableName (0.00s)\n\n=== RUN   TestPlaylistTrack_TableName\n\n--- PASS: TestPlaylistTrack_TableName (0.00s)\n\n=== RUN   TestPlaylist_DefaultValues\n\n    playlist_track_handler_integration_test.go:143: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:143\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"track added to playlist\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestAddTrackToPlaylist_Success\n\n    playlist_track_handler_integration_test.go:144: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:144\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"track added to playlist\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestAddTrackToPlaylist_Success\n\n--- FAIL: TestAddTrackToPlaylist_Success (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0055",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestAddTrackToPlaylist_Ownership",
        "log_excerpt": "=== RUN   TestAddTrackToPlaylist_Ownership\n\n--- PASS: TestPlaylist_DefaultValues (0.01s)\n\n=== RUN   TestPlaylistTrack_UniqueConstraint\n\n    playlist_track_handler_integration_test.go:201: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:201\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:16Z\"})\n\n        \tTest:       \tTestAddTrackToPlaylist_Ownership\n\n--- FAIL: TestAddTrackToPlaylist_Ownership (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0056",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestAddTrackToPlaylist_Unauthorized",
        "log_excerpt": "=== RUN   TestAddTrackToPlaylist_Unauthorized\n\n--- PASS: TestPlaylistTrack_UniqueConstraint (0.01s)\n\n=== RUN   TestRole_TableName\n\n--- PASS: TestRole_TableName (0.00s)\n\n=== RUN   TestPermission_TableName\n\n--- PASS: TestPermission_TableName (0.00s)\n\n=== RUN   TestUserRole_TableName\n\n--- PASS: TestUserRole_TableName (0.00s)\n\n=== RUN   TestRolePermission_TableName\n\n--- PASS: TestRolePermission_TableName (0.00s)\n\n=== RUN   TestRole_Create\n\n    playlist_track_handler_integration_test.go:235: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:235\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 401\n\n        \t            \tactual  : 403\n\n        \tTest:       \tTestAddTrackToPlaylist_Unauthorized\n\n--- FAIL: TestAddTrackToPlaylist_Unauthorized (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0057",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Unauthorized",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Unauthorized$ -v",
        "env": {},
        "requires": [
          "postgres",
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "\u001b[0m\u001b[33m[0.140ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `permissions` (`id`,`name`,`resource`,`action`,`description`,`created_at`) VALUES (\"117f981e-69d4-4a11-acce-9e297369c06e\",\"unique.permission\",\"anothe",
        "log_excerpt": "\u001b[0m\u001b[33m[0.140ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `permissions` (`id`,`name`,`resource`,`action`,`description`,`created_at`) VALUES (\"117f981e-69d4-4a11-acce-9e297369c06e\",\"unique.permission\",\"another\",\"permission\",\"\",\"2025-12-15 18:57:16.223\")\n\n--- PASS: TestPermission_UniqueName (0.02s)\n\n=== RUN   TestUserRole_Create\n\n\r\n\n2025/12/15 18:57:16 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:53 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[5.488ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE id = \"0d34613d-434f-4e3a-87c0-a3a2043083f5\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestAddTrackToPlaylist_TrackNotFound (0.07s)\n\n=== RUN   TestRemoveTrackFromPlaylist_Success\n\n--- PASS: TestUserRole_Create (0.01s)\n\n=== RUN   TestUserRole_WithExpiresAt\n\n--- PASS: TestUserRole_WithExpiresAt (0.01s)\n\n=== RUN   TestUserRole_WithAssignedBy\n\n--- PASS: TestUserRole_WithAssignedBy (0.01s)\n\n=== RUN   TestUserRole_UniqueUserRole\n\n\r\n\n2025/12/15 18:57:16 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/models/role_test.go:312 \u001b[35;1mUNIQUE constraint failed: user_roles.user_id, user_roles.role_id\n\n\u001b[0m\u001b[33m[0.134ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `user_roles` (`id`,`user_id`,`role_id`,`role`,`assigned_by`,`expires_at`,`is_active`) VALUES (\"1b3d25ac-1450-4c76-bd7d-b2774005e5e6\",\"71dbfd8c-f659-4eb6-a2cd-19ce0d4cf62e\",\"5dfc5331-4cae-4f20-b454-7a4943aac3ff\",\"\",NULL,NULL,true) RETURNING `assigned_at`\n\n--- PASS: TestUserRole_UniqueUserRole (0.01s)\n\n=== RUN   TestRolePermission_Create\n\n    playlist_track_handler_integration_test.go:316: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:316\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"track removed from playlist\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Success\n\n    playlist_track_handler_integration_test.go:317: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:317\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"track removed from playlist\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Success\n\n--- FAIL: TestRemoveTrackFromPlaylist_Success (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0058",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestRemoveTrackFromPlaylist_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestRemoveTrackFromPlaylist_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestRemoveTrackFromPlaylist_Ownership",
        "log_excerpt": "=== RUN   TestRemoveTrackFromPlaylist_Ownership\n\n--- PASS: TestRolePermission_Create (0.02s)\n\n=== RUN   TestRole_UserRelation\n\n--- PASS: TestRole_UserRelation (0.01s)\n\n=== RUN   TestRole_PermissionRelation\n\n    playlist_track_handler_integration_test.go:375: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:375\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:16Z\"})\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Ownership\n\n--- FAIL: TestRemoveTrackFromPlaylist_Ownership (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0059",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestRemoveTrackFromPlaylist_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestRemoveTrackFromPlaylist_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestReorderPlaylistTracks_Success",
        "log_excerpt": "=== RUN   TestReorderPlaylistTracks_Success\n\n--- PASS: TestPlaylistRepository_List (0.20s)\n\n=== RUN   TestPlaylistRepository_GetByID_WithTracks\n\n--- PASS: TestRole_PermissionRelation (0.02s)\n\n=== RUN   TestUserRole_CascadeDelete\n\n--- PASS: TestPlaylistRepository_GetByID_WithTracks (0.03s)\n\n=== RUN   TestNewPlaylistTrackRepository\n\n--- PASS: TestUserRole_CascadeDelete (0.05s)\n\n=== RUN   TestRolePermission_CascadeDelete\n\n    playlist_track_handler_integration_test.go:434: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:434\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"tracks reordered\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestReorderPlaylistTracks_Success\n\n    playlist_track_handler_integration_test.go:435: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:435\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"tracks reordered\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestReorderPlaylistTracks_Success\n\n--- FAIL: TestReorderPlaylistTracks_Success (0.06s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0060",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestReorderPlaylistTracks_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestReorderPlaylistTracks_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestReorderPlaylistTracks_Ownership",
        "log_excerpt": "=== RUN   TestReorderPlaylistTracks_Ownership\n\n--- PASS: TestRolePermission_CascadeDelete (0.01s)\n\n=== RUN   TestRole_Update\n\n    playlist_track_handler_integration_test.go:498: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:498\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:16Z\"})\n\n        \tTest:       \tTestReorderPlaylistTracks_Ownership\n\n--- FAIL: TestReorderPlaylistTracks_Ownership (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0061",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestReorderPlaylistTracks_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestReorderPlaylistTracks_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestReorderPlaylistTracks_InvalidRequest",
        "log_excerpt": "=== RUN   TestReorderPlaylistTracks_InvalidRequest\n\n--- PASS: TestReorderPlaylistTracks_InvalidRequest (0.01s)\n\n=== RUN   TestRoomHandler_CreateRoom\n\n=== RUN   TestRoomHandler_CreateRoom/Success\n\n--- PASS: TestRoomHandler_CreateRoom/Success (0.00s)\n\n=== RUN   TestRoomHandler_CreateRoom/Unauthorized\n\n--- PASS: TestRoomHandler_CreateRoom/Unauthorized (0.00s)\n\n=== RUN   TestRoomHandler_CreateRoom/Invalid_Payload\n\n--- PASS: TestRoomHandler_CreateRoom/Invalid_Payload (0.00s)\n\n--- PASS: TestRoomHandler_CreateRoom (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation\n\n=== RUN   TestBindAndValidateJSON_Validation/Valid_Request\n\n--- PASS: TestBindAndValidateJSON_Validation/Valid_Request (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation/Missing_Required_Fields\n\n--- PASS: TestBindAndValidateJSON_Validation/Missing_Required_Fields (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation/Invalid_Email\n\n--- PASS: TestBindAndValidateJSON_Validation/Invalid_Email (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation/Min_Length_Violation\n\n--- PASS: TestBindAndValidateJSON_Validation/Min_Length_Violation (0.00s)\n\n--- PASS: TestBindAndValidateJSON_Validation (0.00s)\n\n=== RUN   TestBindAndValidateJSON_DTOs\n\n=== RUN   TestBindAndValidateJSON_DTOs/RegisterRequest_Invalid\n\n--- PASS: TestBindAndValidateJSON_DTOs/RegisterRequest_Invalid (0.00s)\n\n=== RUN   TestBindAndValidateJSON_DTOs/LoginRequest_Invalid\n\n--- PASS: TestBindAndValidateJSON_DTOs/LoginRequest_Invalid (0.00s)\n\n--- PASS: TestBindAndValidateJSON_DTOs (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/handlers\t1.852s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0062",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/integration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/integration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0063",
      "scope": "integration",
      "package": "veza-backend-api/internal/types",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/types -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0062",
      "scope": "integration",
      "package": "veza-backend-api/internal/handlers",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -v",
        "env": {},
        "requires": [
          "postgres",
          "postgres",
          "postgres",
          "redis",
          "redis",
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestSlugify/empty_string",
        "log_excerpt": "=== RUN   TestSlugify/empty_string\n\n--- PASS: TestSlugify/empty_string (0.00s)\n\n=== RUN   TestSlugify/only_special_characters\n\n--- PASS: TestSlugify/only_special_characters (0.00s)\n\n=== RUN   TestSlugify/username_with_accented_characters\n\n--- PASS: TestSlugify/username_with_accented_characters (0.00s)\n\n--- PASS: TestSlugify (0.00s)\n\n--- PASS: TestMockSessionService_GetUserSessions (0.00s)\n\nPASS\n\n=== RUN   TestMockSessionService_CleanupExpiredSessions\n\n--- PASS: TestMockSessionService_CleanupExpiredSessions (0.00s)\n\n=== RUN   TestMockSessionService_RefreshSession\n\n--- PASS: TestMockSessionService_RefreshSession (0.00s)\n\n=== RUN   TestMockSessionService_GetSessionStats\n\n--- PASS: TestMockSessionService_GetSessionStats (0.00s)\n\n=== RUN   TestMockAuditService\n\n    mocks_test.go:185: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:185]\n\n--- FAIL: TestMockAuditService (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0065",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:209: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogLogin\n\n--- PASS: TestMockAuditService_LogLogin (0.00s)\n\n=== RUN   TestMockAuditService_LogLogout\n\n    mocks_test.go:209: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:209]\n\n--- FAIL: TestMockAuditService_LogLogout (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0066",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogLogout",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogLogout$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:222: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogUpload\n\n    mocks_test.go:222: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:222]\n\n--- FAIL: TestMockAuditService_LogUpload (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0067",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogUpload",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogUpload$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:237: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogPermissionChange\n\n    mocks_test.go:237: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:237]\n\n--- FAIL: TestMockAuditService_LogPermissionChange (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0068",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogPermissionChange",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogPermissionChange$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:250: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogDeletion\n\n    mocks_test.go:250: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:250]\n\n--- FAIL: TestMockAuditService_LogDeletion (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0069",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogDeletion",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogDeletion$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestMockAuditService_SearchLogs",
        "log_excerpt": "=== RUN   TestMockAuditService_SearchLogs\n\n--- PASS: TestMockAuditService_SearchLogs (0.00s)\n\n=== RUN   TestMockAuditService_SearchLogsError\n\n--- PASS: TestMockAuditService_SearchLogsError (0.00s)\n\n=== RUN   TestMockAuditService_GetStats\n\n--- PASS: TestMockAuditService_GetStats (0.00s)\n\n=== RUN   TestNewMockSessionService\n\n--- PASS: TestNewMockSessionService (0.00s)\n\n=== RUN   TestNewMockAuditService\n\n--- PASS: TestNewMockAuditService (0.00s)\n\nFAIL\n\nok  \tveza-backend-api/internal/utils\t0.073s\n\nFAIL\tveza-backend-api/internal/testutils/servicemocks\t0.080s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0070",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -v",
        "env": {},
        "requires": [
          "postgres",
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "job_worker_test.go:148: Job still pending or retrying",
        "log_excerpt": "    job_worker_test.go:148: Job still pending or retrying\n\n--- PASS: TestJobWorker_Start (0.21s)\n\n=== RUN   TestNewPlaybackAnalyticsWorker\n\n\r\n\n2025/12/15 18:57:22 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/workers/job_worker.go:191 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.461ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `jobs` WHERE status = \"pending\" AND run_at <= \"2025-12-15 18:57:22.711\" ORDER BY priority ASC, created_at ASC,`jobs`.`id` LIMIT 1 \n\n--- PASS: TestNewPlaybackAnalyticsWorker (0.01s)\n\n=== RUN   TestNewPlaybackAnalyticsWorker_DefaultValues\n\n--- PASS: TestNewPlaybackAnalyticsWorker_DefaultValues (0.01s)\n\n=== RUN   TestPlaybackAnalyticsWorker_Enqueue\n\n--- PASS: TestPlaybackAnalyticsWorker_Enqueue (0.01s)\n\n=== RUN   TestPlaybackAnalyticsWorker_EnqueueBatch\n\n--- PASS: TestPlaybackAnalyticsWorker_EnqueueBatch (0.01s)\n\n=== RUN   TestPlaybackAnalyticsWorker_StartStop\n\nredis: 2025/12/15 18:57:22 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestPlaybackAnalyticsWorker_StartStop (0.16s)\n\n=== RUN   TestPlaybackAnalyticsWorker_ProcessBatch\n\n=== RUN   TestPublicCoreRoutes\n\n=== RUN   TestPublicCoreRoutes/Legacy_Health_Check\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Health_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Health_Check\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Health_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0071",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Health_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Health_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Health_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Health_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Health_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0072",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Health_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Health_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Liveness_Check\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Liveness_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Liveness_Check\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Liveness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0073",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Liveness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Liveness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Liveness_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Liveness_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Liveness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0074",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Liveness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Liveness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Readiness_Check\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Readiness_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Readiness_Check\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Readiness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0075",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Readiness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Readiness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Readiness_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Readiness_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Readiness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0076",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Readiness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Readiness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0077",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPublicCoreRoutes/Modern_Metrics",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Metrics\n\n--- PASS: TestPublicCoreRoutes/Modern_Metrics (0.00s)\n\n=== RUN   TestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Aggregated_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0078",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Aggregated_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Aggregated_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Aggregated_Metrics\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Aggregated_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Modern_Aggregated_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0079",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Aggregated_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Aggregated_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_System_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_System_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_System_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_System_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0080",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_System_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_System_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_System_Metrics\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_System_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Modern_System_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0081",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_System_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_System_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestPublicCoreRoutes (0.01s)",
        "log_excerpt": "--- FAIL: TestPublicCoreRoutes (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0082",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestInternalTrackStreamCallbackRoutes\n\n=== RUN   TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:184: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:184\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:186: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:186\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n--- FAIL: TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed Redis/DB connection issues and route configuration"
      ]
    },
    {
      "id": "TF-0083",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:196: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:196\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback\n\n--- FAIL: TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0084",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestInternalTrackStreamCallbackRoutes (0.00s)",
        "log_excerpt": "--- FAIL: TestInternalTrackStreamCallbackRoutes (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0085",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL",
        "log_excerpt": "FAIL\n\nFAIL\tveza-backend-api/tests\t0.107s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed Redis/DB connection issues and route configuration"
      ]
    },
    {
      "id": "TF-0086",
      "scope": "integration",
      "package": "veza-backend-api/tests",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests -v",
        "env": {},
        "requires": [
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "redis: 2025/12/15 18:57:23 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused",
        "log_excerpt": "redis: 2025/12/15 18:57:23 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestPlaybackAnalyticsWorker_ProcessBatch (0.51s)\n\n=== RUN   TestPlaybackAnalyticsWorker_CollectBatch\n\n    circuit_breaker_integration_test.go:94: Circuit breaker state after timeout: half-open\n\n    circuit_breaker_integration_test.go:99: Phase 4: Tester half-open avec requ\u00eate r\u00e9ussie\n\n--- PASS: TestPlaybackAnalyticsWorker_CollectBatch (0.21s)\n\n=== RUN   TestPlaybackAnalyticsWorker_CollectBatch_Timeout\n\n    circuit_breaker_integration_test.go:116: Circuit breaker state after success: half-open (half-open or closed is acceptable)\n\n--- PASS: TestCircuitBreakerIntegration_5xxSimulation (1.33s)\n\n=== RUN   TestCircuitBreakerIntegration_MetricsValidation\n\n    circuit_breaker_integration_test.go:145: Metrics: TotalFailures=3, ConsecutiveFailures=3\n\n--- PASS: TestCircuitBreakerIntegration_MetricsValidation (0.00s)\n\n=== RUN   TestNewCircuitBreakerHTTPClient\n\n--- PASS: TestNewCircuitBreakerHTTPClient (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_Success\n\n--- PASS: TestCircuitBreakerHTTPClient_Do_Success (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_ServerError\n\n--- PASS: TestPlaybackAnalyticsWorker_CollectBatch_Timeout (0.12s)\n\n=== RUN   TestPlaybackAnalyticsWorker_GetStats\n\n--- PASS: TestPlaybackAnalyticsWorker_GetStats (0.01s)\n\n=== RUN   TestPlaybackAnalyticsWorker_RetryFailedJobs\n\n--- PASS: TestCircuitBreakerHTTPClient_Do_ServerError (0.10s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_OpenState\n\nredis: 2025/12/15 18:57:23 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n    playback_analytics_worker_test.go:408: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/workers/playback_analytics_worker_test.go:408\n\n        \tError:      \t\"0\" is not greater than or equal to \"2\"\n\n        \tTest:       \tTestPlaybackAnalyticsWorker_RetryFailedJobs\n\n--- FAIL: TestPlaybackAnalyticsWorker_RetryFailedJobs (0.11s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0087",
      "scope": "integration",
      "package": "veza-backend-api/internal/workers",
      "test": "TestPlaybackAnalyticsWorker_RetryFailedJobs",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -run ^TestPlaybackAnalyticsWorker_RetryFailedJobs$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestCircuitBreakerHTTPClient_DoWithContext",
        "log_excerpt": "=== RUN   TestCircuitBreakerHTTPClient_DoWithContext\n\n--- PASS: TestCircuitBreakerHTTPClient_DoWithContext (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_DoWithContext_Cancelled\n\n    logger.go:146: 2025-12-15T18:57:24.030-0500\tINFO\tStopping playback retention worker (stop requested)\n\n--- PASS: TestPlaybackRetentionWorker_Start_Stop (0.21s)\n\n=== RUN   TestPlaybackRetentionWorker_Start_AlreadyRunning\n\n    logger.go:146: 2025-12-15T18:57:24.143-0500\tINFO\tStarting playback retention worker\t{\"interval\": \"1h0m0s\", \"archive_after\": \"2160h0m0s\", \"delete_after\": \"8760h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:24.144-0500\tINFO\tRunning playback retention policy\t{\"worker\": \"playback_retention\"}\n\n    logger.go:146: 2025-12-15T18:57:24.144-0500\tINFO\tNo analytics to archive\t{\"older_than\": \"2160h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:24.144-0500\tINFO\tNo analytics to delete\t{\"older_than\": \"8760h0m0s\"}\n\n    logger.go:146: 2025-12-15T18:57:24.144-0500\tINFO\tPlayback retention policy applied successfully\t{\"worker\": \"playback_retention\"}\n\n    logger.go:146: 2025-12-15T18:57:24.194-0500\tWARN\tRetention worker is already running\n\n    logger.go:146: 2025-12-15T18:57:24.194-0500\tINFO\tStopping playback retention worker\n\n--- PASS: TestPlaybackRetentionWorker_Start_AlreadyRunning (0.11s)\n\n=== RUN   TestThumbnailJob_Execute\n\n=== RUN   TestThumbnailJob_Execute/Generate_thumbnail_successfully\n\n--- PASS: TestThumbnailJob_Execute/Generate_thumbnail_successfully (0.00s)\n\n=== RUN   TestThumbnailJob_Execute/Fail_when_input_file_does_not_exist\n\n--- PASS: TestThumbnailJob_Execute/Fail_when_input_file_does_not_exist (0.00s)\n\n=== RUN   TestThumbnailJob_Execute/Use_default_dimensions_when_not_specified\n\n--- PASS: TestThumbnailJob_Execute/Use_default_dimensions_when_not_specified (0.01s)\n\n--- PASS: TestThumbnailJob_Execute (0.02s)\n\n=== RUN   TestNewThumbnailJob\n\n=== RUN   TestNewThumbnailJob/Create_job_with_specified_dimensions\n\n--- PASS: TestNewThumbnailJob/Create_job_with_specified_dimensions (0.00s)\n\n=== RUN   TestNewThumbnailJob/Apply_default_dimensions_when_zero\n\n--- PASS: TestNewThumbnailJob/Apply_default_dimensions_when_zero (0.00s)\n\n--- PASS: TestNewThumbnailJob (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/workers\t1.817s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0088",
      "scope": "integration",
      "package": "veza-backend-api/internal/workers",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -v",
        "env": {},
        "requires": [
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "redis: 2025/12/15 18:57:24 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused",
        "log_excerpt": "redis: 2025/12/15 18:57:24 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\nredis: 2025/12/15 18:57:24 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\nFAIL\tveza-backend-api/tests/transactions [build failed]\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0089",
      "scope": "integration",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIStatus",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIStatus -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0090",
      "scope": "integration",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIStatusDegraded",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIStatusDegraded -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0091",
      "scope": "integration",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIHealthHTTP",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIHealthHTTP -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0089",
      "scope": "integration",
      "package": "veza-backend-api/tests/transactions",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests/transactions -v",
        "env": {},
        "requires": [
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestEmailService_SendPasswordResetEmail_Subject (0.00s)",
        "log_excerpt": "--- PASS: TestEmailService_SendPasswordResetEmail_Subject (0.00s)\n\n=== RUN   TestEmailVerificationService_GenerateToken\n\n--- PASS: TestEmailVerificationService_GenerateToken (0.00s)\n\n=== RUN   TestEmailVerificationService_GenerateToken_Unique\n\n--- PASS: TestEmailVerificationService_GenerateToken_Unique (0.00s)\n\n=== RUN   TestEmailVerificationService_StoreToken\n\n2025-12-15T18:57:26.131-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"611a98e3-cbe9-4b27-a079-ac7ad3bc2565\", \"expires_at\": \"2025-12-16T18:57:26.130-0500\"}\n\n--- PASS: TestEmailVerificationService_StoreToken (0.00s)\n\n=== RUN   TestEmailVerificationService_StoreToken_Expiration\n\n2025-12-15T18:57:26.135-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"68d3308a-31db-43e3-ac4b-e97eade8a97c\", \"expires_at\": \"2025-12-16T18:57:26.135-0500\"}\n\n--- PASS: TestEmailVerificationService_StoreToken_Expiration (0.00s)\n\n=== RUN   TestEmailVerificationService_VerifyToken_ValidToken\n\n2025-12-15T18:57:26.141-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"7215365a-5e50-499d-8d29-cd54c588f5e3\", \"expires_at\": \"2025-12-16T18:57:26.140-0500\"}\n\n2025-12-15T18:57:26.141-0500\tINFO\tservices/email_verification_service.go:150\tVerification token verified successfully\t{\"user_id\": \"7215365a-5e50-499d-8d29-cd54c588f5e3\"}\n\n--- PASS: TestEmailVerificationService_VerifyToken_ValidToken (0.01s)\n\n=== RUN   TestEmailVerificationService_VerifyToken_InvalidToken\n\n2025-12-15T18:57:26.146-0500\tWARN\tservices/email_verification_service.go:112\tVerification token not found\t{\"token\": \"invalid-...\"}\n\nveza-backend-api/internal/services.(*EmailVerificationService).VerifyToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service.go:112\n\nveza-backend-api/internal/services.TestEmailVerificationService_VerifyToken_InvalidToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:225\n\ntesting.tRunner\n\n\t/usr/lib/golang/src/testing/testing.go:1792\n\n    email_verification_service_test.go:227: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:227\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(0)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0})\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_InvalidToken\n\n--- FAIL: TestEmailVerificationService_VerifyToken_InvalidToken (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0093",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_InvalidToken",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_InvalidToken$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_ExpiredToken\n\n    email_verification_service_test.go:248: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:248\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tNOT NULL constraint failed: email_verification_tokens.token_hash\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_ExpiredToken\n\n--- FAIL: TestEmailVerificationService_VerifyToken_ExpiredToken (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0094",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_ExpiredToken",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_ExpiredToken$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_AlreadyUsed\n\n    email_verification_service_test.go:273: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:273\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tNOT NULL constraint failed: email_verification_tokens.token_hash\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_AlreadyUsed\n\n--- FAIL: TestEmailVerificationService_VerifyToken_AlreadyUsed (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0095",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_AlreadyUsed",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_AlreadyUsed$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestEmailVerificationService_VerifyToken_CannotReuse",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_CannotReuse\n\n2025-12-15T18:57:26.168-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"3a588b18-76b0-4993-8830-ab8fe6fbb93e\", \"expires_at\": \"2025-12-16T18:57:26.168-0500\"}\n\n2025-12-15T18:57:26.168-0500\tINFO\tservices/email_verification_service.go:150\tVerification token verified successfully\t{\"user_id\": \"3a588b18-76b0-4993-8830-ab8fe6fbb93e\"}\n\n2025-12-15T18:57:26.168-0500\tWARN\tservices/email_verification_service.go:125\tVerification token already used\t{\"user_id\": \"3a588b18-76b0-4993-8830-ab8fe6fbb93e\", \"token\": \"jkYEj5xD...\"}\n\nveza-backend-api/internal/services.(*EmailVerificationService).VerifyToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service.go:125\n\nveza-backend-api/internal/services.TestEmailVerificationService_VerifyToken_CannotReuse\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:300\n\ntesting.tRunner\n\n\t/usr/lib/golang/src/testing/testing.go:1792\n\n    email_verification_service_test.go:302: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:302\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(0)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0})\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_CannotReuse\n\n--- FAIL: TestEmailVerificationService_VerifyToken_CannotReuse (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0096",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_CannotReuse",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_CannotReuse$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations",
        "log_excerpt": "=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations\n\n--- PASS: TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations (0.00s)\n\n=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations_Empty\n\n--- PASS: TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations_Empty (0.00s)\n\n=== RUN   TestNewHLSService\n\n--- PASS: TestNewHLSService (0.00s)\n\n=== RUN   TestNewHLSService_NilLogger\n\n--- PASS: TestNewHLSService_NilLogger (0.00s)\n\n=== RUN   TestHLSService_GetMasterPlaylist\n\n--- PASS: TestHLSService_GetMasterPlaylist (0.01s)\n\n=== RUN   TestHLSService_GetMasterPlaylist_NotFound\n\n\r\n\n2025/12/15 18:57:26 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:64 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.177ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"7d044296-945a-4859-b2c0-46196c10d6d8\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetMasterPlaylist_NotFound (0.01s)\n\n=== RUN   TestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:170: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:170\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tquality playlist file not found: /tmp/hls_service_test_1207290/track_fbd8d0e8-cf3b-4394-b026-bc1e87a92891/128k/playlist.m3u8\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:171: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:171\n\n        \tError:      \t\"\" does not contain \"#EXTM3U\"\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:172: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:172\n\n        \tError:      \t\"\" does not contain \"segment_000.ts\"\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n--- FAIL: TestHLSService_GetQualityPlaylist (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0097",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSService_GetQualityPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSService_GetQualityPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSService_GetQualityPlaylist_NotFound",
        "log_excerpt": "=== RUN   TestHLSService_GetQualityPlaylist_NotFound\n\n\r\n\n2025/12/15 18:57:26 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:96 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.070ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"0615fbbe-52bb-404e-9d10-92933a455f05\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetQualityPlaylist_NotFound (0.01s)\n\n=== RUN   TestHLSService_GetQualityPlaylist_InvalidBitrate\n\n--- PASS: TestHLSService_GetQualityPlaylist_InvalidBitrate (0.00s)\n\n=== RUN   TestHLSService_GetSegmentPath\n\n    hls_service_test.go:212: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:212\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tsegment file not found: /tmp/hls_service_test_1207290/track_bd72117b-5dee-4c15-b650-dd981b98de76/128k/segment_000.ts\n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n    hls_service_test.go:213: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:213\n\n        \tError:      \tShould NOT be empty, but was \n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n    hls_service_test.go:214: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:214\n\n        \tError:      \tunable to find file \"\"\n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n--- FAIL: TestHLSService_GetSegmentPath (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0098",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSService_GetSegmentPath",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSService_GetSegmentPath$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestHLSTranscodeService_SetBitrates",
        "log_excerpt": "=== RUN   TestHLSTranscodeService_SetBitrates\n\n--- PASS: TestHLSTranscodeService_SetBitrates (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_NilTrack\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_NilTrack (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_EmptyFilePath\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_EmptyFilePath (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_FileNotExists\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_FileNotExists (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_CreatesDirectory\n\n    logger.go:146: 2025-12-15T18:57:26.847-0500\tERROR\tFFmpeg transcoding failed\t{\"bitrate\": 128, \"track_id\": \"6ee7810b-6dc2-483e-b855-4238b5798aba\", \"output\": \"ffmpeg version 7.1.2 Copyright (c) 2000-2025 the FFmpeg developers\\n  built with gcc 15 (GCC)\\n  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,\npack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' --disable-htmlpages --disable-static --disable-stripping --enable-pic --enable-shared --enable-gpl --enable-version3 --enable-amf --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-alsa --enable-bzlib --enable-chromaprint --disable-cuda-nvcc --enable-cuvid --disable-decklink --enable-frei0r --enable-gcrypt --enable-gmp --enable-gnutls --enable-gray --enable-iconv --enable-ladspa --enable-lcms2 --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --disable-libdavs2 --enable-libdc1394 --enable-libdvdnav --enable-libdvdread --enable-libfdk-aac --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-l\nibharfbuzz --enable-libiec61883 --enable-libilbc --enable-libjack --enable-libjxl --enable-libklvanc --disable-liblensfun --disable-liblcevc-dec --enable-liblc3 --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-libopencv --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --disable-libquirc --enable-librabbitmq --enable-librav1e --enable-librist --enable-librsvg --enable-librubberband --enable-libshaderc --disable-libshine --enable-libsmbclient --enable-libsnappy --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-libtensorflow --enable-libtesseract --enable-libtheora --disable-libtorch --disable-libuavs3d --enable-libtwolame --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --disable-libxavs2 --dis\nable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lto --enable-lv2 --enable-lzma --enable-manpages --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-opengl --disable-openssl --enable-postproc --enable-pthreads --enable-sdl2 --enable-shared --enable-swresample --enable-swscale --enable-v4l2-m2m --enable-vaapi --enable-vapoursynth --enable-vdpau --enable-vulkan --enable-xlib --enable-zlib --enable-muxers --enable-demuxers --enable-hwaccels --disable-encoders --disable-decoders --disable-decoder='h264,hevc,libxevd,vc1,vvc' --enable-encoder=',a64multi,a64multi5,aac,libfdk_aac,ac3,adpcm_adx,adpcm_argo,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apm,adpcm_ima_qt,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_swf,adpcm_yamaha,alac,alias_pix,amv,anull,apng,ass,asv1,asv2,av1_amf,av1_nvenc,av1_qsv,av1_vaapi,bitpacked,bmp,cinep\nak,cljr,dca,dfpwm,dnxhd,dnxhr,dpx,dvbsub,dvdsub,dvvideo,exr,ffv1,ffvhuff,flac,flashsv,flashsv2,flv,g723_1,gif,h261,h263,h263_v4l2m2m,h263p,h264_amf,h264_nvenc,h264_qsv,h264_v4l2m2m,h264_vaapi,hap,hdr,hevc_amf,hevc_nvenc,hevc_qsv,hevc_v4l2m2m,hevc_vaapi,huffyuv,ilbc,jpeg2000,jpegls,libaom,libaom_av1,libcodec2,libgsm,libgsm_ms,libilbc,libjxl,liblc3,libmp3lame,libopencore_amrnb,libopenh264,libopenjpeg,libopus,librav1e,libspeex,libsvtav1,libtheora,libtwolame,libvo_amrwbenc,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,libxvid,mjpeg,mjpeg_qsv,mjpeg_vaapi,mlp,mp2,mp2fixed,mpeg1video,mpeg2_qsv,mpeg2_vaapi,mpeg2video,mpeg4,mpeg4_v4l2m2m,msmpeg4v2,msmpeg4v3,msvideo1,nellymoser,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,phm,png,ppm,prores,prores_aw,prores_k\ns,qoi,qtrle,r10k,r210,ra_144,rawvideo,roq,roq_dpcm,rpza,rv10,rv20,s302m,sbc,sgi,smc,snow,sonic,sonic_ls,speedhq,srt,ssa,subrip,sunrast,svq1,targa,text,tiff,truehd,tta,ttml,utvideo,v210,v308,v408,v410,vc1_qsv,vc1_v4l2m2m,vc2,vnull,vorbis,vp8_qsv,vp8_v4l2m2m,vp8_vaapi,vp9_qsv,vp9_vaapi,wavpack,wbmp,webvtt,wmav1,wmav2,wmv1,wmv2,wrapped_avframe,xbm,xface,xsub,xwd,y41p,yuv4,zlib,zmbv,' --enable-decoder=',aac,aasc,libfdk_aac,ac3,acelp_kelvin,adpcm_4xm,adpcm_adx,adpcm_afc,adpcm_agm,adpcm_aica,adpcm_argo,adpcm_ct,adpcm_dtk,adpcm_ea,adpcm_ea_maxis_xa,adpcm_ea_r1,adpcm_ea_r2,adpcm_ea_r3,adpcm_ea_xas,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_acorn,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apc,adpcm_ima_apm,adpcm_ima_cunning,adpcm_ima_dat4,adpcm_ima_dk3,adpcm_ima_dk4,adpcm_ima_ea_eacs,adpcm_ima_ea_sead,adpcm_ima_iss,adpcm_ima_moflex,adpcm_ima_mtf,adpcm_ima_oki,adpcm_ima_qt,adpcm_ima_qt_at,adpcm_ima_rad,adpcm_ima_smjpeg,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_mtaf,adpcm_psx,adpcm_sbpro_2,adpcm_sbpro_3,adpcm\n_sbpro_4,adpcm_swf,adpcm_thp,adpcm_thp_le,adpcm_vima,adpcm_xa,adpcm_xmd,adpcm_yamaha,adpcm_zork,aic,alac,alias_pix,amrnb,amrwb,amv,anm,ansi,anull,apac,ape,apng,arbc,argo,ass,asv1,asv2,atrac1,atrac3,atrac3al,atrac3p,atrac3pal,aura,aura2,av1,av1_qsv,bethsoftvid,bfi,bink,binkaudio_dct,binkaudio_rdft,bintext,bitpacked,bmp,bmv_audio,bmv_video,bonk,brender_pix,c93,cbd2_dpcm,ccaption,cdgraphics,cdtoons,cdxl,cinepak,clearvideo,cljr,cook,cpia,cscd,cyuv,dca,dds,derf_dpcm,dfa,dfpwm,dirac,dnxhd,dnxhr,dolby_e,dpx,dsd_lsbf,dsd_msbf,dsicinaudio,dsicinvideo,dss_sp,dvaudio,dvbsub,dvdsub,dvvideo,dxa,dxtory,eacmv,eamad,eatgq,eatgv,eatqi,eightbps,eightsvx_exp,eightsvx_fib,escape124,escape130,evrc,exr,ffv1,ffvhuff,ffwavesynth,fits,flac,flashsv,flashsv2,flic,flv,fmvc,fourxm,ftr,g723_1,g729,gdv,gem,gif,gremlin_dpcm,gsm,gsm_ms,gsm_ms_at,h261,h263,h263_v4l2m2m,h263i,h263p,hap,hca,hcom,hdr,hnm4_video,hq_hqa,hqx,huffyuv,hymt,iac,idcin,idf,iff_ilbm,ilbc,imc,indeo2,indeo3,indeo4,indeo5,interplay_acm,interplay_dpcm,interplay_video,ipu,jac\nosub,jpeg2000,jpegls,jv,kgv1,kmvc,lagarith,libaribb24,libaribcaption,libaom,libaom_av1,libcodec2,libdav1d,libgsm,libgsm_ms,libilbc,libjxl,liblc3,libopencore_amrnb,libopencore_amrwb,libopenh264,libopenjpeg,libopus,librsvg,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,libzvbi_teletext,loco,lscr,m101,mace3,mace6,mdec,media100,metasound,microdvd,mimic,misc4,mjpeg,mjpeg_qsv,mjpegb,mlp,mmvideo,motionpixels,mp1,mp1float,mp2,mp2float,mp3,mp3adu,mp3adufloat,mp3float,mp3on4,mp3on4float,mpc7,mpc8,mpeg1_v4l2m2m,mpeg1video,mpeg2_qsv,mpeg2_v4l2m2m,mpeg2video,mpeg4,mpeg4_v4l2m2m,mpegvideo,mpl2,msa1,mscc,msmpeg4v1,msmpeg4v2,msmpeg4v3,msnsiren,msp2,msrle,mss1,mss2,msvideo1,mszh,mts2,mv30,mvc1,mvc2,mvdv,mvha,mwsc,mxpeg,nellymoser,nuv,on2avc,opus,paf_audio,paf_video,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_lxf,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24daud,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,p\ncm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_sga,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcm_vidc,pcx,pfm,pgm,pgmyuv,pgssub,pgx,phm,photocd,pictor,pjs,png,ppm,prores,prosumer,psd,ptx,qcelp,qdm2,qdmc,qdraw,qoa,qoi,qpeg,qtrle,r10k,r210,ra_144,ra_288,rasc,rawvideo,realtext,rka,rl2,roq,roq_dpcm,rpza,rscc,rv10,rv20,s302m,sami,sanm,sbc,screenpresso,sdx2_dpcm,sgi,sgirle,shorten,simbiosis_imx,sipr,siren,smackaud,smacker,smc,smvjpeg,snow,sol_dpcm,sonic,sp5x,speedhq,speex,srgc,srt,ssa,stl,subrip,subviewer,subviewer1,sunrast,svq1,svq3,tak,targa,targa_y216,tdsc,text,theora,thp,tiertexseqvideo,tiff,tmv,truehd,truemotion1,truemotion2,truemotion2rt,truespeech,tscc,tscc2,tta,twinvq,txd,ulti,utvideo,v210,v210x,v308,v408,v410,vb,vble,vcr1,vmdaudio,vmdvideo,vmnc,vnull,vorbis,vp3,vp4,vp5,vp6,vp6a,vp6f,vp7,vp8,vp8_qsv,vp8_v4l2m2m,vp9,vp9_qsv,vp9_v4l2m2m,vplayer,vqa,vqc,wady_dpcm,wavarc,wavpack,wbmp,wcmv,webp,webvtt,wmav1,wmav2,wmavoice,wmv1,wmv2,wnv1,wrapped_avframe,ws_snd1,xan_dpcm,xan_wc3,xan_wc4,xbin,\nxbm,xface,xl,xpm,xsub,xwd,y41p,ylc,yop,yuv4,zero12v,zerocodec,zlib,zmbv,'\\n  libavutil      59. 39.100 / 59. 39.100\\n  libavcodec     61. 19.101 / 61. 19.101\\n  libavformat    61.  7.100 / 61.  7.100\\n  libavdevice    61.  3.100 / 61.  3.100\\n  libavfilter    10.  4.100 / 10.  4.100\\n  libswscale      8.  3.100 /  8.  3.100\\n  libswresample   5.  3.100 /  5.  3.100\\n  libpostproc    58.  3.100 / 58.  3.100\\n[mp3 @ 0x55c417892380] Format mp3 detected only with low score of 1, misdetection possible!\\n[mp3 @ 0x55c417892380] Failed to find two consecutive MPEG audio frames.\\n[in#0 @ 0x55c41786ab00] Error opening input: Invalid data found when processing input\\nError opening input file /tmp/hls_test_1765843046619733351/test.mp3.\\nError opening input files: Invalid data found when processing input\\n\", \"error\": \"exit status 183\"}\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_CreatesDirectory (0.23s)\n\n=== RUN   TestHLSTranscodeService_CountSegments\n\n--- PASS: TestHLSTranscodeService_CountSegments (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_EmptyDir\n\n--- PASS: TestHLSTranscodeService_CountSegments_EmptyDir (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_NonexistentDir\n\n    hls_transcode_service_test.go:231: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_transcode_service_test.go:231\n\n        \tError:      \tAn error is expected but got nil.\n\n        \tTest:       \tTestHLSTranscodeService_CountSegments_NonexistentDir\n\n--- FAIL: TestHLSTranscodeService_CountSegments_NonexistentDir (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0099",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSTranscodeService_CountSegments_NonexistentDir",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSTranscodeService_CountSegments_NonexistentDir$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSTranscodeService_CountSegments_MultipleBitrates",
        "log_excerpt": "=== RUN   TestHLSTranscodeService_CountSegments_MultipleBitrates\n\n--- PASS: TestHLSTranscodeService_CountSegments_MultipleBitrates (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_OnlySegmentFiles\n\n--- PASS: TestHLSTranscodeService_CountSegments_OnlySegmentFiles (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_NonexistentFile\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_NonexistentFile (0.00s)\n\n=== RUN   TestHLSTranscodeService_GenerateMasterPlaylist\n\n--- PASS: TestHLSTranscodeService_GenerateMasterPlaylist (0.00s)\n\n=== RUN   TestHLSTranscodeService_CleanupTrackDir\n\n    hls_transcode_service_test.go:391: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_transcode_service_test.go:391\n\n        \tError:      \tdirectory \"/tmp/hls_test_1765843046850731768/d76a6b50-5234-4bdb-8e3f-476cb4667f49\" exists\n\n        \tTest:       \tTestHLSTranscodeService_CleanupTrackDir\n\n--- FAIL: TestHLSTranscodeService_CleanupTrackDir (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0100",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSTranscodeService_CleanupTrackDir",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSTranscodeService_CleanupTrackDir$ -v",
        "env": {},
        "requires": [
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestHLSTranscodeService_TranscodeTrack_WithCustomBitrates (0.32s)",
        "log_excerpt": "--- PASS: TestHLSTranscodeService_TranscodeTrack_WithCustomBitrates (0.32s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_InvalidFormat\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_InvalidFormat (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_EmptyFile\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_EmptyFile (0.00s)\n\n=== RUN   TestHLSTranscodeService_GenerateMasterPlaylist_EmptyBitrates\n\n--- PASS: TestHLSTranscodeService_GenerateMasterPlaylist_EmptyBitrates (0.00s)\n\n=== RUN   TestJWTService\n\n=== RUN   TestJWTService/GenerateAccessToken\n\n--- PASS: TestJWTService/GenerateAccessToken (0.00s)\n\n=== RUN   TestJWTService/GenerateRefreshToken\n\n--- PASS: TestJWTService/GenerateRefreshToken (0.00s)\n\n=== RUN   TestJWTService/VerifyTokenVersion\n\n--- PASS: TestJWTService/VerifyTokenVersion (0.00s)\n\n=== RUN   TestJWTService/ExpiredToken\n\n--- PASS: TestJWTService/ExpiredToken (0.00s)\n\n=== RUN   TestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:99: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:99\n\n        \tError:      \t\"failed to parse token: token has invalid claims: token has invalid issuer\" does not contain \"token has invalid claims: issuer name 'evil.com' is invalid\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:114: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:114\n\n        \tError:      \t\"failed to parse token: token has invalid claims: token has invalid audience\" does not contain \"token has invalid claims: token contains an invalid number of audience claims\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:132: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:132\n\n        \tError:      \t\"failed to parse token: token is unverifiable: error while executing keyfunc: invalid signing algorithm: HS512, expected HS256\" does not contain \"unexpected signing method\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n--- FAIL: TestJWTService/Security_StrictValidation (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0101",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestJWTService/Security_StrictValidation",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestJWTService/Security_StrictValidation$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestJWTService (0.00s)",
        "log_excerpt": "--- FAIL: TestJWTService (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0102",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestJWTService",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestJWTService$ -v",
        "env": {},
        "requires": [
          "redis",
          "redis",
          "redis",
          "redis",
          "postgres",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "postgres",
          "postgres",
          "postgres",
          "postgres",
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_Hash_ValidBcryptFormat",
        "log_excerpt": "=== RUN   TestPasswordService_Hash_ValidBcryptFormat\n\n--- PASS: TestPasswordService_Hash_ValidBcryptFormat (0.35s)\n\n=== RUN   TestPasswordService_Compare_ValidPassword\n\n=== RUN   TestPasswordService_Compare_ValidPassword/compare_valid_password\n\n--- PASS: TestCleanupDatabaseWithOptions_NoTransaction (8.41s)\n\n=== RUN   TestCleanupDatabaseWithOptions_WithTransaction\n\n--- PASS: TestPasswordService_Compare_ValidPassword/compare_valid_password (0.96s)\n\n=== RUN   TestPasswordService_Compare_ValidPassword/compare_valid_password_with_special_chars\n\n--- PASS: TestCleanupDatabaseWithOptions_WithTransaction (0.55s)\n\n=== RUN   TestCleanupDatabaseWithOptions_SpecificTables\n\n--- PASS: TestCleanupDatabaseWithOptions_SpecificTables (0.27s)\n\n=== RUN   TestCleanupSpecificTables\n\n--- PASS: TestCleanupSpecificTables (0.20s)\n\n=== RUN   TestCleanupWithTransaction\n\n--- PASS: TestCleanupWithTransaction (0.04s)\n\n=== RUN   TestRegisterCleanupHook\n\n--- PASS: TestRegisterCleanupHook (0.00s)\n\n=== RUN   TestGetDefaultTables\n\n--- PASS: TestGetDefaultTables (0.00s)\n\n=== RUN   TestSetupTestDB\n\n--- PASS: TestSetupTestDB (0.04s)\n\n=== RUN   TestCleanupTestDB\n\n--- PASS: TestCleanupTestDB (0.01s)\n\n=== RUN   TestResetTestDB\n\n    db_test.go:43: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/db_test.go:43\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestResetTestDB\n\n--- FAIL: TestResetTestDB (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0103",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestResetTestDB",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestResetTestDB$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestGetDBStats",
        "log_excerpt": "=== RUN   TestGetDBStats\n\n--- PASS: TestGetDBStats (0.03s)\n\n=== RUN   TestSetupTestDB_CanCreateRecords\n\n    db_test.go:80: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/db_test.go:80\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestSetupTestDB_CanCreateRecords\n\n--- FAIL: TestSetupTestDB_CanCreateRecords (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0104",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestSetupTestDB_CanCreateRecords",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestSetupTestDB_CanCreateRecords$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestUser\n\n    fixtures_test.go:18: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:18\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestUser\n\n--- FAIL: TestCreateTestUser (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0105",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestUser",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestUser$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestUserWithCustomData\n\n    fixtures_test.go:38: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:38\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestUserWithCustomData\n\n--- FAIL: TestCreateTestUserWithCustomData (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0106",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestUserWithCustomData",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestUserWithCustomData$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestAdmin\n\n    fixtures_test.go:51: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:51\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestAdmin\n\n--- FAIL: TestCreateTestAdmin (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0107",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestAdmin",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestAdmin$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestTrack\n\n    fixtures_test.go:66: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:66\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestTrack\n\n--- FAIL: TestCreateTestTrack (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0108",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestTrack",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestTrack$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestTrackWithCustomData\n\n    fixtures_test.go:85: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:85\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestTrackWithCustomData\n\n--- FAIL: TestCreateTestTrackWithCustomData (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0109",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestTrackWithCustomData",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestTrackWithCustomData$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestPlaylist\n\n    fixtures_test.go:104: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:104\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestPlaylist\n\n--- PASS: TestPasswordService_Compare_ValidPassword/compare_valid_password_with_special_chars (1.00s)\n\n=== RUN   TestPasswordService_Compare_ValidPassword/compare_empty_password\n\n--- FAIL: TestCreateTestPlaylist (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0110",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestPlaylist",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestPlaylist$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestRoom\n\n    fixtures_test.go:121: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:121\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestRoom\n\n--- FAIL: TestCreateTestRoom (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0111",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestRoom",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestRoom$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestMessage\n\n    fixtures_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:139\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestMessage\n\n--- FAIL: TestCreateTestMessage (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0112",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestMessage",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestMessage$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestSession\n\n    fixtures_test.go:163: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:163\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestSession\n\n--- FAIL: TestCreateTestSession (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0113",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestSession",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestSession$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateMultipleTestUsers\n\n    fixtures_test.go:180: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:180\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateMultipleTestUsers\n\n--- FAIL: TestCreateMultipleTestUsers (0.06s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0114",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateMultipleTestUsers",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateMultipleTestUsers$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateMultipleTestTracks\n\n    fixtures_test.go:203: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:203\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateMultipleTestTracks\n\n--- FAIL: TestCreateMultipleTestTracks (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0115",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateMultipleTestTracks",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateMultipleTestTracks$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestFixtures_ForeignKeyConstraints\n\n    fixtures_test.go:232: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:232\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestFixtures_ForeignKeyConstraints\n\n--- FAIL: TestFixtures_ForeignKeyConstraints (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0116",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestFixtures_ForeignKeyConstraints",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestFixtures_ForeignKeyConstraints$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestGetGoldenFilePath",
        "log_excerpt": "=== RUN   TestGetGoldenFilePath\n\n--- PASS: TestGetGoldenFilePath (0.00s)\n\n=== RUN   TestGoldenFile\n\n--- PASS: TestGoldenFile (0.00s)\n\n=== RUN   TestGoldenFile_Mismatch\n\n    golden.go:48: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden.go:48\n\n        \t            \t\t\t\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden_test.go:87\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: \"expected content\"\n\n        \t            \tactual  : \"actual content\"\n\n        \t            \t\n\n        \t            \tDiff:\n\n        \t            \t--- Expected\n\n        \t            \t+++ Actual\n\n        \t            \t@@ -1 +1 @@\n\n        \t            \t-expected content\n\n        \t            \t+actual content\n\n        \tTest:       \tTestGoldenFile_Mismatch\n\n        \tMessages:   \tGolden file mismatch\n\n    golden_test.go:80: CompareGoldenFile should have failed but didn't\n\n--- FAIL: TestGoldenFile_Mismatch (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0117",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestUpdateGoldenFile",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run TestUpdateGoldenFile -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0117",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestGoldenFile_Mismatch",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestGoldenFile_Mismatch$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestUpdateGoldenFile",
        "log_excerpt": "=== RUN   TestUpdateGoldenFile\n\n    golden_test.go:93: Skipping update test (use -update flag)\n\n--- SKIP: TestUpdateGoldenFile (0.00s)\n\n=== RUN   TestCompareGoldenFile_NotFound\n\n    golden.go:46: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden.go:46\n\n        \t            \t\t\t\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden_test.go:139\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \topen testdata/TestCompareGoldenFile_NotFound_nonexistent_file.txt: no such file or directory\n\n        \tTest:       \tTestCompareGoldenFile_NotFound\n\n        \tMessages:   \tGolden file not found. Run tests with -update flag to create it.\n\n    golden_test.go:135: CompareGoldenFile should have failed for non-existent file\n\n--- FAIL: TestCompareGoldenFile_NotFound (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0119",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCompareGoldenFile_NotFound",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCompareGoldenFile_NotFound$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestSetupParallelTest",
        "log_excerpt": "=== RUN   TestSetupParallelTest\n\n=== PAUSE TestSetupParallelTest\n\n=== RUN   TestRunParallelTests\n\n=== RUN   TestRunParallelTests/test3\n\n=== PAUSE TestRunParallelTests/test3\n\n=== RUN   TestRunParallelTests/test1\n\n=== PAUSE TestRunParallelTests/test1\n\n=== RUN   TestRunParallelTests/test2\n\n=== PAUSE TestRunParallelTests/test2\n\n    parallel_test.go:38: Expected counter to be 3, got 0\n\n=== CONT  TestRunParallelTests/test3\n\n--- FAIL: TestRunParallelTests/test3 (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0120",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestRunParallelTests/test3",
      "failure_type": "panic",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestRunParallelTests/test3$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestRunParallelTests (0.00s)",
        "log_excerpt": "--- FAIL: TestRunParallelTests (0.00s)\n\npanic: testing: t.Parallel called multiple times [recovered]\n\n\tpanic: testing: t.Parallel called multiple times\n\n\n\ngoroutine 516 [running]:\n\ntesting.tRunner.func1.2({0xd145c0, 0xfb69b0})\n\n\t/usr/lib/golang/src/testing/testing.go:1734 +0x21c\n\ntesting.tRunner.func1()\n\n\t/usr/lib/golang/src/testing/testing.go:1737 +0x35e\n\npanic({0xd145c0?, 0xfb69b0?})\n\n\t/usr/lib/golang/src/runtime/panic.go:792 +0x132\n\ntesting.(*T).Parallel(0xd145c0?)\n\n\t/usr/lib/golang/src/testing/testing.go:1538 +0x3b0\n\nveza-backend-api/internal/testutils.SetupParallelTest(...)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel.go:14\n\nveza-backend-api/internal/testutils.TestRunParallelTests.func3(0xc000170380?)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel_test.go:30 +0x1d\n\nveza-backend-api/internal/testutils.RunParallelTests.func1.1(0xc000170380)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel.go:31 +0x34\n\ntesting.tRunner(0xc000170380, 0xc0005a0a30)\n\n\t/usr/lib/golang/src/testing/testing.go:1792 +0xf4\n\ncreated by testing.(*T).Run in goroutine 515\n\n\t/usr/lib/golang/src/testing/testing.go:1851 +0x413\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Runtime panic - likely nil pointer, index out of range, or type assertion failure",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed duplicate t.Parallel() calls"
      ]
    },
    {
      "id": "TF-0121",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestRunParallelTests",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestRunParallelTests$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL\tveza-backend-api/internal/testutils\t10.343s",
        "log_excerpt": "FAIL\tveza-backend-api/internal/testutils\t10.343s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0122",
      "scope": "integration",
      "package": "veza-backend-api/internal/testutils",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_HashAndCompare_Integration",
        "log_excerpt": "=== RUN   TestPasswordService_HashAndCompare_Integration\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/simple_password\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/simple_password (1.57s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_uppercase\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_uppercase (1.22s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_special_chars\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_special_chars (1.51s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_spaces\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_spaces (1.27s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_unicode\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_unicode (1.26s)\n\n--- PASS: TestPasswordService_HashAndCompare_Integration (6.84s)\n\n=== RUN   TestPasswordService_Hash_ConsistentCost\n\n--- PASS: TestPasswordService_Hash_ConsistentCost (0.37s)\n\n=== RUN   TestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:270: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:270\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tbcrypt: password length exceeds 72 bytes\n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:271: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:271\n\n        \tError:      \tShould NOT be empty, but was \n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:275: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:275\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n        \tMessages:   \tLong password should still work (truncated by bcrypt)\n\n--- FAIL: TestPasswordService_Hash_ErrorHandling (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0123",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPasswordService_Hash_ErrorHandling",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPasswordService_Hash_ErrorHandling$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_Compare_CaseSensitive",
        "log_excerpt": "=== RUN   TestPasswordService_Compare_CaseSensitive\n\n--- PASS: TestPasswordService_Compare_CaseSensitive (1.57s)\n\n=== RUN   TestPermissionService_HasRole\n\n\r\n\n2025/12/15 18:57:44 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service.go:100 \u001b[35;1mno such column: user_roles.is_active\n\n\u001b[0m\u001b[33m[0.077ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `user_roles` JOIN roles ON user_roles.role_id = roles.id WHERE (user_roles.user_id = \"c6a7ef6e-be7f-401b-af88-e74ea8a7e7a7\" AND roles.name = \"admin\" AND user_roles.is_active = true) AND (user_roles.expires_at IS NULL OR user_roles.expires_at > \"2025-12-15 18:57:44.192\")\n\n    permission_service_test.go:61: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service_test.go:61\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to check role: no such column: user_roles.is_active\n\n        \tTest:       \tTestPermissionService_HasRole\n\n--- FAIL: TestPermissionService_HasRole (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0124",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPermissionService_HasRole",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPermissionService_HasRole$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPermissionService_HasPermission",
        "log_excerpt": "=== RUN   TestPermissionService_HasPermission\n\n\r\n\n2025/12/15 18:57:44 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service.go:115 \u001b[35;1mno such column: user_roles.is_active\n\n\u001b[0m\u001b[33m[0.095ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `user_roles` JOIN role_permissions ON user_roles.role_id = role_permissions.role_id JOIN permissions ON role_permissions.permission_id = permissions.id WHERE (user_roles.user_id = \"1be89eef-ca57-439b-a834-e79cab5f8120\" AND permissions.name = \"manage_users\" AND user_roles.is_active = true) AND (user_roles.expires_at IS NULL OR user_roles.expires_at > \"2025-12-15 18:57:44.209\")\n\n    permission_service_test.go:130: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service_test.go:130\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to check permission: no such column: user_roles.is_active\n\n        \tTest:       \tTestPermissionService_HasPermission\n\n--- FAIL: TestPermissionService_HasPermission (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0125",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPermissionService_HasPermission",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPermissionService_HasPermission$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestNewPlaybackAggregationService (0.01s)",
        "log_excerpt": "--- PASS: TestNewPlaybackAggregationService (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Day\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Day (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Week\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Week (0.03s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Month\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Month (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_InvalidTrackID\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_InvalidTrackID (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_TrackNotFound\n\n\r\n\n2025/12/15 18:57:44 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_aggregation_service.go:89 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.164ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"340841b6-e189-4e4b-8749-917abf5b665f\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_TrackNotFound (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_InvalidPeriod\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_InvalidPeriod (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_NoData\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_NoData (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Trends\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Trends (0.01s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByDateRange\n\n--- PASS: TestPlaybackAggregationService_AggregateByDateRange (0.03s)\n\n=== RUN   TestPlaybackAggregationService_GetTopTracksByPlayback\n\n    playback_aggregation_service_test.go:500: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_aggregation_service_test.go:500\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(1)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0xff, 0x2b, 0xf7, 0xa3, 0x82, 0xef, 0x4d, 0x89, 0x8d, 0x5d, 0xf5, 0x5e, 0xf, 0xf2, 0xa1, 0xf5})\n\n        \tTest:       \tTestPlaybackAggregationService_GetTopTracksByPlayback\n\n--- FAIL: TestPlaybackAggregationService_GetTopTracksByPlayback (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0126",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAggregationService_GetTopTracksByPlayback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAggregationService_GetTopTracksByPlayback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:57:44.917-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"3885c772-ea3f-49c8-87f4-d1111dea4e8f\", \"alerts_count\": 2}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:57:44.917-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"3885c772-ea3f-49c8-87f4-d1111dea4e8f\", \"alerts_count\": 2}\n\n--- PASS: TestPlaybackAlertsService_DetectAnomalies (0.02s)\n\n=== RUN   TestPlaybackAlertsService_CalculateMeanAndStdDev\n\n--- PASS: TestPlaybackAlertsService_CalculateMeanAndStdDev (0.01s)\n\n=== RUN   TestPlaybackAlertsService_CalculateMeanAndStdDev_Empty\n\n--- PASS: TestPlaybackAlertsService_CalculateMeanAndStdDev_Empty (0.01s)\n\n=== RUN   TestPlaybackAlertsService_CheckAlerts_WithCustomConfig\n\n    logger.go:146: 2025-12-15T18:57:44.980-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"29838514-5911-4ed9-9584-a6d3779e4015\", \"alerts_count\": 2}\n\n--- PASS: TestPlaybackAlertsService_CheckAlerts_WithCustomConfig (0.03s)\n\n=== RUN   TestPlaybackAlertsService_DetectLowCompletionRate_HighPercentage\n\n    logger.go:146: 2025-12-15T18:57:45.034-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"bffda85f-48a4-4792-8edd-4b3ba7f63ce3\", \"alerts_count\": 3}\n\n--- PASS: TestPlaybackAlertsService_DetectLowCompletionRate_HighPercentage (0.05s)\n\n=== RUN   TestPlaybackAlertsService_DetectDropOffPoints_NoDropOff\n\n    logger.go:146: 2025-12-15T18:57:45.054-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"28aaf730-560c-48bb-82e5-7ef0f593a12e\", \"alerts_count\": 0}\n\n--- PASS: TestPlaybackAlertsService_DetectDropOffPoints_NoDropOff (0.02s)\n\n=== RUN   TestNewPlaybackAnalyticsService\n\n--- PASS: TestNewPlaybackAnalyticsService (0.00s)\n\n=== RUN   TestNewPlaybackAnalyticsService_NilLogger\n\n--- PASS: TestNewPlaybackAnalyticsService_NilLogger (0.00s)\n\n=== RUN   TestPlaybackAnalyticsService_CalculateCompletionRate\n\n--- PASS: TestPlaybackAnalyticsService_CalculateCompletionRate (0.03s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_Success\n\n    logger.go:146: 2025-12-15T18:57:45.122-0500\tINFO\tPlayback analytics recorded\t{\"id\": \"ffd9cff9-6830-4ed9-a792-4a6635052616\", \"track_id\": \"3bc09044-d840-4fad-8f15-62b9fa4c7b52\", \"user_id\": \"7ec81d29-1c2b-4118-a81d-7fa8beb0e842\", \"play_time\": 120, \"completion_rate\": 66.66666666666666}\n\n    playback_analytics_service_test.go:122: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:122\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 66.67\n\n        \t            \tactual  : 66.66666666666666\n\n        \tTest:       \tTestPlaybackAnalyticsService_RecordPlayback_Success\n\n--- FAIL: TestPlaybackAnalyticsService_RecordPlayback_Success (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0127",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_RecordPlayback_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_RecordPlayback_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID (0.05s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidUserID\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidUserID (0.03s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_TrackNotFound\n\n\r\n\n2025/12/15 18:57:45 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:84 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.150ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"8a301a56-dce3-4569-a4a1-27610cf036e5\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_TrackNotFound (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidCompletionRate\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidCompletionRate (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_ZeroStartedAt\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_ZeroStartedAt (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetTrackStats\n\n    playback_analytics_service_test.go:288: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:288\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 33.33\n\n        \t            \tactual  : 33.33333333333333\n\n        \tTest:       \tTestPlaybackAnalyticsService_GetTrackStats\n\n--- FAIL: TestPlaybackAnalyticsService_GetTrackStats (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0128",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_GetTrackStats",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_GetTrackStats$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsService_GetTrackStats_NoSessions",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsService_GetTrackStats_NoSessions\n\n--- PASS: TestPlaybackAnalyticsService_GetTrackStats_NoSessions (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_GetTrackStats_TrackNotFound\n\n\r\n\n2025/12/15 18:57:45 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:275 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.185ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"64e6e6d3-1444-47d0-b1f0-93c583a56594\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_GetTrackStats_TrackNotFound (0.05s)\n\n=== RUN   TestPlaybackAnalyticsService_GetUserStats\n\n--- PASS: TestPlaybackAnalyticsService_GetUserStats (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetUserStats_UserNotFound\n\n\r\n\n2025/12/15 18:57:45 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:370 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.132ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `users` WHERE `users`.`id` = \"8be974d7-110f-4546-937e-eee854ee68c0\" AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_GetUserStats_UserNotFound (0.01s)\n\n=== RUN   TestPlaybackAnalyticsService_GetSessionsByDateRange\n\n    playback_analytics_service_test.go:419: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:419\n\n        \tError:      \t\"[]\" should have 3 item(s), but has 0\n\n        \tTest:       \tTestPlaybackAnalyticsService_GetSessionsByDateRange\n\n--- FAIL: TestPlaybackAnalyticsService_GetSessionsByDateRange (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0129",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_GetSessionsByDateRange",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_GetSessionsByDateRange$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestPlaybackComparisonService_CompareUsers_InvalidUserID (0.01s)",
        "log_excerpt": "--- PASS: TestPlaybackComparisonService_CompareUsers_InvalidUserID (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CompareUsers_TrackNotFound\n\n\r\n\n2025/12/15 18:57:45 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_comparison_service.go:371 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.120ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"50bfa76b-a2c2-4471-b85f-64c23c60d250\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackComparisonService_CompareUsers_TrackNotFound (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CompareUsers_UserNotFound\n\n\r\n\n2025/12/15 18:57:45 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_comparison_service.go:386 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.102ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `users` WHERE `users`.`id` = \"ca3442f2-a50b-4636-81a6-dfd14eda1ede\" AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT 1\n\n--- PASS: TestPlaybackComparisonService_CompareUsers_UserNotFound (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CalculateDifference\n\n--- PASS: TestPlaybackComparisonService_CalculateDifference (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CalculatePercentageChange\n\n--- PASS: TestPlaybackComparisonService_CalculatePercentageChange (0.01s)\n\n=== RUN   TestPlaybackComparisonService_CalculatePercentageChange_ZeroBase\n\n--- PASS: TestPlaybackComparisonService_CalculatePercentageChange_ZeroBase (0.01s)\n\n=== RUN   TestPlaybackComparisonService_GetPeriodDates\n\n--- PASS: TestPlaybackComparisonService_GetPeriodDates (0.01s)\n\n=== RUN   TestNewPlaybackExportService\n\n--- PASS: TestNewPlaybackExportService (0.00s)\n\n=== RUN   TestNewPlaybackExportService_NilLogger\n\n--- PASS: TestNewPlaybackExportService_NilLogger (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_Success\n\n    logger.go:146: 2025-12-15T18:57:45.925-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_Success558082020/001/test.csv\", \"count\": 2}\n\n    playback_export_service_test.go:85: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_export_service_test.go:85\n\n        \tError:      \t\"ID,Track ID,User ID,Play Time (seconds),Pause Count,Seek Count,Completion Rate (%),Started At,Ended At,Created At\\n[132 112 112 248 150 14 73 98 170 53 81 220 53 254 199 127],[50 78 239 186 139 39 67 0 156 65 43 148 178 198 33 151],[97 101 222 202 116 38 71 213 187 5 204 38 115 254 129 42],120,2,3,75.00,2025-12-15T18:57:45-05:00,,2025-12-15T18:57:45-05:00\\n[225 6 129 158 96 9 71 199 128 98 39 35 114 9 164 81],[50 78 239 186 139 39 67 0 156 65 43 148 178 198 33 151],[33 111 250 28 175 110 72 135 169 78 216 36 6 255 83 65],150,1,2,90.00,2025-12-15T18:57:45-05:00,2025-12-15T18:57:45-05:00,2025-12-15T18:57:45-05:00\\n\" does not contain \"847070f8-960e-4962-aa35-51dc35fec77f\"\n\n        \tTest:       \tTestPlaybackExportService_ExportCSV_Success\n\n--- FAIL: TestPlaybackExportService_ExportCSV_Success (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0130",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackExportService_ExportCSV_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackExportService_ExportCSV_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:57:45.927-0500\tINFO\tAnalytics exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportJSON_Success3433278874/001/test.json\", \"count\": 1}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:57:45.927-0500\tINFO\tAnalytics exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportJSON_Success3433278874/001/test.json\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportJSON_Success (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportJSON_EmptyData\n\n--- PASS: TestPlaybackExportService_ExportJSON_EmptyData (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_CSV\n\n    logger.go:146: 2025-12-15T18:57:45.928-0500\tINFO\tAnalytics report exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportReport_CSV3752319853/001/report.csv\", \"count\": 2}\n\n--- PASS: TestPlaybackExportService_ExportReport_CSV (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_JSON\n\n    logger.go:146: 2025-12-15T18:57:45.930-0500\tINFO\tAnalytics report exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportReport_JSON799667728/001/report.json\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportReport_JSON (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_InvalidFormat\n\n--- PASS: TestPlaybackExportService_ExportReport_InvalidFormat (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_EmptyData\n\n--- PASS: TestPlaybackExportService_ExportReport_EmptyData (0.00s)\n\n=== RUN   TestPlaybackExportService_calculateReportStats\n\n--- PASS: TestPlaybackExportService_calculateReportStats (0.00s)\n\n=== RUN   TestPlaybackExportService_calculateReportStats_Empty\n\n--- PASS: TestPlaybackExportService_calculateReportStats_Empty (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_WithEndedAt\n\n    logger.go:146: 2025-12-15T18:57:45.933-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_WithEndedAt517863022/001/test.csv\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportCSV_WithEndedAt (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_WithoutEndedAt\n\n    logger.go:146: 2025-12-15T18:57:45.935-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_WithoutEndedAt4131685764/001/test.csv\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportCSV_WithoutEndedAt (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportToWriter_CSV\n\n    playback_export_service_test.go:433: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_export_service_test.go:433\n\n        \tError:      \t\"ID,Track ID,User ID,Play Time (seconds),Pause Count,Seek Count,Completion Rate (%),Started At,Ended At,Created At\\n[21 210 7 63 251 53 72 20 163 173 160 168 175 219 151 118],[159 140 92 140 191 243 72 163 185 185 162 73 227 2 164 156],[160 254 119 12 188 158 68 13 131 62 198 101 9 165 190 228],120,0,0,75.00,2025-12-15T18:57:45-05:00,,2025-12-15T18:57:45-05:00\\n\" does not contain \"15d2073f-fb35-4814-a3ad-a0a8afdb9776\"\n\n        \tTest:       \tTestPlaybackExportService_ExportToWriter_CSV\n\n--- FAIL: TestPlaybackExportService_ExportToWriter_CSV (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0131",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackExportService_ExportToWriter_CSV",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackExportService_ExportToWriter_CSV$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "2025/12/15 18:57:46 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found",
        "log_excerpt": "2025/12/15 18:57:46 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.148ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"28bc75a6-ed6d-436e-9101-c8221fa5b904\" AND playlist_id = \"055f7fa1-36f7-47dc-8569-c4d7fbf14f0e\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist (0.02s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_OwnPlaylist\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_OwnPlaylist (0.01s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_NotFound\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:37 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.091ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlists` WHERE id = \"b1f63ab9-c4f1-4b66-b812-25410b000eaa\" AND `playlists`.`deleted_at` IS NULL ORDER BY `playlists`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_NotFound (0.02s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_Idempotent\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.200ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"fbd98b45-eefc-4bc8-ae80-68f7a6757e4b\" AND playlist_id = \"c4b269e7-6090-4ab7-b711-45eaea67ccf3\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_Idempotent (0.02s)\n\n=== RUN   TestPlaylistFollowService_UnfollowPlaylist\n\n    upload_async_polling_test.go:235: Poll attempt 7: status=processing\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.242ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"4c0e2812-17e2-4057-9434-495aecf9195c\" AND playlist_id = \"571a4fe7-dcef-4130-a049-5939e0c94e79\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:105 \u001b[35;1mno such function: GREATEST\n\n\u001b[0m\u001b[33m[0.053ms] \u001b[34;1m[rows:0]\u001b[0m UPDATE `playlists` SET `follower_count`=GREATEST(follower_count - 1, 0) WHERE `playlists`.`deleted_at` IS NULL AND `id` = \"571a4fe7-dcef-4130-a049-5939e0c94e79\"\n\n    playlist_follow_service_test.go:238: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service_test.go:238\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 0\n\n        \t            \tactual  : 1\n\n        \tTest:       \tTestPlaylistFollowService_UnfollowPlaylist\n\n--- FAIL: TestPlaylistFollowService_UnfollowPlaylist (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0132",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistFollowService_UnfollowPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistFollowService_UnfollowPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistFollowService_UnfollowPlaylist_Idempotent",
        "log_excerpt": "=== RUN   TestPlaylistFollowService_UnfollowPlaylist_Idempotent\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:89 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.367ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"5df077f0-2ecb-48a6-9252-245a577fcbac\" AND playlist_id = \"01b9c8fc-cc31-42da-93e2-4bec9231fd22\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_UnfollowPlaylist_Idempotent (0.02s)\n\n=== RUN   TestPlaylistFollowService_IsFollowing\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.160ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"6f84827e-9291-4e00-b038-f7b6fc17d4d0\" AND playlist_id = \"7db66fd5-3efb-4862-aa9a-bc9be0bd4bad\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_IsFollowing (0.04s)\n\n=== RUN   TestPlaylistFollowService_GetPlaylistFollowersCount\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.151ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"e212a276-c0d8-48ca-84e8-cd49af216871\" AND playlist_id = \"e6f718c8-19a7-4c68-a4bd-a1feaae7292b\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.055ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"dd1d1233-64c2-4f14-9ee0-a58f268ce14a\" AND playlist_id = \"e6f718c8-19a7-4c68-a4bd-a1feaae7292b\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_GetPlaylistFollowersCount (0.03s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_ByQuery\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_repository.go:186 \u001b[35;1mno such column: title\n\n\u001b[0m\u001b[33m[0.153ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `playlists` WHERE ((title LIKE \"%Rock%\" OR description LIKE \"%Rock%\")) AND `playlists`.`deleted_at` IS NULL\n\n    playlist_service_search_test.go:110: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:110\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to search playlists: no such column: title\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_ByQuery\n\n--- FAIL: TestPlaylistService_SearchPlaylists_ByQuery (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0133",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_ByQuery",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_ByQuery$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_ByUserID",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_ByUserID\n\n--- PASS: TestPlaylistService_SearchPlaylists_ByUserID (0.02s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_ByIsPublic\n\n--- PASS: TestPlaylistService_SearchPlaylists_ByIsPublic (0.01s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists\n\n    playlist_service_search_test.go:204: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:204\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_OwnPrivatePlaylists\n\n        \tMessages:   \tShould find own private playlist\n\n--- FAIL: TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0134",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_Unauthenticated",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_Unauthenticated\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_repository.go:186 \u001b[35;1mno such column: title\n\n\u001b[0m\u001b[33m[0.066ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `playlists` WHERE ((title LIKE \"%Playlist%\" OR description LIKE \"%Playlist%\")) AND is_public = true AND `playlists`.`deleted_at` IS NULL\n\n    playlist_service_search_test.go:221: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:221\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to search playlists: no such column: title\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_Unauthenticated\n\n--- FAIL: TestPlaylistService_SearchPlaylists_Unauthenticated (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0135",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_Unauthenticated",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_Unauthenticated$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_Pagination",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_Pagination\n\n--- PASS: TestPlaylistService_SearchPlaylists_Pagination (0.01s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_EmptyQuery\n\n--- PASS: TestPlaylistService_SearchPlaylists_EmptyQuery (0.01s)\n\n=== RUN   TestPlaylistService_CreatePlaylist\n\n--- PASS: TestPlaylistService_CreatePlaylist (0.01s)\n\n=== RUN   TestPlaylistService_AddTrackToPlaylist\n\n    upload_async_polling_test.go:235: Poll attempt 8: status=processing\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:78 \u001b[35;1mno such column: position\n\n\u001b[0m\u001b[33m[0.054ms] \u001b[34;1m[rows:-]\u001b[0m SELECT COALESCE(MAX(position), 0) FROM `playlist_tracks` WHERE playlist_id = \"4251eadc-6fb7-4235-b4ab-166df68dfc1a\"\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:98 \u001b[35;1mtable playlist_tracks has no column named id\n\n\u001b[0m\u001b[33m[0.068ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `playlist_tracks` (`id`,`playlist_id`,`track_id`,`position`,`added_by`,`added_at`) VALUES (\"7f9bcf0d-dfde-45be-bfae-da24e9de873a\",\"4251eadc-6fb7-4235-b4ab-166df68dfc1a\",\"7585bddb-3e06-4d50-bfb0-6e125ab4d723\",1,\"00000000-0000-0000-0000-000000000000\",\"2025-12-15 18:57:47.259\")\n\n    playlist_service_test.go:127: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:127\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to add track to playlist: table playlist_tracks has no column named id\n\n        \tTest:       \tTestPlaylistService_AddTrackToPlaylist\n\n    playlist_service_test.go:132: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:132\n\n        \tError:      \t\"[]\" should have 1 item(s), but has 0\n\n        \tTest:       \tTestPlaylistService_AddTrackToPlaylist\n\n--- FAIL: TestPlaylistService_AddTrackToPlaylist (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0136",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_AddTrackToPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_AddTrackToPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_RemoveTrackFromPlaylist",
        "log_excerpt": "=== RUN   TestPlaylistService_RemoveTrackFromPlaylist\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:78 \u001b[35;1mno such column: position\n\n\u001b[0m\u001b[33m[0.037ms] \u001b[34;1m[rows:-]\u001b[0m SELECT COALESCE(MAX(position), 0) FROM `playlist_tracks` WHERE playlist_id = \"a4999eb2-85df-4dc4-b413-0f4b162985ff\"\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:98 \u001b[35;1mtable playlist_tracks has no column named id\n\n\u001b[0m\u001b[33m[0.102ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `playlist_tracks` (`id`,`playlist_id`,`track_id`,`position`,`added_by`,`added_at`) VALUES (\"eaf8672f-2872-4b81-8d4e-b0f58426aad9\",\"a4999eb2-85df-4dc4-b413-0f4b162985ff\",\"cdc489de-dac4-4ef2-8161-1a02536eba21\",1,\"00000000-0000-0000-0000-000000000000\",\"2025-12-15 18:57:47.266\")\n\n    playlist_service_test.go:158: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:158\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to add track to playlist: table playlist_tracks has no column named id\n\n        \tTest:       \tTestPlaylistService_RemoveTrackFromPlaylist\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:119 \u001b[35;1mno such column: playlist_tracks.id\n\n\u001b[0m\u001b[33m[0.030ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_tracks` WHERE playlist_id = \"a4999eb2-85df-4dc4-b413-0f4b162985ff\" AND track_id = \"cdc489de-dac4-4ef2-8161-1a02536eba21\" ORDER BY `playlist_tracks`.`id` LIMIT 1\n\n    playlist_service_test.go:162: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:162\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to remove track from playlist: no such column: playlist_tracks.id\n\n        \tTest:       \tTestPlaylistService_RemoveTrackFromPlaylist\n\n--- FAIL: TestPlaylistService_RemoveTrackFromPlaylist (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0137",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_RemoveTrackFromPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_RemoveTrackFromPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestRefreshTokenService_StoreMultipleTokens (0.01s)",
        "log_excerpt": "--- PASS: TestRefreshTokenService_StoreMultipleTokens (0.01s)\n\n=== RUN   TestRefreshTokenService_Validate_AfterRevokeOne\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/refresh_token_service.go:49 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.707ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `refresh_tokens` WHERE (user_id = \"dc1254a9-2bfc-450d-bc14-1255519022e6\" AND token_hash = \"3f08aace122ee2368432c1ca23a049bc640bafbf00fdf33a52429f38ba12dbf9\") AND `refresh_tokens`.`deleted_at` IS NULL ORDER BY `refresh_tokens`.`id` LIMIT 1\n\n--- PASS: TestRefreshTokenService_Validate_AfterRevokeOne (0.03s)\n\n=== RUN   TestRoomService_CreateRoom\n\n--- PASS: TestRoomService_CreateRoom (0.02s)\n\n=== RUN   TestRoomService_GetUserRooms\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/room_repository.go:47 \u001b[35;1mno such column: room_members.deleted_at\n\n\u001b[0m\u001b[33m[0.089ms] \u001b[34;1m[rows:0]\u001b[0m SELECT `rooms`.`id`,`rooms`.`name`,`rooms`.`description`,`rooms`.`room_type`,`rooms`.`is_private`,`rooms`.`created_by`,`rooms`.`created_at`,`rooms`.`updated_at`,`rooms`.`deleted_at` FROM `rooms` JOIN room_members ON rooms.id = room_members.room_id WHERE (room_members.user_id = \"97e09f75-7839-462a-8a32-de2192fa5cdf\" AND room_members.deleted_at IS NULL) AND `rooms`.`deleted_at` IS NULL\n\n    room_service_test.go:90: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:90\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to get user rooms: no such column: room_members.deleted_at\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:91: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:91\n\n        \tError:      \t\"[]\" should have 2 item(s), but has 0\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:103: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:103\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:104: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:104\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n--- FAIL: TestRoomService_GetUserRooms (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0138",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestRoomService_GetUserRooms",
      "failure_type": "panic",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestRoomService_GetUserRooms$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestRoomService_GetRoomHistory",
        "log_excerpt": "=== RUN   TestRoomService_GetRoomHistory\n\n\r\n\n2025/12/15 18:57:47 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/chat_message_repository.go:27 \u001b[35;1mno such column: conversation_id\n\n\u001b[0m\u001b[33m[0.050ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `messages` WHERE conversation_id = \"1320ae1e-f231-426f-a4aa-6f172e3246ea\" AND is_deleted = false ORDER BY created_at DESC LIMIT 10\n\n    room_service_test.go:127: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:127\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to get room history: failed to get conversation messages: no such column: conversation_id\n\n        \tTest:       \tTestRoomService_GetRoomHistory\n\n    room_service_test.go:128: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:128\n\n        \tError:      \t\"[]\" should have 3 item(s), but has 0\n\n        \tTest:       \tTestRoomService_GetRoomHistory\n\n--- FAIL: TestRoomService_GetRoomHistory (0.01s)\n\npanic: runtime error: index out of range [0] with length 0 [recovered]\n\n\tpanic: runtime error: index out of range [0] with length 0\n\n\n\ngoroutine 1830 [running]:\n\ntesting.tRunner.func1.2({0x1345360, 0xc000617140})\n\n\t/usr/lib/golang/src/testing/testing.go:1734 +0x21c\n\ntesting.tRunner.func1()\n\n\t/usr/lib/golang/src/testing/testing.go:1737 +0x35e\n\npanic({0x1345360?, 0xc000617140?})\n\n\t/usr/lib/golang/src/runtime/panic.go:792 +0x132\n\nveza-backend-api/internal/services.TestRoomService_GetRoomHistory(0xc000881dc0)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:129 +0x688\n\ntesting.tRunner(0xc000881dc0, 0x1430ed0)\n\n\t/usr/lib/golang/src/testing/testing.go:1792 +0xf4\n\ncreated by testing.(*T).Run in goroutine 1\n\n\t/usr/lib/golang/src/testing/testing.go:1851 +0x413\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Runtime panic - likely nil pointer, index out of range, or type assertion failure",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed repository column name issues"
      ]
    },
    {
      "id": "TF-0139",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "TestRoomService_GetRoomHistory",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestRoomService_GetRoomHistory$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL\tveza-backend-api/internal/services\t25.636s",
        "log_excerpt": "FAIL\tveza-backend-api/internal/services\t25.636s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0140",
      "scope": "integration",
      "package": "veza-backend-api/internal/services",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -v",
        "env": {},
        "requires": [
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "upload_async_polling_test.go:235: Poll attempt 12: status=processing",
        "log_excerpt": "    upload_async_polling_test.go:235: Poll attempt 12: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 13: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 14: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 15: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 16: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 17: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 18: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 19: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 20: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 21: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 22: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 23: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 24: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 25: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 26: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 27: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 28: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 29: status=processing\n\n    upload_async_polling_test.go:235: Poll attempt 30: status=processing\n\n--- PASS: TestUploadAsyncPollingStatus (26.61s)\n\n=== RUN   TestUploadAsyncPollingStatus_Transitions\n\n\r\n\n2025/12/15 18:57:51 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/tests/integration/upload_async_polling_test.go:290 \u001b[35;1mERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n\u001b[0m\u001b[33m[21.580ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO \"users\" (\"id\",\"username\",\"slug\",\"email\",\"password_hash\",\"token_version\",\"first_name\",\"last_name\",\"avatar\",\"bio\",\"location\",\"birthdate\",\"gender\",\"username_changed_at\",\"role\",\"is_active\",\"is_verified\",\"is_admin\",\"is_public\",\"last_login_at\",\"created_at\",\"updated_at\",\"deleted_at\") VALUES ('28420a04-64d6-4609-be06-386781915f74','test_28420a04','','test_transitions_28420a04@example.com','',0,'','','','','',NULL,'',NULL,'user',true,false,false,true,NULL,'2025-12-15 18:57:51.779','2025-12-15 18:57:51.779',NULL)\n\n    upload_async_polling_test.go:290: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/integration/upload_async_polling_test.go:290\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestUploadAsyncPollingStatus_Transitions\n\n--- FAIL: TestUploadAsyncPollingStatus_Transitions (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0141",
      "scope": "integration",
      "package": "veza-backend-api/tests/integration",
      "test": "TestUploadAsyncPollingStatus_Transitions",
      "failure_type": "quarantine",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run ^TestUploadAsyncPollingStatus_Transitions$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestUploadScalability",
        "log_excerpt": "=== RUN   TestUploadScalability\n\nredis: 2025/12/15 18:57:51 redis.go:478: auto mode fallback: maintnotifications disabled due to handshake error: ERR unknown subcommand 'maint_notifications'. Try CLIENT HELP.\n\n    upload_flow_test.go:60: Replica 1: Initiating Upload\n\n    upload_flow_test.go:71: Replica 2: Checking State\n\n--- PASS: TestUploadScalability (0.01s)\n\nFAIL\n\nFAIL\tveza-backend-api/tests/integration\t26.850s\n",
        "source_files": [
          {
            "path": "tests/integration/upload_async_polling_test.go",
            "hint_lines": []
          }
        ]
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": [
          "Quarantined: CI Nightly - test de transitions de status, fix username format appliqu\u00e9"
        ]
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0142",
      "scope": "integration",
      "package": "veza-backend-api/tests/integration",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0143",
      "scope": "integration",
      "package": "veza-backend-api/tests/transactions",
      "test": "<compile>",
      "failure_type": "compile",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests/transactions -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "tests/transactions/playlist_duplicate_transaction_test.go:80:13: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "log_excerpt": "tests/transactions/playlist_duplicate_transaction_test.go:80:13: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "source_files": [
          {
            "path": "tests/transactions/playlist_duplicate_transaction_test.go",
            "hint_lines": [
              80
            ]
          }
        ]
      },
      "analysis": {
        "likely_root_cause": "Compilation error: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "Fix compilation error at tests/transactions/playlist_duplicate_transaction_test.go:80",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed compilation error: FileID pointer issue",
        "Fixed compilation error: FileID pointer issue"
      ]
    },
    {
      "id": "TF-0001",
      "scope": "race",
      "package": "veza-backend-api/cmd/api",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/api -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0002",
      "scope": "race",
      "package": "veza-backend-api/cmd/generate-config-docs",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/generate-config-docs -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0003",
      "scope": "race",
      "package": "veza-backend-api/cmd/migrate_tool",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/migrate_tool -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0004",
      "scope": "race",
      "package": "veza-backend-api/cmd/modern-server",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/modern-server -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0005",
      "scope": "race",
      "package": "veza-backend-api/cmd/tools/hash_gen",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/cmd/tools/hash_gen -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0006",
      "scope": "race",
      "package": "veza-backend-api/docs",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/docs -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0007",
      "scope": "race",
      "package": "veza-backend-api/internal/api",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0008",
      "scope": "race",
      "package": "veza-backend-api/internal/api/admin",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/admin -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0009",
      "scope": "race",
      "package": "veza-backend-api/internal/api/chat",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/chat -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0010",
      "scope": "race",
      "package": "veza-backend-api/internal/api/collaboration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/collaboration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0011",
      "scope": "race",
      "package": "veza-backend-api/internal/api/contest",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/contest -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0012",
      "scope": "race",
      "package": "veza-backend-api/internal/api/education",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/education -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0013",
      "scope": "race",
      "package": "veza-backend-api/internal/api/graphql",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/graphql -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0014",
      "scope": "race",
      "package": "veza-backend-api/internal/api/grpc",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/grpc -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0015",
      "scope": "race",
      "package": "veza-backend-api/internal/api/handlers",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/handlers -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0016",
      "scope": "race",
      "package": "veza-backend-api/internal/api/listing",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/listing -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0017",
      "scope": "race",
      "package": "veza-backend-api/internal/api/message",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/message -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0018",
      "scope": "race",
      "package": "veza-backend-api/internal/api/offer",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/offer -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0019",
      "scope": "race",
      "package": "veza-backend-api/internal/api/production_challenge",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/production_challenge -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0020",
      "scope": "race",
      "package": "veza-backend-api/internal/api/search",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/search -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0021",
      "scope": "race",
      "package": "veza-backend-api/internal/api/shared_resources",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/shared_resources -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0022",
      "scope": "race",
      "package": "veza-backend-api/internal/api/sound_design_contest",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/sound_design_contest -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0023",
      "scope": "race",
      "package": "veza-backend-api/internal/api/room",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/room -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0024",
      "scope": "race",
      "package": "veza-backend-api/internal/api/tag",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/tag -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0025",
      "scope": "race",
      "package": "veza-backend-api/internal/api/track",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/track -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0026",
      "scope": "race",
      "package": "veza-backend-api/internal/api/user",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/user -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0027",
      "scope": "race",
      "package": "veza-backend-api/internal/api/voting_system",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/voting_system -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0028",
      "scope": "race",
      "package": "veza-backend-api/internal/api/websocket",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/api/websocket -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0029",
      "scope": "race",
      "package": "veza-backend-api/internal/core/auth",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/auth -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0030",
      "scope": "race",
      "package": "veza-backend-api/internal/core/collaboration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/collaboration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0031",
      "scope": "race",
      "package": "veza-backend-api/internal/core/education",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/education -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0032",
      "scope": "race",
      "package": "veza-backend-api/internal/core/marketplace",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/marketplace -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0033",
      "scope": "race",
      "package": "veza-backend-api/internal/core/social",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/social -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0034",
      "scope": "race",
      "package": "veza-backend-api/internal/dto",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/dto -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0035",
      "scope": "race",
      "package": "veza-backend-api/internal/core/track",
      "test": "TestTrackHandler_SuccessResponseFormat",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/core/track -run TestTrackHandler_SuccessResponseFormat -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0036",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestRunMigrations_TransactionRollback",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestRunMigrations_TransactionRollback -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0037",
      "scope": "race",
      "package": "veza-backend-api/internal/eventbus",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/eventbus -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0038",
      "scope": "race",
      "package": "veza-backend-api/internal/features",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/features -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0039",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestNewDB",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestNewDB -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0040",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestCloseDB",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestCloseDB -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0041",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestGetPoolStats",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestGetPoolStats -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0042",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestIsConnectionHealthy",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestIsConnectionHealthy -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0043",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestIsConnectionHealthy_Timeout",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestIsConnectionHealthy_Timeout -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0044",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_ConnectionPooling",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_ConnectionPooling -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0045",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_MaxConnections",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_MaxConnections -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0046",
      "scope": "race",
      "package": "veza-backend-api/internal/database",
      "test": "TestDBPool_Performance",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/database -run TestDBPool_Performance -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0047",
      "scope": "race",
      "package": "veza-backend-api/internal/infrastructure/eventbus",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/eventbus -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0048",
      "scope": "race",
      "package": "veza-backend-api/internal/infrastructure/events",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/events -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0049",
      "scope": "race",
      "package": "veza-backend-api/internal/infrastructure/ssl",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/infrastructure/ssl -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0050",
      "scope": "race",
      "package": "veza-backend-api/internal/interfaces",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/interfaces -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0051",
      "scope": "race",
      "package": "veza-backend-api/internal/logging",
      "test": "TestOptimizedLogger_Performance",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/logging -run ^TestOptimizedLogger_Performance$ -v",
        "env": {},
        "requires": [
          "postgres",
          "postgres",
          "postgres",
          "redis",
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18436}",
        "log_excerpt": "{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18436}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18437}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18438}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18439}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18440}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18441}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18442}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18443}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18444}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18445}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18446}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.383-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18447}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18448}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18449}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18450}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18451}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18452}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18453}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18454}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18455}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18456}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18457}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18458}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18459}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18460}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18461}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18462}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18463}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18464}\n\n{\"level\":\"info\",\"ts\":\"2025-12-15T18:57:45.384-0500\",\"caller\":\"logging/logger.go:126\",\"msg\":\"high load test\",\"test\":\"high_load\",\"iteration\":18465}\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0052",
      "scope": "race",
      "package": "veza-backend-api/internal/logging",
      "test": "TestOptimizedLogger_HighLoad",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/logging -run ^TestOptimizedLogger_HighLoad$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x33",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x33\n\n\n\nGoroutine 69 (running) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  testing.runTests.func1()\n\n      /usr/lib/golang/src/testing/testing.go:2279 +0x85\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.runTests()\n\n      /usr/lib/golang/src/testing/testing.go:2277 +0x96c\n\n  testing.(*M).Run()\n\n      /usr/lib/golang/src/testing/testing.go:2142 +0xeea\n\n  main.main()\n\n      _testmain.go:117 +0x164\n\n\n\nGoroutine 70 (running) created at:\n\n  veza-backend-api/internal/logging.createBufferedAsyncWriter()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x214\n\n  veza-backend-api/internal/logging.NewOptimizedLogger()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:217 +0x449\n\n  veza-backend-api/internal/logging.TestOptimizedLogger_Sampling()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger_performance_test.go:111 +0x4b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestOptimizedLogger_Sampling (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0053",
      "scope": "race",
      "package": "veza-backend-api/internal/logging",
      "test": "TestOptimizedLogger_Sampling",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/logging -run ^TestOptimizedLogger_Sampling$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x33",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x33\n\n\n\nGoroutine 71 (running) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  testing.runTests.func1()\n\n      /usr/lib/golang/src/testing/testing.go:2279 +0x85\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.runTests()\n\n      /usr/lib/golang/src/testing/testing.go:2277 +0x96c\n\n  testing.(*M).Run()\n\n      /usr/lib/golang/src/testing/testing.go:2142 +0xeea\n\n  main.main()\n\n      _testmain.go:117 +0x164\n\n\n\nGoroutine 72 (running) created at:\n\n  veza-backend-api/internal/logging.createBufferedAsyncWriter()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x214\n\n  veza-backend-api/internal/logging.NewOptimizedLogger()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:217 +0x449\n\n  veza-backend-api/internal/logging.TestOptimizedLogger_Concurrent()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger_performance_test.go:133 +0x4b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestOptimizedLogger_Concurrent (0.07s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0054",
      "scope": "race",
      "package": "veza-backend-api/internal/logging",
      "test": "TestOptimizedLogger_Concurrent",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/logging -run ^TestOptimizedLogger_Concurrent$ -v",
        "env": {},
        "requires": [
          "postgres",
          "postgres",
          "postgres",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x33",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x33\n\n\n\nGoroutine 85 (running) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  testing.runTests.func1()\n\n      /usr/lib/golang/src/testing/testing.go:2279 +0x85\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.runTests()\n\n      /usr/lib/golang/src/testing/testing.go:2277 +0x96c\n\n  testing.(*M).Run()\n\n      /usr/lib/golang/src/testing/testing.go:2142 +0xeea\n\n  main.main()\n\n      _testmain.go:117 +0x164\n\n\n\nGoroutine 86 (running) created at:\n\n  veza-backend-api/internal/logging.createBufferedAsyncWriter()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:261 +0x214\n\n  veza-backend-api/internal/logging.NewOptimizedLoggerWithRotation()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger.go:393 +0x555\n\n  veza-backend-api/internal/logging.TestOptimizedLogger_WithRotation()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/logging/logger_performance_test.go:172 +0x7a\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestOptimizedLogger_WithRotation (0.21s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0055",
      "scope": "race",
      "package": "veza-backend-api/internal/logging",
      "test": "TestOptimizedLogger_WithRotation",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/logging -run ^TestOptimizedLogger_WithRotation$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestLogger_With (0.00s)",
        "log_excerpt": "--- PASS: TestLogger_With (0.00s)\n\n=== RUN   TestLogger_With_Chaining\n\n2025-12-15T18:57:45.782-0500\tINFO\tlogging/logger.go:126\tchained logger test\t{\"service\": \"api\", \"handler\": \"auth\", \"method\": \"POST\"}\n\n--- PASS: TestLogger_With_Chaining (0.00s)\n\n=== RUN   TestLogger_Sync\n\n--- PASS: TestLogger_Sync (0.00s)\n\n=== RUN   TestLogger_GetZapLogger\n\n--- PASS: TestLogger_GetZapLogger (0.00s)\n\n=== RUN   TestNewLoggerWithRotation_Production\n\n--- PASS: TestNewLoggerWithRotation_Production (0.01s)\n\n=== RUN   TestNewLoggerWithRotation_Development\n\n--- PASS: TestNewLoggerWithRotation_Development (0.00s)\n\n=== RUN   TestNewLoggerWithRotation_ManyLogs\n\n--- PASS: TestCreatePlaylist_Success (0.07s)\n\n=== RUN   TestCreatePlaylist_ValidationErrors\n\n=== RUN   TestCreatePlaylist_ValidationErrors/empty_title\n\n--- PASS: TestCreatePlaylist_ValidationErrors/empty_title (0.00s)\n\n=== RUN   TestCreatePlaylist_ValidationErrors/title_too_long\n\n--- PASS: TestCreatePlaylist_ValidationErrors/title_too_long (0.00s)\n\n=== RUN   TestCreatePlaylist_ValidationErrors/missing_title\n\n--- PASS: TestCreatePlaylist_ValidationErrors/missing_title (0.00s)\n\n--- PASS: TestCreatePlaylist_ValidationErrors (0.06s)\n\n=== RUN   TestCreatePlaylist_Unauthorized\n\n    playlist_handler_integration_test.go:247: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_handler_integration_test.go:247\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 401\n\n        \t            \tactual  : 403\n\n        \tTest:       \tTestCreatePlaylist_Unauthorized\n\n--- FAIL: TestCreatePlaylist_Unauthorized (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0056",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestCreatePlaylist_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestCreatePlaylist_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestGetPlaylist_Public",
        "log_excerpt": "=== RUN   TestGetPlaylist_Public\n\n--- PASS: TestGetPlaylist_Public (0.07s)\n\n=== RUN   TestGetPlaylist_Private_Unauthorized\n\n    playlist_handler_integration_test.go:324: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_handler_integration_test.go:324\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 200\n\n        \tTest:       \tTestGetPlaylist_Private_Unauthorized\n\n--- FAIL: TestGetPlaylist_Private_Unauthorized (0.06s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0057",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestGetPlaylist_Private_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestGetPlaylist_Private_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestGetPlaylist_Private_AsOwner",
        "log_excerpt": "=== RUN   TestGetPlaylist_Private_AsOwner\n\n--- PASS: TestNewLoggerWithRotation_ManyLogs (0.25s)\n\n=== RUN   TestNewLoggerWithRotation_AllLogLevels\n\n--- PASS: TestNewLoggerWithRotation_AllLogLevels (0.00s)\n\n=== RUN   TestNewLoggerWithRotation_WithFields\n\n--- PASS: TestNewLoggerWithRotation_WithFields (0.00s)\n\n=== RUN   TestNewLoggerWithRotation_NoDataLoss\n\n--- PASS: TestNewLoggerWithRotation_NoDataLoss (0.00s)\n\n=== RUN   TestNewLoggerWithRotation_ConcurrentWrites\n\n--- PASS: TestNewLoggerWithRotation_ConcurrentWrites (0.03s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/logging\t1.875s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0058",
      "scope": "race",
      "package": "veza-backend-api/internal/logging",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/logging -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestGetPlaylist_Private_AsOwner (0.05s)",
        "log_excerpt": "--- PASS: TestGetPlaylist_Private_AsOwner (0.05s)\n\n=== RUN   TestUpdatePlaylist_AsOwner\n\n--- PASS: TestUpdatePlaylist_AsOwner (0.07s)\n\n=== RUN   TestUpdatePlaylist_NotOwner\n\n--- PASS: TestUpdatePlaylist_NotOwner (0.06s)\n\n=== RUN   TestDeletePlaylist_AsOwner\n\n--- PASS: TestDeletePlaylist_AsOwner (0.11s)\n\n=== RUN   TestDeletePlaylist_NotOwner\n\n--- PASS: TestDeletePlaylist_NotOwner (0.07s)\n\n=== RUN   TestListPlaylists_Pagination\n\n--- PASS: TestListPlaylists_Pagination (0.09s)\n\n=== RUN   TestListPlaylists_FilterByUser\n\n--- PASS: TestListPlaylists_FilterByUser (0.10s)\n\n=== RUN   TestAddTrackToPlaylist_Success\n\nok  \tveza-backend-api/internal/jobs\t2.421s\n\n    playlist_track_handler_integration_test.go:143: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:143\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"track added to playlist\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestAddTrackToPlaylist_Success\n\n    playlist_track_handler_integration_test.go:144: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:144\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"track added to playlist\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestAddTrackToPlaylist_Success\n\n--- FAIL: TestAddTrackToPlaylist_Success (0.07s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0059",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestAddTrackToPlaylist_Ownership\n\n    playlist_track_handler_integration_test.go:201: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:201\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:46Z\"})\n\n        \tTest:       \tTestAddTrackToPlaylist_Ownership\n\n--- FAIL: TestAddTrackToPlaylist_Ownership (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0060",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestAddTrackToPlaylist_Unauthorized\n\n    playlist_track_handler_integration_test.go:235: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:235\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 401\n\n        \t            \tactual  : 403\n\n        \tTest:       \tTestAddTrackToPlaylist_Unauthorized\n\n--- FAIL: TestAddTrackToPlaylist_Unauthorized (0.09s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0061",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestAddTrackToPlaylist_Unauthorized",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestAddTrackToPlaylist_Unauthorized$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestAddTrackToPlaylist_TrackNotFound",
        "log_excerpt": "=== RUN   TestAddTrackToPlaylist_TrackNotFound\n\n\r\n\n2025/12/15 18:57:46 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:53 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.220ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE id = \"3e1864de-2418-4f13-9563-1f14dd5be2c5\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestAddTrackToPlaylist_TrackNotFound (0.12s)\n\n=== RUN   TestRemoveTrackFromPlaylist_Success\n\n    playlist_track_handler_integration_test.go:316: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:316\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"track removed from playlist\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Success\n\n    playlist_track_handler_integration_test.go:317: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:317\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"track removed from playlist\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Success\n\n--- FAIL: TestRemoveTrackFromPlaylist_Success (0.09s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0062",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestRemoveTrackFromPlaylist_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestRemoveTrackFromPlaylist_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestRemoveTrackFromPlaylist_Ownership\n\n    playlist_track_handler_integration_test.go:375: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:375\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:47Z\"})\n\n        \tTest:       \tTestRemoveTrackFromPlaylist_Ownership\n\n--- FAIL: TestRemoveTrackFromPlaylist_Ownership (0.08s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0063",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestRemoveTrackFromPlaylist_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestRemoveTrackFromPlaylist_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"tracks reordered\"}, \"success\":true} does not contain \"message\"",
        "log_excerpt": "=== RUN   TestReorderPlaylistTracks_Success\n\n    playlist_track_handler_integration_test.go:434: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:434\n\n        \tError:      \tmap[string]interface {}{\"data\":map[string]interface {}{\"message\":\"tracks reordered\"}, \"success\":true} does not contain \"message\"\n\n        \tTest:       \tTestReorderPlaylistTracks_Success\n\n    playlist_track_handler_integration_test.go:435: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:435\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"tracks reordered\")\n\n        \t            \tactual  : <nil>(<nil>)\n\n        \tTest:       \tTestReorderPlaylistTracks_Success\n\n--- FAIL: TestReorderPlaylistTracks_Success (0.09s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0064",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestReorderPlaylistTracks_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestReorderPlaylistTracks_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestReorderPlaylistTracks_Ownership\n\n    playlist_track_handler_integration_test.go:498: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/handlers/playlist_track_handler_integration_test.go:498\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: string(\"forbidden\")\n\n        \t            \tactual  : map[string]interface {}(map[string]interface {}{\"code\":1003, \"message\":\"forbidden\", \"timestamp\":\"2025-12-15T23:57:47Z\"})\n\n        \tTest:       \tTestReorderPlaylistTracks_Ownership\n\n--- FAIL: TestReorderPlaylistTracks_Ownership (0.11s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0065",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "TestReorderPlaylistTracks_Ownership",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -run ^TestReorderPlaylistTracks_Ownership$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestReorderPlaylistTracks_InvalidRequest",
        "log_excerpt": "=== RUN   TestReorderPlaylistTracks_InvalidRequest\n\n--- PASS: TestReorderPlaylistTracks_InvalidRequest (0.11s)\n\n=== RUN   TestRoomHandler_CreateRoom\n\n=== RUN   TestRoomHandler_CreateRoom/Success\n\n--- PASS: TestRoomHandler_CreateRoom/Success (0.00s)\n\n=== RUN   TestRoomHandler_CreateRoom/Unauthorized\n\n--- PASS: TestRoomHandler_CreateRoom/Unauthorized (0.00s)\n\n=== RUN   TestRoomHandler_CreateRoom/Invalid_Payload\n\n--- PASS: TestRoomHandler_CreateRoom/Invalid_Payload (0.00s)\n\n--- PASS: TestRoomHandler_CreateRoom (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation\n\n=== RUN   TestBindAndValidateJSON_Validation/Valid_Request\n\n--- PASS: TestBindAndValidateJSON_Validation/Valid_Request (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation/Missing_Required_Fields\n\n--- PASS: TestBindAndValidateJSON_Validation/Missing_Required_Fields (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation/Invalid_Email\n\n--- PASS: TestBindAndValidateJSON_Validation/Invalid_Email (0.00s)\n\n=== RUN   TestBindAndValidateJSON_Validation/Min_Length_Violation\n\n--- PASS: TestBindAndValidateJSON_Validation/Min_Length_Violation (0.00s)\n\n--- PASS: TestBindAndValidateJSON_Validation (0.00s)\n\n=== RUN   TestBindAndValidateJSON_DTOs\n\n=== RUN   TestBindAndValidateJSON_DTOs/RegisterRequest_Invalid\n\n--- PASS: TestBindAndValidateJSON_DTOs/RegisterRequest_Invalid (0.00s)\n\n=== RUN   TestBindAndValidateJSON_DTOs/LoginRequest_Invalid\n\n--- PASS: TestBindAndValidateJSON_DTOs/LoginRequest_Invalid (0.00s)\n\n--- PASS: TestBindAndValidateJSON_DTOs (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/handlers\t3.228s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed response format and mock auth middleware"
      ]
    },
    {
      "id": "TF-0066",
      "scope": "race",
      "package": "veza-backend-api/internal/repository",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/repository -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0067",
      "scope": "race",
      "package": "veza-backend-api/internal/response",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/response -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0068",
      "scope": "race",
      "package": "veza-backend-api/internal/security",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/security -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0066",
      "scope": "race",
      "package": "veza-backend-api/internal/handlers",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/handlers -v",
        "env": {},
        "requires": [
          "redis",
          "postgres",
          "postgres",
          "redis",
          "postgres",
          "redis",
          "redis",
          "redis",
          "postgres",
          "redis"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestTrackHistory_CascadeDelete",
        "log_excerpt": "=== RUN   TestTrackHistory_CascadeDelete\n\n    track_history_test.go:281: Note: CASCADE delete not enforced in SQLite in-memory (expected in some SQLite versions)\n\n--- PASS: TestTrackHistory_CascadeDelete (0.05s)\n\n=== RUN   TestTrackHistory_Indexes\n\n--- PASS: TestTrackHistory_Indexes (0.05s)\n\n=== RUN   TestTrackLike_Create\n\n--- PASS: TestTrackLike_Create (0.05s)\n\n=== RUN   TestTrackLike_UniqueConstraint\n\n\r\n\n2025/12/15 18:57:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/models/track_like_test.go:121 \u001b[35;1mUNIQUE constraint failed: track_likes.user_id, track_likes.track_id\n\n\u001b[0m\u001b[33m[0.552ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `track_likes` (`id`,`user_id`,`track_id`) VALUES (\"2b16555d-3793-46ec-ab43-0ec6d6e1501b\",\"56580281-f7b5-42f8-ad73-e7382a0af6d0\",\"ae3ee059-fc95-486d-82f9-665b53eacbb2\") RETURNING `created_at`\n\n--- PASS: TestTrackLike_UniqueConstraint (0.05s)\n\n=== RUN   TestTrackLike_Relations\n\nredis: 2025/12/15 18:57:54 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestTrackLike_Relations (0.05s)\n\n=== RUN   TestTrackLike_CascadeDelete\n\n\r\n\n2025/12/15 18:57:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/models/track_like_test.go:222 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.114ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `track_likes` WHERE `track_likes`.`id` = \"a4cff339-0b15-49fd-b34f-f9d324ab3b3c\" ORDER BY `track_likes`.`id` LIMIT 1\n\n--- PASS: TestTrackLike_CascadeDelete (0.05s)\n\n=== RUN   TestTrackLike_TableName\n\n--- PASS: TestTrackLike_TableName (0.00s)\n\n=== RUN   TestTrackLike_Indexes\n\n--- PASS: TestTrackLike_Indexes (0.07s)\n\n=== RUN   TestTrackLike_CreatedAt\n\n    track_like_test.go:352: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/models/track_like_test.go:352\n\n        \tError:      \tMax difference between 2025-12-15 18:57:55.000237841 -0500 EST m=+7.140849599 and 2025-12-15 23:57:54 +0000 UTC allowed is 1s, but difference was 1.000237841s\n\n        \tTest:       \tTestTrackLike_CreatedAt\n\n--- FAIL: TestTrackLike_CreatedAt (0.10s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0070",
      "scope": "race",
      "package": "veza-backend-api/internal/models",
      "test": "TestTrackLike_CreatedAt",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/models -run ^TestTrackLike_CreatedAt$ -v",
        "env": {},
        "requires": [
          "postgres",
          "redis",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestTrackVersion_Create",
        "log_excerpt": "=== RUN   TestTrackVersion_Create\n\nredis: 2025/12/15 18:57:55 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestTrackVersion_Create (0.11s)\n\n=== RUN   TestTrackVersion_WithTrack\n\n--- PASS: TestTrackVersion_WithTrack (0.06s)\n\n=== RUN   TestTrackVersion_MultipleVersions\n\n--- PASS: TestTrackVersion_MultipleVersions (0.05s)\n\n=== RUN   TestTrackVersion_CascadeDeleteOnTrack\n\n\r\n\n2025/12/15 18:57:55 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/models/track_version_test.go:252 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.194ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `track_versions` WHERE `track_versions`.`id` = \"e2eb11a3-3a8c-4e1d-a081-c25768c686c4\" AND `track_versions`.`deleted_at` IS NULL ORDER BY `track_versions`.`id` LIMIT 1\n\n--- PASS: TestTrackVersion_CascadeDeleteOnTrack (0.04s)\n\n=== RUN   TestTrackVersion_UniqueVersionNumber\n\n\r\n\n2025/12/15 18:57:55 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/models/track_version_test.go:305 \u001b[35;1mUNIQUE constraint failed: track_versions.track_id, track_versions.version_number\n\n\u001b[0m\u001b[33m[0.189ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `track_versions` (`id`,`track_id`,`version_number`,`file_path`,`file_size`,`changelog`,`created_at`,`updated_at`,`deleted_at`) VALUES (\"6f49e9e6-8fcd-4998-a1a8-d90f0c3c4a23\",\"026b7b6d-c5df-4020-a745-371bf4f09790\",1,\"/path/to/track_v1_dup.mp3\",1024,\"Duplicate version\",\"2025-12-15 18:57:55.563\",\"2025-12-15 18:57:55.563\",NULL)\n\n--- PASS: TestTrackVersion_UniqueVersionNumber (0.03s)\n\n=== RUN   TestTrackVersion_TableName\n\n--- PASS: TestTrackVersion_TableName (0.00s)\n\n=== RUN   TestTrackVersion_Timestamps\n\n--- PASS: TestTrackVersion_Timestamps (0.04s)\n\n=== RUN   TestTrackVersion_SoftDelete\n\n\r\n\n2025/12/15 18:57:55 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/models/track_version_test.go:411 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.240ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `track_versions` WHERE `track_versions`.`id` = \"0f238edc-0a58-4179-85e0-e6f7f3c24210\" AND `track_versions`.`deleted_at` IS NULL ORDER BY `track_versions`.`id` LIMIT 1\n\n--- PASS: TestTrackVersion_SoftDelete (0.04s)\n\n=== RUN   TestTrackVersion_Relations\n\n--- PASS: TestTrackVersion_Relations (0.05s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/models\t7.883s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0071",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/integration",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/integration -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0072",
      "scope": "race",
      "package": "veza-backend-api/internal/types",
      "test": "<package_skip>",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/types -run  -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0071",
      "scope": "race",
      "package": "veza-backend-api/internal/models",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/models -v",
        "env": {},
        "requires": [
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "redis: 2025/12/15 18:57:55 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused",
        "log_excerpt": "redis: 2025/12/15 18:57:55 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\nredis: 2025/12/15 18:57:56 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n?   \tveza-backend-api/internal/testutils/integration\t[no test files]\n\n?   \tveza-backend-api/internal/types\t[no test files]\n\nFAIL\tveza-backend-api/tests/transactions [build failed]\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0074",
      "scope": "race",
      "package": "veza-backend-api/tests/transactions",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/transactions -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestMockSessionService_ValidateSession (0.00s)",
        "log_excerpt": "--- PASS: TestMockSessionService_ValidateSession (0.00s)\n\n=== RUN   TestMockSessionService_ValidateSessionError\n\n--- PASS: TestMockSessionService_ValidateSessionError (0.00s)\n\n=== RUN   TestMockSessionService_RevokeSession\n\n--- PASS: TestMockSessionService_RevokeSession (0.00s)\n\n=== RUN   TestMockSessionService_RevokeAllUserSessions\n\n--- PASS: TestMockSessionService_RevokeAllUserSessions (0.00s)\n\n=== RUN   TestMockSessionService_GetUserSessions\n\n--- PASS: TestMockSessionService_GetUserSessions (0.00s)\n\n=== RUN   TestMockSessionService_CleanupExpiredSessions\n\n--- PASS: TestMockSessionService_CleanupExpiredSessions (0.00s)\n\n=== RUN   TestMockSessionService_RefreshSession\n\n--- PASS: TestMockSessionService_RefreshSession (0.00s)\n\n=== RUN   TestMockSessionService_GetSessionStats\n\n--- PASS: TestMockSessionService_GetSessionStats (0.00s)\n\n=== RUN   TestMockAuditService\n\n    mocks_test.go:185: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:171]\n\n    mocks_test.go:185: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:185]\n\n--- FAIL: TestMockAuditService (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0075",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:209: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogLogin\n\n--- PASS: TestMockAuditService_LogLogin (0.00s)\n\n=== RUN   TestMockAuditService_LogLogout\n\n    mocks_test.go:209: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:204]\n\n    mocks_test.go:209: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:209]\n\n--- FAIL: TestMockAuditService_LogLogout (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0076",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogLogout",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogLogout$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:222: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogUpload\n\n    mocks_test.go:222: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:217]\n\n    mocks_test.go:222: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:222]\n\n--- FAIL: TestMockAuditService_LogUpload (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0077",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogUpload",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogUpload$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:237: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogPermissionChange\n\n=== RUN   TestAnalyticsService_RecordPlay\n\n    mocks_test.go:237: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL:\tLogDeletion(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:192 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:230]\n\n    mocks_test.go:237: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:237]\n\n--- FAIL: TestMockAuditService_LogPermissionChange (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0078",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogPermissionChange",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogPermissionChange$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "mocks_test.go:250: FAIL:\tLogAction(string,string)",
        "log_excerpt": "=== RUN   TestMockAuditService_LogDeletion\n\n    mocks_test.go:250: FAIL:\tLogAction(string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:187 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogLogin(string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:188 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogLogout(string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:189 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogUpload(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:190 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL:\tLogPermissionChange(string,string,string,string,string,string,string)\n\n        \t\tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks.go:191 /home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:245]\n\n    mocks_test.go:250: FAIL: 1 out of 6 expectation(s) were met.\n\n        \tThe code you are testing needs to make 5 more call(s).\n\n        \tat: [/home/senke/git/talas/veza/veza-backend-api/internal/testutils/servicemocks/mocks_test.go:250]\n\n--- FAIL: TestMockAuditService_LogDeletion (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0079",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "TestMockAuditService_LogDeletion",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -run ^TestMockAuditService_LogDeletion$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestMockAuditService_SearchLogs",
        "log_excerpt": "=== RUN   TestMockAuditService_SearchLogs\n\n--- PASS: TestMockAuditService_SearchLogs (0.00s)\n\n=== RUN   TestMockAuditService_SearchLogsError\n\n--- PASS: TestMockAuditService_SearchLogsError (0.00s)\n\n=== RUN   TestMockAuditService_GetStats\n\n--- PASS: TestMockAuditService_GetStats (0.00s)\n\n=== RUN   TestNewMockSessionService\n\n--- PASS: TestNewMockSessionService (0.00s)\n\n=== RUN   TestNewMockAuditService\n\n--- PASS: TestNewMockAuditService (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/testutils/servicemocks\t0.113s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0080",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils/servicemocks",
      "test": "<package_fail>",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils/servicemocks -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:135 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Health_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Health_Check\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Health_Check (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0081",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Health_Check",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Health_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c",
        "log_excerpt": "      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.Metrics.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:146 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n\n\nGoroutine 78 (finished) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  veza-backend-api/tests.TestPublicCoreRoutes()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:143 +0xd9\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0082",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Health_Check",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Health_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:146 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Liveness_Check\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Liveness_Check\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Liveness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0083",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Liveness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Liveness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Liveness_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Liveness_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Liveness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0084",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Liveness_Check",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Liveness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c",
        "log_excerpt": "      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.Metrics.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:135 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n\n\nGoroutine 84 (finished) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  veza-backend-api/tests.TestPublicCoreRoutes()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:132 +0x2a4\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0085",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Readiness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Readiness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Readiness_Check\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Readiness_Check\n\n--- FAIL: TestPublicCoreRoutes/Modern_Readiness_Check (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0086",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Readiness_Check",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Readiness_Check$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0087",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Metrics",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/middleware/sentry_recover.go:66 +0xcb",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/sentry_recover.go:66 +0xcb\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.Metrics.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:135 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Metrics\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPublicCoreRoutes/Modern_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0088",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n    api_routes_integration_test.go:137: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:137\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_Aggregated_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Legacy_Aggregated_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0089",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_Aggregated_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_Aggregated_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tNot equal:",
        "log_excerpt": "=== RUN   TestPublicCoreRoutes/Modern_Aggregated_Metrics\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_Aggregated_Metrics\n\n--- FAIL: TestPublicCoreRoutes/Modern_Aggregated_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0090",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_Aggregated_Metrics",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_Aggregated_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c",
        "log_excerpt": "      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.SentryRecover.func3()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/sentry_recover.go:66 +0xcb\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.Metrics.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:135 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:139\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestPublicCoreRoutes/Legacy_System_Metrics\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPublicCoreRoutes/Legacy_System_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0091",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Legacy_System_Metrics",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Legacy_System_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/middleware/sentry_recover.go:66 +0xcb",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/sentry_recover.go:66 +0xcb\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.Metrics.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/metrics.go:43 +0xc4\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestPublicCoreRoutes.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:146 +0x18b\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:148: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:148\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 200\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestPublicCoreRoutes/Modern_System_Metrics\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPublicCoreRoutes/Modern_System_Metrics (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0092",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes/Modern_System_Metrics",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes/Modern_System_Metrics$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestPublicCoreRoutes (0.02s)",
        "log_excerpt": "--- FAIL: TestPublicCoreRoutes (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0093",
      "scope": "race",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIStatus",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIStatus -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0094",
      "scope": "race",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIStatusDegraded",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIStatusDegraded -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0093",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestPublicCoreRoutes",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestPublicCoreRoutes$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "/home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c",
        "log_excerpt": "      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x8c\n\n  veza-backend-api/internal/api.(*APIRouter).Setup.RequestLogger.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/request_logger.go:19 +0x14e\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xef\n\n  github.com/gin-gonic/gin.serveError()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:656 +0x8a\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:649 +0x8ab\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestInternalTrackStreamCallbackRoutes.func1()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:182 +0x38f\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:184: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:184\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n    api_routes_integration_test.go:186: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:186\n\n        \tError:      \t\"\" does not contain \"true\"\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0096",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes/Legacy_Track_Stream_Ready_Callback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34",
        "log_excerpt": "      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/tests.TestInternalTrackStreamCallbackRoutes.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:194 +0x38f\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n\n\nGoroutine 118 (running) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  veza-backend-api/tests.TestInternalTrackStreamCallbackRoutes()\n\n      /home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:190 +0x1ac\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    api_routes_integration_test.go:196: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/tests/api_routes_integration_test.go:196\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 404\n\n        \t            \tactual  : 504\n\n        \tTest:       \tTestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0097",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes/Modern_Track_Stream_Ready_Callback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestInternalTrackStreamCallbackRoutes (0.01s)",
        "log_excerpt": "--- FAIL: TestInternalTrackStreamCallbackRoutes (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed: Redis/DB connection and route configuration"
      ]
    },
    {
      "id": "TF-0098",
      "scope": "race",
      "package": "veza-backend-api/tests/integration",
      "test": "TestAPIHealthHTTP",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/tests/integration -run TestAPIHealthHTTP -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0098",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "TestInternalTrackStreamCallbackRoutes",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/tests -run ^TestInternalTrackStreamCallbackRoutes$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL",
        "log_excerpt": "FAIL\n\n    api_health_test.go:158: API server not available: Get \"http://localhost:8080/api/v1/health\": dial tcp [::1]:8080: connect: connection refused\n\n--- SKIP: TestAPIHealthHTTP (0.00s)\n\nPASS\n\n=== RUN   TestEmailValidator_Validate/valid_and_unique_email\n\n--- PASS: TestEmailValidator_Validate/valid_and_unique_email (0.00s)\n\n=== RUN   TestEmailValidator_Validate/invalid_format\n\n--- PASS: TestEmailValidator_Validate/invalid_format (0.00s)\n\n=== RUN   TestEmailValidator_Validate/existing_email\n\n--- PASS: TestEmailValidator_Validate/existing_email (0.00s)\n\n=== RUN   TestEmailValidator_Validate/empty_email\n\n--- PASS: TestEmailValidator_Validate/empty_email (0.00s)\n\n=== RUN   TestEmailValidator_Validate/email_with_invalid_format_-_no_@\n\n--- PASS: TestEmailValidator_Validate/email_with_invalid_format_-_no_@ (0.00s)\n\n--- PASS: TestEmailValidator_Validate (0.05s)\n\n=== RUN   TestEmailValidator_ValidateFormat_EdgeCases\n\n=== RUN   TestAnalyticsService_GetTrackStats/Get_track_stats\n\n--- PASS: TestAnalyticsService_GetTrackStats/Get_track_stats (0.00s)\n\n=== RUN   TestAnalyticsService_GetTrackStats/Get_track_stats_with_invalid_track_ID\n\n\r\n\n2025/12/15 18:57:56 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/analytics_service.go:95 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.309ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE id = \"ea1df67f-4102-4617-b4e5-471cb595e5a4\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestAnalyticsService_GetTrackStats/Get_track_stats_with_invalid_track_ID (0.00s)\n\n=== RUN   TestAnalyticsService_GetTrackStats/Get_track_stats_with_no_plays\n\n--- PASS: TestAnalyticsService_GetTrackStats/Get_track_stats_with_no_plays (0.00s)\n\n--- PASS: TestAnalyticsService_GetTrackStats (0.06s)\n\n=== RUN   TestAnalyticsService_GetPlaysOverTime\n\nFAIL\tveza-backend-api/tests\t0.244s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed Redis/DB connection issues and route configuration"
      ]
    },
    {
      "id": "TF-0100",
      "scope": "race",
      "package": "veza-backend-api/tests",
      "test": "<package_fail>",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestBandwidthDetectionService_MeasureBandwidth_MaxSamples",
        "log_excerpt": "=== RUN   TestBandwidthDetectionService_MeasureBandwidth_MaxSamples\n\n--- PASS: TestBandwidthDetectionService_MeasureBandwidth_MaxSamples (0.00s)\n\n=== RUN   TestBandwidthDetectionService_MeasureBandwidth_InvalidDuration\n\n    logger.go:146: 2025-12-15T18:57:57.044-0500\tWARN\tInvalid duration for bandwidth measurement\t{\"duration\": \"0s\"}\n\n    logger.go:146: 2025-12-15T18:57:57.044-0500\tWARN\tInvalid duration for bandwidth measurement\t{\"duration\": \"-1s\"}\n\n--- PASS: TestBandwidthDetectionService_MeasureBandwidth_InvalidDuration (0.00s)\n\n=== RUN   TestBandwidthDetectionService_MeasureBandwidth_InvalidBytes\n\n    logger.go:146: 2025-12-15T18:57:57.044-0500\tWARN\tInvalid bytes transferred for bandwidth measurement\t{\"bytes\": -1024}\n\n--- PASS: TestBandwidthDetectionService_MeasureBandwidth_InvalidBytes (0.00s)\n\n=== RUN   TestBandwidthDetectionService_MeasureBandwidth_VeryShortDuration\n\n--- PASS: TestBandwidthDetectionService_MeasureBandwidth_VeryShortDuration (0.00s)\n\n=== RUN   TestBandwidthDetectionService_CalculateAverage_EmptySamples\n\n--- PASS: TestBandwidthDetectionService_CalculateAverage_EmptySamples (0.00s)\n\n=== RUN   TestBandwidthDetectionService_RecommendBitrate\n\n--- PASS: TestBandwidthDetectionService_RecommendBitrate (0.00s)\n\n=== RUN   TestBandwidthDetectionService_RecommendBitrate_EdgeCases\n\n--- PASS: TestBandwidthDetectionService_RecommendBitrate_EdgeCases (0.00s)\n\n=== RUN   TestBandwidthDetectionService_ClearSamples\n\n--- PASS: TestBandwidthDetectionService_ClearSamples (0.00s)\n\n=== RUN   TestBandwidthDetectionService_GetSampleCount\n\n--- PASS: TestBandwidthDetectionService_GetSampleCount (0.00s)\n\n=== RUN   TestBandwidthDetectionService_ConcurrentAccess\n\n--- PASS: TestBandwidthDetectionService_ConcurrentAccess (0.00s)\n\n=== RUN   TestBandwidthDetectionService_RealWorldScenarios\n\n--- PASS: TestBandwidthDetectionService_RealWorldScenarios (0.00s)\n\n=== RUN   TestNewBitrateAdaptationService\n\n    job_worker_test.go:146: Stats: map[queue_failed:0 queue_pending:1 queue_processing:0 workers:1]\n\n    job_worker_test.go:148: Job still pending or retrying\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestJobWorker_Start (0.21s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0101",
      "scope": "race",
      "package": "veza-backend-api/internal/workers",
      "test": "TestJobWorker_Start",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -run ^TestJobWorker_Start$ -v",
        "env": {},
        "requires": [
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestChatService_GenerateToken",
        "log_excerpt": "=== RUN   TestChatService_GenerateToken\n\n--- PASS: TestChatService_GenerateToken (0.00s)\n\n=== RUN   TestChatService_GenerateToken_EmptyUsername\n\n--- PASS: TestChatService_GenerateToken_EmptyUsername (0.00s)\n\n=== RUN   TestChatService_GenerateToken_InvalidSecret\n\n--- PASS: TestChatService_GenerateToken_InvalidSecret (0.00s)\n\n=== RUN   TestCircuitBreakerIntegration_5xxSimulation\n\n    circuit_breaker_integration_test.go:57: Phase 1: Simuler 5 erreurs 5xx\n\n    circuit_breaker_integration_test.go:74: Circuit breaker state: open (expected: Open)\n\n    circuit_breaker_integration_test.go:77: Phase 2: V\u00e9rifier que les requ\u00eates sont rejet\u00e9es quand circuit ouvert\n\n    logger.go:146: 2025-12-15T18:57:57.642-0500\tWARN\tCircuit breaker is open, request rejected\t{\"circuit_breaker\": \"integration-test\", \"url\": \"http://127.0.0.1:40007\"}\n\n    circuit_breaker_integration_test.go:85: Request correctly rejected when circuit is open\n\n    circuit_breaker_integration_test.go:88: Phase 3: Attendre timeout pour passer en half-open\n\nok  \tveza-backend-api/internal/utils\t1.057s\n\nok  \tveza-backend-api/tests/integration\t1.235s\n\nredis: 2025/12/15 18:57:57 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestPlaybackAnalyticsWorker_ProcessBatch (0.54s)\n\n=== RUN   TestPlaybackAnalyticsWorker_CollectBatch\n\nok  \tveza-backend-api/internal/validators\t1.292s\n\n--- PASS: TestPlaybackAnalyticsWorker_CollectBatch (0.22s)\n\n=== RUN   TestPlaybackAnalyticsWorker_CollectBatch_Timeout\n\n--- PASS: TestPlaybackAnalyticsWorker_CollectBatch_Timeout (0.12s)\n\n=== RUN   TestPlaybackAnalyticsWorker_GetStats\n\n--- PASS: TestPlaybackAnalyticsWorker_GetStats (0.02s)\n\n=== RUN   TestPlaybackAnalyticsWorker_RetryFailedJobs\n\n    playback_analytics_worker_test.go:408: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/workers/playback_analytics_worker_test.go:408\n\n        \tError:      \t\"0\" is not greater than or equal to \"2\"\n\n        \tTest:       \tTestPlaybackAnalyticsWorker_RetryFailedJobs\n\n--- FAIL: TestPlaybackAnalyticsWorker_RetryFailedJobs (0.12s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0102",
      "scope": "race",
      "package": "veza-backend-api/internal/workers",
      "test": "TestPlaybackAnalyticsWorker_RetryFailedJobs",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -run ^TestPlaybackAnalyticsWorker_RetryFailedJobs$ -v",
        "env": {},
        "requires": [
          "redis"
        ]
      },
      "evidence": {
        "summary": "veza-backend-api/internal/workers.TestPlaybackRetentionWorker_Start_Stop.gowrap1()",
        "log_excerpt": "  veza-backend-api/internal/workers.TestPlaybackRetentionWorker_Start_Stop.gowrap1()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/workers/playback_retention_worker_test.go:110 +0x4f\n\n\n\nGoroutine 113 (running) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  testing.runTests.func1()\n\n      /usr/lib/golang/src/testing/testing.go:2279 +0x85\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.runTests()\n\n      /usr/lib/golang/src/testing/testing.go:2277 +0x96c\n\n  testing.(*M).Run()\n\n      /usr/lib/golang/src/testing/testing.go:2142 +0xeea\n\n  main.main()\n\n      _testmain.go:103 +0x164\n\n\n\nGoroutine 115 (running) created at:\n\n  veza-backend-api/internal/workers.TestPlaybackRetentionWorker_Start_Stop()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/workers/playback_retention_worker_test.go:110 +0x14e\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    logger.go:146: 2025-12-15T18:57:58.645-0500\tINFO\tStopping playback retention worker (stop requested)\n\n    circuit_breaker_integration_test.go:94: Circuit breaker state after timeout: half-open\n\n    circuit_breaker_integration_test.go:99: Phase 4: Tester half-open avec requ\u00eate r\u00e9ussie\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPlaybackRetentionWorker_Start_Stop (0.22s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0103",
      "scope": "race",
      "package": "veza-backend-api/internal/workers",
      "test": "TestPlaybackRetentionWorker_Start_Stop",
      "failure_type": "race",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -run ^TestPlaybackRetentionWorker_Start_Stop$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/usr/lib/golang/src/testing/testing.go:1792 +0x225",
        "log_excerpt": "      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n\n\nGoroutine 122 (running) created at:\n\n  testing.(*T).Run()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  testing.runTests.func1()\n\n      /usr/lib/golang/src/testing/testing.go:2279 +0x85\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.runTests()\n\n      /usr/lib/golang/src/testing/testing.go:2277 +0x96c\n\n  testing.(*M).Run()\n\n      /usr/lib/golang/src/testing/testing.go:2142 +0xeea\n\n  main.main()\n\n      _testmain.go:103 +0x164\n\n==================\n\n    circuit_breaker_integration_test.go:116: Circuit breaker state after success: half-open (half-open or closed is acceptable)\n\n--- PASS: TestCircuitBreakerIntegration_5xxSimulation (1.31s)\n\n=== RUN   TestCircuitBreakerIntegration_MetricsValidation\n\n    circuit_breaker_integration_test.go:145: Metrics: TotalFailures=3, ConsecutiveFailures=3\n\n--- PASS: TestCircuitBreakerIntegration_MetricsValidation (0.00s)\n\n=== RUN   TestNewCircuitBreakerHTTPClient\n\n--- PASS: TestNewCircuitBreakerHTTPClient (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_Success\n\n--- PASS: TestCircuitBreakerHTTPClient_Do_Success (0.00s)\n\n=== RUN   TestCircuitBreakerHTTPClient_Do_ServerError\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestPlaybackRetentionWorker_Start_AlreadyRunning (0.12s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Data race detected - concurrent access to shared state without proper synchronization",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0104",
      "scope": "race",
      "package": "veza-backend-api/internal/workers",
      "test": "TestPlaybackRetentionWorker_Start_AlreadyRunning",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -run ^TestPlaybackRetentionWorker_Start_AlreadyRunning$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestThumbnailJob_Execute",
        "log_excerpt": "=== RUN   TestThumbnailJob_Execute\n\n=== RUN   TestThumbnailJob_Execute/Generate_thumbnail_successfully\n\n--- PASS: TestThumbnailJob_Execute/Generate_thumbnail_successfully (0.00s)\n\n=== RUN   TestThumbnailJob_Execute/Fail_when_input_file_does_not_exist\n\n--- PASS: TestThumbnailJob_Execute/Fail_when_input_file_does_not_exist (0.00s)\n\n=== RUN   TestThumbnailJob_Execute/Use_default_dimensions_when_not_specified\n\n--- PASS: TestThumbnailJob_Execute/Use_default_dimensions_when_not_specified (0.02s)\n\n--- PASS: TestThumbnailJob_Execute (0.03s)\n\n=== RUN   TestNewThumbnailJob\n\n=== RUN   TestNewThumbnailJob/Create_job_with_specified_dimensions\n\n--- PASS: TestNewThumbnailJob/Create_job_with_specified_dimensions (0.00s)\n\n=== RUN   TestNewThumbnailJob/Apply_default_dimensions_when_zero\n\n--- PASS: TestNewThumbnailJob/Apply_default_dimensions_when_zero (0.00s)\n\n--- PASS: TestNewThumbnailJob (0.00s)\n\nFAIL\n\nFAIL\tveza-backend-api/internal/workers\t2.229s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0105",
      "scope": "race",
      "package": "veza-backend-api/internal/workers",
      "test": "<package_fail>",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/workers -v",
        "env": {},
        "requires": [
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "redis",
          "postgres",
          "postgres",
          "redis",
          "postgres",
          "postgres",
          "postgres",
          "redis",
          "postgres"
        ]
      },
      "evidence": {
        "summary": "redis: 2025/12/15 18:57:59 redis.go:478: auto mode fallback: maintnotifications disabled due to handshake error: ERR unknown subcommand 'maint_notifications'. Try CLIENT HELP.",
        "log_excerpt": "redis: 2025/12/15 18:57:59 redis.go:478: auto mode fallback: maintnotifications disabled due to handshake error: ERR unknown subcommand 'maint_notifications'. Try CLIENT HELP.\n\n--- PASS: TestUploadRateLimit_NoUserID (0.00s)\n\n=== RUN   TestUploadRateLimit_RedisError\n\nredis: 2025/12/15 18:57:59 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestCleanupDatabaseWithOptions_NoTransaction (3.29s)\n\n=== RUN   TestCleanupDatabaseWithOptions_WithTransaction\n\nredis: 2025/12/15 18:58:00 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n--- PASS: TestCleanupDatabaseWithOptions_WithTransaction (0.21s)\n\n=== RUN   TestCleanupDatabaseWithOptions_SpecificTables\n\n--- PASS: TestCleanupDatabaseWithOptions_SpecificTables (0.09s)\n\n=== RUN   TestCleanupSpecificTables\n\n--- PASS: TestCleanupSpecificTables (0.11s)\n\n=== RUN   TestCleanupWithTransaction\n\n--- PASS: TestCleanupWithTransaction (0.04s)\n\n=== RUN   TestRegisterCleanupHook\n\n--- PASS: TestRegisterCleanupHook (0.00s)\n\n=== RUN   TestGetDefaultTables\n\n--- PASS: TestGetDefaultTables (0.00s)\n\n=== RUN   TestSetupTestDB\n\n--- PASS: TestSetupTestDB (0.05s)\n\n=== RUN   TestCleanupTestDB\n\n--- PASS: TestCleanupTestDB (0.02s)\n\n=== RUN   TestResetTestDB\n\nredis: 2025/12/15 18:58:00 pool.go:376: redis: connection pool: failed to dial after 5 attempts: dial tcp [::1]:9999: connect: connection refused\n\n    db_test.go:43: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/db_test.go:43\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestResetTestDB\n\n--- FAIL: TestResetTestDB (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0106",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestResetTestDB",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestResetTestDB$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestGetDBStats",
        "log_excerpt": "=== RUN   TestGetDBStats\n\n--- PASS: TestGetDBStats (0.01s)\n\n=== RUN   TestSetupTestDB_CanCreateRecords\n\n    db_test.go:80: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/db_test.go:80\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestSetupTestDB_CanCreateRecords\n\n--- FAIL: TestSetupTestDB_CanCreateRecords (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0107",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestSetupTestDB_CanCreateRecords",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestSetupTestDB_CanCreateRecords$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestUser\n\n    fixtures_test.go:18: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:18\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestUser\n\n--- FAIL: TestCreateTestUser (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0108",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestUser",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestUser$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestUserWithCustomData\n\n    fixtures_test.go:38: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:38\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestUserWithCustomData\n\n--- FAIL: TestCreateTestUserWithCustomData (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0109",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestUserWithCustomData",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestUserWithCustomData$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestAdmin\n\n    fixtures_test.go:51: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:51\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestAdmin\n\n--- FAIL: TestCreateTestAdmin (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0110",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestAdmin",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestAdmin$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestTrack\n\n    fixtures_test.go:66: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:66\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestTrack\n\n--- FAIL: TestCreateTestTrack (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0111",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestTrack",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestTrack$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestTrackWithCustomData\n\n    fixtures_test.go:85: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:85\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestTrackWithCustomData\n\n--- FAIL: TestCreateTestTrackWithCustomData (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0112",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestTrackWithCustomData",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestTrackWithCustomData$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestPlaylist\n\n    fixtures_test.go:104: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:104\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestPlaylist\n\n--- FAIL: TestCreateTestPlaylist (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0113",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestPlaylist",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestPlaylist$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestCreateTestRoom\n\n    fixtures_test.go:121: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:121\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestRoom\n\n--- FAIL: TestCreateTestRoom (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0114",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestRoom",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestRoom$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestCreateTestMessage",
        "log_excerpt": "=== RUN   TestCreateTestMessage\n\n--- PASS: TestCircuitBreakerHTTPClient_DoWithContext_Cancelled (2.00s)\n\n=== RUN   TestCommentService_CreateComment_Success\n\n    fixtures_test.go:139: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:139\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestMessage\n\n--- FAIL: TestCreateTestMessage (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0115",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestMessage",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestMessage$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestCreateTestSession",
        "log_excerpt": "=== RUN   TestCreateTestSession\n\n--- PASS: TestCommentService_CreateComment_Success (0.03s)\n\n=== RUN   TestCommentService_CreateComment_TrackNotFound\n\n    fixtures_test.go:163: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:163\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateTestSession\n\n--- FAIL: TestCreateTestSession (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0116",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateTestSession",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateTestSession$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestCreateMultipleTestUsers",
        "log_excerpt": "=== RUN   TestCreateMultipleTestUsers\n\n\r\n\n2025/12/15 18:58:01 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/comment_service.go:31 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.099ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE id = \"48ddd848-b9b6-4c5d-8d2f-271925b713b1\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestCommentService_CreateComment_TrackNotFound (0.03s)\n\n=== RUN   TestCommentService_CreateComment_WithParent\n\n--- PASS: TestCommentService_CreateComment_WithParent (0.03s)\n\n=== RUN   TestCommentService_CreateComment_ParentNotFound\n\n    fixtures_test.go:180: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:180\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_slug\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateMultipleTestUsers\n\n--- FAIL: TestCreateMultipleTestUsers (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0117",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateMultipleTestUsers",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateMultipleTestUsers$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestCreateMultipleTestTracks",
        "log_excerpt": "=== RUN   TestCreateMultipleTestTracks\n\n\r\n\n2025/12/15 18:58:01 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/comment_service.go:41 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.083ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `track_comments` WHERE id = \"c9a6e482-2a38-4aad-a0ec-75e3d32705d5\" AND `track_comments`.`deleted_at` IS NULL ORDER BY `track_comments`.`id` LIMIT 1\n\n--- PASS: TestCommentService_CreateComment_ParentNotFound (0.03s)\n\n=== RUN   TestCommentService_GetComments_Success\n\n    fixtures_test.go:203: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:203\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestCreateMultipleTestTracks\n\n--- FAIL: TestCreateMultipleTestTracks (0.05s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0118",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCreateMultipleTestTracks",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCreateMultipleTestTracks$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestFixtures_ForeignKeyConstraints",
        "log_excerpt": "=== RUN   TestFixtures_ForeignKeyConstraints\n\n--- PASS: TestCommentService_GetComments_Success (0.03s)\n\n=== RUN   TestCommentService_GetComments_Pagination\n\n    fixtures_test.go:232: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/fixtures_test.go:232\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tERROR: duplicate key value violates unique constraint \"idx_users_email\" (SQLSTATE 23505)\n\n        \tTest:       \tTestFixtures_ForeignKeyConstraints\n\n--- FAIL: TestFixtures_ForeignKeyConstraints (0.04s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue, need cleanup between tests",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Add test cleanup/teardown or use unique test data",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0119",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestFixtures_ForeignKeyConstraints",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestFixtures_ForeignKeyConstraints$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestGetGoldenFilePath",
        "log_excerpt": "=== RUN   TestGetGoldenFilePath\n\n--- PASS: TestGetGoldenFilePath (0.00s)\n\n=== RUN   TestGoldenFile\n\n--- PASS: TestGoldenFile (0.00s)\n\n=== RUN   TestGoldenFile_Mismatch\n\n    golden.go:48: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden.go:48\n\n        \t            \t\t\t\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden_test.go:87\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: \"expected content\"\n\n        \t            \tactual  : \"actual content\"\n\n        \t            \t\n\n        \t            \tDiff:\n\n        \t            \t--- Expected\n\n        \t            \t+++ Actual\n\n        \t            \t@@ -1 +1 @@\n\n        \t            \t-expected content\n\n        \t            \t+actual content\n\n        \tTest:       \tTestGoldenFile_Mismatch\n\n        \tMessages:   \tGolden file mismatch\n\n    golden_test.go:80: CompareGoldenFile should have failed but didn't\n\n--- FAIL: TestGoldenFile_Mismatch (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0120",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestUpdateGoldenFile",
      "failure_type": "skip",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run TestUpdateGoldenFile -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Test skipped",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Test marked with t.Skip()",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "Review skip reason and enable test if dependencies available",
        "do_not_do": [
          "delete test"
        ]
      }
    },
    {
      "id": "TF-0120",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestGoldenFile_Mismatch",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestGoldenFile_Mismatch$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestUpdateGoldenFile",
        "log_excerpt": "=== RUN   TestUpdateGoldenFile\n\n    golden_test.go:93: Skipping update test (use -update flag)\n\n--- SKIP: TestUpdateGoldenFile (0.00s)\n\n=== RUN   TestCompareGoldenFile_NotFound\n\n    golden.go:46: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden.go:46\n\n        \t            \t\t\t\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/golden_test.go:139\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \topen testdata/TestCompareGoldenFile_NotFound_nonexistent_file.txt: no such file or directory\n\n        \tTest:       \tTestCompareGoldenFile_NotFound\n\n        \tMessages:   \tGolden file not found. Run tests with -update flag to create it.\n\n    golden_test.go:135: CompareGoldenFile should have failed for non-existent file\n\n--- FAIL: TestCompareGoldenFile_NotFound (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0122",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestCompareGoldenFile_NotFound",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestCompareGoldenFile_NotFound$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestSetupParallelTest",
        "log_excerpt": "=== RUN   TestSetupParallelTest\n\n=== PAUSE TestSetupParallelTest\n\n=== RUN   TestRunParallelTests\n\n=== RUN   TestRunParallelTests/test2\n\n=== PAUSE TestRunParallelTests/test2\n\n=== RUN   TestRunParallelTests/test1\n\n=== PAUSE TestRunParallelTests/test1\n\n=== RUN   TestRunParallelTests/test3\n\n=== PAUSE TestRunParallelTests/test3\n\n    parallel_test.go:38: Expected counter to be 3, got 0\n\n=== CONT  TestRunParallelTests/test3\n\n--- FAIL: TestRunParallelTests/test3 (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0123",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestRunParallelTests/test3",
      "failure_type": "panic",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestRunParallelTests/test3$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestRunParallelTests (0.00s)",
        "log_excerpt": "--- FAIL: TestRunParallelTests (0.00s)\n\npanic: testing: t.Parallel called multiple times [recovered]\n\n\tpanic: testing: t.Parallel called multiple times\n\n\n\ngoroutine 435 [running]:\n\ntesting.tRunner.func1.2({0x1208f00, 0x14eac90})\n\n\t/usr/lib/golang/src/testing/testing.go:1734 +0x3eb\n\ntesting.tRunner.func1()\n\n\t/usr/lib/golang/src/testing/testing.go:1737 +0x696\n\npanic({0x1208f00?, 0x14eac90?})\n\n\t/usr/lib/golang/src/runtime/panic.go:792 +0x132\n\ntesting.(*T).Parallel(0xc000376000)\n\n\t/usr/lib/golang/src/testing/testing.go:1538 +0x789\n\nveza-backend-api/internal/testutils.SetupParallelTest(...)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel.go:14\n\nveza-backend-api/internal/testutils.TestRunParallelTests.func3(0xc000376000)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel_test.go:30 +0x31\n\nveza-backend-api/internal/testutils.RunParallelTests.func1.1(0xc000376000)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/testutils/parallel.go:31 +0x3f\n\ntesting.tRunner(0xc000376000, 0xc0004511f0)\n\n\t/usr/lib/golang/src/testing/testing.go:1792 +0x226\n\ncreated by testing.(*T).Run in goroutine 432\n\n\t/usr/lib/golang/src/testing/testing.go:1851 +0x8f3\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Runtime panic - likely nil pointer, index out of range, or type assertion failure",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed duplicate t.Parallel() calls"
      ]
    },
    {
      "id": "TF-0124",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "TestRunParallelTests",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -run ^TestRunParallelTests$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL\tveza-backend-api/internal/testutils\t4.571s",
        "log_excerpt": "FAIL\tveza-backend-api/internal/testutils\t4.571s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0125",
      "scope": "race",
      "package": "veza-backend-api/internal/testutils",
      "test": "<package_fail>",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/testutils -v",
        "env": {},
        "requires": [
          "redis",
          "redis",
          "redis"
        ]
      },
      "evidence": {
        "summary": "--- PASS: TestEmailService_SendPasswordResetEmail_Subject (0.00s)",
        "log_excerpt": "--- PASS: TestEmailService_SendPasswordResetEmail_Subject (0.00s)\n\n=== RUN   TestEmailVerificationService_GenerateToken\n\n--- PASS: TestEmailVerificationService_GenerateToken (0.00s)\n\n=== RUN   TestEmailVerificationService_GenerateToken_Unique\n\n--- PASS: TestEmailVerificationService_GenerateToken_Unique (0.00s)\n\n=== RUN   TestEmailVerificationService_StoreToken\n\n2025-12-15T18:58:01.529-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"9a455f96-25a5-49e1-879e-1f87db3a023f\", \"expires_at\": \"2025-12-16T18:58:01.529-0500\"}\n\n--- PASS: TestEmailVerificationService_StoreToken (0.02s)\n\n=== RUN   TestEmailVerificationService_StoreToken_Expiration\n\n2025-12-15T18:58:01.548-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"11ecd15d-c1c1-4e10-a1d5-b125cc56d9bd\", \"expires_at\": \"2025-12-16T18:58:01.548-0500\"}\n\n--- PASS: TestEmailVerificationService_StoreToken_Expiration (0.02s)\n\n=== RUN   TestEmailVerificationService_VerifyToken_ValidToken\n\n2025-12-15T18:58:01.570-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"0cd50abe-b0c9-43ba-80e2-16f7115a6af2\", \"expires_at\": \"2025-12-16T18:58:01.570-0500\"}\n\n2025-12-15T18:58:01.571-0500\tINFO\tservices/email_verification_service.go:150\tVerification token verified successfully\t{\"user_id\": \"0cd50abe-b0c9-43ba-80e2-16f7115a6af2\"}\n\n--- PASS: TestEmailVerificationService_VerifyToken_ValidToken (0.02s)\n\n=== RUN   TestEmailVerificationService_VerifyToken_InvalidToken\n\n2025-12-15T18:58:01.592-0500\tWARN\tservices/email_verification_service.go:112\tVerification token not found\t{\"token\": \"invalid-...\"}\n\nveza-backend-api/internal/services.(*EmailVerificationService).VerifyToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service.go:112\n\nveza-backend-api/internal/services.TestEmailVerificationService_VerifyToken_InvalidToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:225\n\ntesting.tRunner\n\n\t/usr/lib/golang/src/testing/testing.go:1792\n\n    email_verification_service_test.go:227: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:227\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(0)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0})\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_InvalidToken\n\n--- FAIL: TestEmailVerificationService_VerifyToken_InvalidToken (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0126",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_InvalidToken",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_InvalidToken$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_ExpiredToken\n\n    email_verification_service_test.go:248: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:248\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tNOT NULL constraint failed: email_verification_tokens.token_hash\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_ExpiredToken\n\n--- FAIL: TestEmailVerificationService_VerifyToken_ExpiredToken (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0127",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_ExpiredToken",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_ExpiredToken$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Error:      \tReceived unexpected error:",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_AlreadyUsed\n\n    email_verification_service_test.go:273: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:273\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tNOT NULL constraint failed: email_verification_tokens.token_hash\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_AlreadyUsed\n\n--- FAIL: TestEmailVerificationService_VerifyToken_AlreadyUsed (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0128",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_AlreadyUsed",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_AlreadyUsed$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestTimeoutMiddleware_NoGoroutineLeak (0.36s)",
        "log_excerpt": "=== RUN   TestEmailVerificationService_VerifyToken_CannotReuse\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestTimeoutMiddleware_NoGoroutineLeak (0.36s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0129",
      "scope": "race",
      "package": "veza-backend-api/internal/middleware",
      "test": "TestTimeoutMiddleware_NoGoroutineLeak",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/middleware -run ^TestTimeoutMiddleware_NoGoroutineLeak$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/home/senke/git/talas/veza/veza-backend-api/internal/middleware/timeout.go:26 +0x1f2",
        "log_excerpt": "      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/timeout.go:26 +0x1f2\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/internal/middleware_test.TestTimeoutMiddleware_HandlerRespectsContext()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/timeout_goroutine_test.go:97 +0x384\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n2025-12-15T18:58:01.650-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"1dc3ac46-65c7-41df-950a-5e0fba2f5c6e\", \"expires_at\": \"2025-12-16T18:58:01.650-0500\"}\n\n2025-12-15T18:58:01.650-0500\tINFO\tservices/email_verification_service.go:150\tVerification token verified successfully\t{\"user_id\": \"1dc3ac46-65c7-41df-950a-5e0fba2f5c6e\"}\n\n2025-12-15T18:58:01.650-0500\tWARN\tservices/email_verification_service.go:125\tVerification token already used\t{\"user_id\": \"1dc3ac46-65c7-41df-950a-5e0fba2f5c6e\", \"token\": \"0j3rIoeC...\"}\n\nveza-backend-api/internal/services.(*EmailVerificationService).VerifyToken\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service.go:125\n\nveza-backend-api/internal/services.TestEmailVerificationService_VerifyToken_CannotReuse\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:300\n\ntesting.tRunner\n\n\t/usr/lib/golang/src/testing/testing.go:1792\n\n    email_verification_service_test.go:302: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/email_verification_service_test.go:302\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(0)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0})\n\n        \tTest:       \tTestEmailVerificationService_VerifyToken_CannotReuse\n\n--- FAIL: TestEmailVerificationService_VerifyToken_CannotReuse (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0130",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestEmailVerificationService_VerifyToken_CannotReuse",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestEmailVerificationService_VerifyToken_CannotReuse$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestEmailVerificationService_InvalidateOldTokens",
        "log_excerpt": "=== RUN   TestEmailVerificationService_InvalidateOldTokens\n\n2025-12-15T18:58:01.670-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"521fb836-79b3-4cca-a304-51379a64a283\", \"expires_at\": \"2025-12-16T18:58:01.669-0500\"}\n\n2025-12-15T18:58:01.670-0500\tINFO\tservices/email_verification_service.go:84\tVerification token stored\t{\"user_id\": \"521fb836-79b3-4cca-a304-51379a64a283\", \"expires_at\": \"2025-12-16T18:58:01.670-0500\"}\n\n2025-12-15T18:58:01.670-0500\tINFO\tservices/email_verification_service.go:179\tOld verification tokens invalidated\t{\"user_id\": \"521fb836-79b3-4cca-a304-51379a64a283\", \"tokens_invalidated\": 2}\n\n--- PASS: TestEmailVerificationService_InvalidateOldTokens (0.02s)\n\n=== RUN   TestEmailVerificationService_InvalidateOldTokens_NoTokens\n\n2025-12-15T18:58:01.692-0500\tINFO\tservices/email_verification_service.go:179\tOld verification tokens invalidated\t{\"user_id\": \"b20ee018-d8c9-4ac1-978f-b623c68d9f48\", \"tokens_invalidated\": 0}\n\n--- PASS: TestEmailVerificationService_InvalidateOldTokens_NoTokens (0.02s)\n\n=== RUN   TestEmailVerificationService_InvalidateOldTokens_MultipleUsers\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestTimeoutMiddleware_HandlerRespectsContext (0.06s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0131",
      "scope": "race",
      "package": "veza-backend-api/internal/middleware",
      "test": "TestTimeoutMiddleware_HandlerRespectsContext",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/middleware -run ^TestTimeoutMiddleware_HandlerRespectsContext$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations",
        "log_excerpt": "=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations\n\n--- PASS: TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations (0.00s)\n\n=== RUN   TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations_Empty\n\n--- PASS: TestHLSPlaylistGenerator_GenerateQualityPlaylistWithVariableDurations_Empty (0.00s)\n\n=== RUN   TestNewHLSService\n\n--- PASS: TestNewHLSService (0.00s)\n\n=== RUN   TestNewHLSService_NilLogger\n\n--- PASS: TestNewHLSService_NilLogger (0.00s)\n\n=== RUN   TestHLSService_GetMasterPlaylist\n\n--- PASS: TestHLSService_GetMasterPlaylist (0.03s)\n\n=== RUN   TestHLSService_GetMasterPlaylist_NotFound\n\n\r\n\n2025/12/15 18:58:01 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:64 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.134ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"7a5268e2-2675-4e5f-8a57-7fd87e77e5ad\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetMasterPlaylist_NotFound (0.02s)\n\n=== RUN   TestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:170: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:170\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tquality playlist file not found: /tmp/hls_service_test_1213876/track_c9970a40-758e-4c90-9552-ecd1da2d4142/128k/playlist.m3u8\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:171: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:171\n\n        \tError:      \t\"\" does not contain \"#EXTM3U\"\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n    hls_service_test.go:172: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:172\n\n        \tError:      \t\"\" does not contain \"segment_000.ts\"\n\n        \tTest:       \tTestHLSService_GetQualityPlaylist\n\n--- FAIL: TestHLSService_GetQualityPlaylist (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0132",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSService_GetQualityPlaylist",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSService_GetQualityPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "Goroutine 832 (finished) created at:",
        "log_excerpt": "\n\nGoroutine 832 (finished) created at:\n\n  veza-backend-api/internal/middleware_test.TestTimeoutMiddleware_MultipleConcurrentRequests()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/timeout_goroutine_test.go:137 +0x1e7\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n\r\n\n2025/12/15 18:58:01 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:96 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.115ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"40a3d217-e20a-472d-9f08-da7bb5704380\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetQualityPlaylist_NotFound (0.02s)\n\n=== RUN   TestHLSService_GetQualityPlaylist_InvalidBitrate\n\n--- PASS: TestHLSService_GetQualityPlaylist_InvalidBitrate (0.02s)\n\n=== RUN   TestHLSService_GetSegmentPath\n\n    hls_service_test.go:212: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:212\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tsegment file not found: /tmp/hls_service_test_1213876/track_a5d505a5-7901-4698-9570-1c3f0257139b/128k/segment_000.ts\n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n    hls_service_test.go:213: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:213\n\n        \tError:      \tShould NOT be empty, but was \n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n    hls_service_test.go:214: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service_test.go:214\n\n        \tError:      \tunable to find file \"\"\n\n        \tTest:       \tTestHLSService_GetSegmentPath\n\n--- FAIL: TestHLSService_GetSegmentPath (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0133",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSService_GetSegmentPath",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSService_GetSegmentPath$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSService_GetSegmentPath_NotFound",
        "log_excerpt": "=== RUN   TestHLSService_GetSegmentPath_NotFound\n\n\r\n\n2025/12/15 18:58:01 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_service.go:121 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.150ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `hls_streams` WHERE track_id = \"09866f28-4aa5-443a-9a87-43859cbfbe28\" AND status = \"ready\" ORDER BY `hls_streams`.`id` LIMIT 1\n\n--- PASS: TestHLSService_GetSegmentPath_NotFound (0.02s)\n\n=== RUN   TestHLSService_GetSegmentPath_InvalidSegment\n\n--- PASS: TestHLSService_GetSegmentPath_InvalidSegment (0.02s)\n\n=== RUN   TestHLSService_GetSegmentPath_DirectoryTraversal\n\n--- PASS: TestHLSService_GetSegmentPath_DirectoryTraversal (0.03s)\n\n=== RUN   TestHLSService_GetStreamStatus\n\n--- PASS: TestHLSService_GetStreamStatus (0.03s)\n\n=== RUN   TestHLSService_GetStreamStatus_NotFound\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestTimeoutMiddleware_MultipleConcurrentRequests (0.26s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0134",
      "scope": "race",
      "package": "veza-backend-api/internal/middleware",
      "test": "TestTimeoutMiddleware_MultipleConcurrentRequests",
      "failure_type": "timeout",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/middleware -run ^TestTimeoutMiddleware_MultipleConcurrentRequests$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "/usr/lib/golang/src/testing/testing.go:1851 +0x8f2",
        "log_excerpt": "      /usr/lib/golang/src/testing/testing.go:1851 +0x8f2\n\n  testing.runTests.func1()\n\n      /usr/lib/golang/src/testing/testing.go:2279 +0x85\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.runTests()\n\n      /usr/lib/golang/src/testing/testing.go:2277 +0x96c\n\n  testing.(*M).Run()\n\n      /usr/lib/golang/src/testing/testing.go:2142 +0xeea\n\n  main.main()\n\n      _testmain.go:279 +0x164\n\n\n\nGoroutine 851 (finished) created at:\n\n  veza-backend-api/internal/middleware_test.TestTimeoutMiddleware_ContextTimesOut.Timeout.func2()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/timeout.go:26 +0x1f2\n\n  github.com/gin-gonic/gin.(*Context).Next()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0xb34\n\n  github.com/gin-gonic/gin.(*Engine).handleHTTPRequest()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x751\n\n  github.com/gin-gonic/gin.(*Engine).ServeHTTP()\n\n      /home/senke/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x3e6\n\n  veza-backend-api/internal/middleware_test.TestTimeoutMiddleware_ContextTimesOut()\n\n      /home/senke/git/talas/veza/veza-backend-api/internal/middleware/timeout_test.go:53 +0x2c4\n\n  testing.tRunner()\n\n      /usr/lib/golang/src/testing/testing.go:1792 +0x225\n\n  testing.(*T).Run.gowrap1()\n\n      /usr/lib/golang/src/testing/testing.go:1851 +0x44\n\n==================\n\n    testing.go:1490: race detected during execution of test\n\n--- FAIL: TestTimeoutMiddleware_ContextTimesOut (0.01s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0135",
      "scope": "race",
      "package": "veza-backend-api/internal/middleware",
      "test": "TestTimeoutMiddleware_ContextTimesOut",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/middleware -run ^TestTimeoutMiddleware_ContextTimesOut$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL",
        "log_excerpt": "FAIL\n\nFAIL\tveza-backend-api/internal/middleware\t14.163s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0136",
      "scope": "race",
      "package": "veza-backend-api/internal/middleware",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/middleware -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSTranscodeService_SetBitrates",
        "log_excerpt": "=== RUN   TestHLSTranscodeService_SetBitrates\n\n--- PASS: TestHLSTranscodeService_SetBitrates (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_NilTrack\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_NilTrack (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_EmptyFilePath\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_EmptyFilePath (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_FileNotExists\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_FileNotExists (0.00s)\n\n=== RUN   TestHLSTranscodeService_TranscodeTrack_CreatesDirectory\n\n    logger.go:146: 2025-12-15T18:58:02.415-0500\tERROR\tFFmpeg transcoding failed\t{\"bitrate\": 128, \"track_id\": \"23e23d8e-8e91-4436-879c-1bbe987847bc\", \"output\": \"ffmpeg version 7.1.2 Copyright (c) 2000-2025 the FFmpeg developers\\n  built with gcc 15 (GCC)\\n  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wno-error=incompatible-pointer-types -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,\npack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' --disable-htmlpages --disable-static --disable-stripping --enable-pic --enable-shared --enable-gpl --enable-version3 --enable-amf --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-alsa --enable-bzlib --enable-chromaprint --disable-cuda-nvcc --enable-cuvid --disable-decklink --enable-frei0r --enable-gcrypt --enable-gmp --enable-gnutls --enable-gray --enable-iconv --enable-ladspa --enable-lcms2 --enable-libaom --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --disable-libdavs2 --enable-libdc1394 --enable-libdvdnav --enable-libdvdread --enable-libfdk-aac --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-l\nibharfbuzz --enable-libiec61883 --enable-libilbc --enable-libjack --enable-libjxl --enable-libklvanc --disable-liblensfun --disable-liblcevc-dec --enable-liblc3 --enable-libmodplug --enable-libmp3lame --enable-libmysofa --disable-libnpp --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-libopencv --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-libqrencode --disable-libquirc --enable-librabbitmq --enable-librav1e --enable-librist --enable-librsvg --enable-librubberband --enable-libshaderc --disable-libshine --enable-libsmbclient --enable-libsnappy --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-libtensorflow --enable-libtesseract --enable-libtheora --disable-libtorch --disable-libuavs3d --enable-libtwolame --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --disable-libxavs2 --dis\nable-libxavs --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lto --enable-lv2 --enable-lzma --enable-manpages --enable-nvdec --enable-nvenc --enable-openal --enable-opencl --enable-opengl --disable-openssl --enable-postproc --enable-pthreads --enable-sdl2 --enable-shared --enable-swresample --enable-swscale --enable-v4l2-m2m --enable-vaapi --enable-vapoursynth --enable-vdpau --enable-vulkan --enable-xlib --enable-zlib --enable-muxers --enable-demuxers --enable-hwaccels --disable-encoders --disable-decoders --disable-decoder='h264,hevc,libxevd,vc1,vvc' --enable-encoder=',a64multi,a64multi5,aac,libfdk_aac,ac3,adpcm_adx,adpcm_argo,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apm,adpcm_ima_qt,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_swf,adpcm_yamaha,alac,alias_pix,amv,anull,apng,ass,asv1,asv2,av1_amf,av1_nvenc,av1_qsv,av1_vaapi,bitpacked,bmp,cinep\nak,cljr,dca,dfpwm,dnxhd,dnxhr,dpx,dvbsub,dvdsub,dvvideo,exr,ffv1,ffvhuff,flac,flashsv,flashsv2,flv,g723_1,gif,h261,h263,h263_v4l2m2m,h263p,h264_amf,h264_nvenc,h264_qsv,h264_v4l2m2m,h264_vaapi,hap,hdr,hevc_amf,hevc_nvenc,hevc_qsv,hevc_v4l2m2m,hevc_vaapi,huffyuv,ilbc,jpeg2000,jpegls,libaom,libaom_av1,libcodec2,libgsm,libgsm_ms,libilbc,libjxl,liblc3,libmp3lame,libopencore_amrnb,libopenh264,libopenjpeg,libopus,librav1e,libspeex,libsvtav1,libtheora,libtwolame,libvo_amrwbenc,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,libxvid,mjpeg,mjpeg_qsv,mjpeg_vaapi,mlp,mp2,mp2fixed,mpeg1video,mpeg2_qsv,mpeg2_vaapi,mpeg2video,mpeg4,mpeg4_v4l2m2m,msmpeg4v2,msmpeg4v3,msvideo1,nellymoser,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,phm,png,ppm,prores,prores_aw,prores_k\ns,qoi,qtrle,r10k,r210,ra_144,rawvideo,roq,roq_dpcm,rpza,rv10,rv20,s302m,sbc,sgi,smc,snow,sonic,sonic_ls,speedhq,srt,ssa,subrip,sunrast,svq1,targa,text,tiff,truehd,tta,ttml,utvideo,v210,v308,v408,v410,vc1_qsv,vc1_v4l2m2m,vc2,vnull,vorbis,vp8_qsv,vp8_v4l2m2m,vp8_vaapi,vp9_qsv,vp9_vaapi,wavpack,wbmp,webvtt,wmav1,wmav2,wmv1,wmv2,wrapped_avframe,xbm,xface,xsub,xwd,y41p,yuv4,zlib,zmbv,' --enable-decoder=',aac,aasc,libfdk_aac,ac3,acelp_kelvin,adpcm_4xm,adpcm_adx,adpcm_afc,adpcm_agm,adpcm_aica,adpcm_argo,adpcm_ct,adpcm_dtk,adpcm_ea,adpcm_ea_maxis_xa,adpcm_ea_r1,adpcm_ea_r2,adpcm_ea_r3,adpcm_ea_xas,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_acorn,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apc,adpcm_ima_apm,adpcm_ima_cunning,adpcm_ima_dat4,adpcm_ima_dk3,adpcm_ima_dk4,adpcm_ima_ea_eacs,adpcm_ima_ea_sead,adpcm_ima_iss,adpcm_ima_moflex,adpcm_ima_mtf,adpcm_ima_oki,adpcm_ima_qt,adpcm_ima_qt_at,adpcm_ima_rad,adpcm_ima_smjpeg,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_mtaf,adpcm_psx,adpcm_sbpro_2,adpcm_sbpro_3,adpcm\n_sbpro_4,adpcm_swf,adpcm_thp,adpcm_thp_le,adpcm_vima,adpcm_xa,adpcm_xmd,adpcm_yamaha,adpcm_zork,aic,alac,alias_pix,amrnb,amrwb,amv,anm,ansi,anull,apac,ape,apng,arbc,argo,ass,asv1,asv2,atrac1,atrac3,atrac3al,atrac3p,atrac3pal,aura,aura2,av1,av1_qsv,bethsoftvid,bfi,bink,binkaudio_dct,binkaudio_rdft,bintext,bitpacked,bmp,bmv_audio,bmv_video,bonk,brender_pix,c93,cbd2_dpcm,ccaption,cdgraphics,cdtoons,cdxl,cinepak,clearvideo,cljr,cook,cpia,cscd,cyuv,dca,dds,derf_dpcm,dfa,dfpwm,dirac,dnxhd,dnxhr,dolby_e,dpx,dsd_lsbf,dsd_msbf,dsicinaudio,dsicinvideo,dss_sp,dvaudio,dvbsub,dvdsub,dvvideo,dxa,dxtory,eacmv,eamad,eatgq,eatgv,eatqi,eightbps,eightsvx_exp,eightsvx_fib,escape124,escape130,evrc,exr,ffv1,ffvhuff,ffwavesynth,fits,flac,flashsv,flashsv2,flic,flv,fmvc,fourxm,ftr,g723_1,g729,gdv,gem,gif,gremlin_dpcm,gsm,gsm_ms,gsm_ms_at,h261,h263,h263_v4l2m2m,h263i,h263p,hap,hca,hcom,hdr,hnm4_video,hq_hqa,hqx,huffyuv,hymt,iac,idcin,idf,iff_ilbm,ilbc,imc,indeo2,indeo3,indeo4,indeo5,interplay_acm,interplay_dpcm,interplay_video,ipu,jac\nosub,jpeg2000,jpegls,jv,kgv1,kmvc,lagarith,libaribb24,libaribcaption,libaom,libaom_av1,libcodec2,libdav1d,libgsm,libgsm_ms,libilbc,libjxl,liblc3,libopencore_amrnb,libopencore_amrwb,libopenh264,libopenjpeg,libopus,librsvg,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,libzvbi_teletext,loco,lscr,m101,mace3,mace6,mdec,media100,metasound,microdvd,mimic,misc4,mjpeg,mjpeg_qsv,mjpegb,mlp,mmvideo,motionpixels,mp1,mp1float,mp2,mp2float,mp3,mp3adu,mp3adufloat,mp3float,mp3on4,mp3on4float,mpc7,mpc8,mpeg1_v4l2m2m,mpeg1video,mpeg2_qsv,mpeg2_v4l2m2m,mpeg2video,mpeg4,mpeg4_v4l2m2m,mpegvideo,mpl2,msa1,mscc,msmpeg4v1,msmpeg4v2,msmpeg4v3,msnsiren,msp2,msrle,mss1,mss2,msvideo1,mszh,mts2,mv30,mvc1,mvc2,mvdv,mvha,mwsc,mxpeg,nellymoser,nuv,on2avc,opus,paf_audio,paf_video,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_lxf,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24daud,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,p\ncm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_sga,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcm_vidc,pcx,pfm,pgm,pgmyuv,pgssub,pgx,phm,photocd,pictor,pjs,png,ppm,prores,prosumer,psd,ptx,qcelp,qdm2,qdmc,qdraw,qoa,qoi,qpeg,qtrle,r10k,r210,ra_144,ra_288,rasc,rawvideo,realtext,rka,rl2,roq,roq_dpcm,rpza,rscc,rv10,rv20,s302m,sami,sanm,sbc,screenpresso,sdx2_dpcm,sgi,sgirle,shorten,simbiosis_imx,sipr,siren,smackaud,smacker,smc,smvjpeg,snow,sol_dpcm,sonic,sp5x,speedhq,speex,srgc,srt,ssa,stl,subrip,subviewer,subviewer1,sunrast,svq1,svq3,tak,targa,targa_y216,tdsc,text,theora,thp,tiertexseqvideo,tiff,tmv,truehd,truemotion1,truemotion2,truemotion2rt,truespeech,tscc,tscc2,tta,twinvq,txd,ulti,utvideo,v210,v210x,v308,v408,v410,vb,vble,vcr1,vmdaudio,vmdvideo,vmnc,vnull,vorbis,vp3,vp4,vp5,vp6,vp6a,vp6f,vp7,vp8,vp8_qsv,vp8_v4l2m2m,vp9,vp9_qsv,vp9_v4l2m2m,vplayer,vqa,vqc,wady_dpcm,wavarc,wavpack,wbmp,wcmv,webp,webvtt,wmav1,wmav2,wmavoice,wmv1,wmv2,wnv1,wrapped_avframe,ws_snd1,xan_dpcm,xan_wc3,xan_wc4,xbin,\nxbm,xface,xl,xpm,xsub,xwd,y41p,ylc,yop,yuv4,zero12v,zerocodec,zlib,zmbv,'\\n  libavutil      59. 39.100 / 59. 39.100\\n  libavcodec     61. 19.101 / 61. 19.101\\n  libavformat    61.  7.100 / 61.  7.100\\n  libavdevice    61.  3.100 / 61.  3.100\\n  libavfilter    10.  4.100 / 10.  4.100\\n  libswscale      8.  3.100 /  8.  3.100\\n  libswresample   5.  3.100 /  5.  3.100\\n  libpostproc    58.  3.100 / 58.  3.100\\n[mp3 @ 0x56434e90f380] Format mp3 detected only with low score of 1, misdetection possible!\\n[mp3 @ 0x56434e90f380] Failed to find two consecutive MPEG audio frames.\\n[in#0 @ 0x56434e8e7b00] Error opening input: Invalid data found when processing input\\nError opening input file /tmp/hls_test_1765843082302716537/test.mp3.\\nError opening input files: Invalid data found when processing input\\n\", \"error\": \"exit status 183\"}\n\n--- PASS: TestHLSTranscodeService_TranscodeTrack_CreatesDirectory (0.11s)\n\n=== RUN   TestHLSTranscodeService_CountSegments\n\n--- PASS: TestHLSTranscodeService_CountSegments (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_EmptyDir\n\n--- PASS: TestHLSTranscodeService_CountSegments_EmptyDir (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_NonexistentDir\n\n    hls_transcode_service_test.go:231: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_transcode_service_test.go:231\n\n        \tError:      \tAn error is expected but got nil.\n\n        \tTest:       \tTestHLSTranscodeService_CountSegments_NonexistentDir\n\n--- FAIL: TestHLSTranscodeService_CountSegments_NonexistentDir (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0137",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSTranscodeService_CountSegments_NonexistentDir",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSTranscodeService_CountSegments_NonexistentDir$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestHLSTranscodeService_CountSegments_MultipleBitrates",
        "log_excerpt": "=== RUN   TestHLSTranscodeService_CountSegments_MultipleBitrates\n\n--- PASS: TestHLSTranscodeService_CountSegments_MultipleBitrates (0.00s)\n\n=== RUN   TestHLSTranscodeService_CountSegments_OnlySegmentFiles\n\n--- PASS: TestHLSTranscodeService_CountSegments_OnlySegmentFiles (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_NonexistentFile\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_NonexistentFile (0.00s)\n\n=== RUN   TestHLSTranscodeService_GenerateMasterPlaylist\n\n--- PASS: TestHLSTranscodeService_GenerateMasterPlaylist (0.00s)\n\n=== RUN   TestHLSTranscodeService_CleanupTrackDir\n\n    hls_transcode_service_test.go:391: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/hls_transcode_service_test.go:391\n\n        \tError:      \tdirectory \"/tmp/hls_test_1765843082419298864/7818dfed-6e32-4e42-9cd9-0e94535910e0\" exists\n\n        \tTest:       \tTestHLSTranscodeService_CleanupTrackDir\n\n--- FAIL: TestHLSTranscodeService_CleanupTrackDir (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0138",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestHLSTranscodeService_CleanupTrackDir",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestHLSTranscodeService_CleanupTrackDir$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestHLSTranscodeService_TranscodeTrack_WithCustomBitrates (0.13s)",
        "log_excerpt": "--- PASS: TestHLSTranscodeService_TranscodeTrack_WithCustomBitrates (0.13s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_InvalidFormat\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_InvalidFormat (0.00s)\n\n=== RUN   TestHLSTranscodeService_GetPlaylistDuration_EmptyFile\n\n--- PASS: TestHLSTranscodeService_GetPlaylistDuration_EmptyFile (0.00s)\n\n=== RUN   TestHLSTranscodeService_GenerateMasterPlaylist_EmptyBitrates\n\n--- PASS: TestHLSTranscodeService_GenerateMasterPlaylist_EmptyBitrates (0.00s)\n\n=== RUN   TestJWTService\n\n=== RUN   TestJWTService/GenerateAccessToken\n\n--- PASS: TestJWTService/GenerateAccessToken (0.00s)\n\n=== RUN   TestJWTService/GenerateRefreshToken\n\n--- PASS: TestJWTService/GenerateRefreshToken (0.00s)\n\n=== RUN   TestJWTService/VerifyTokenVersion\n\n--- PASS: TestJWTService/VerifyTokenVersion (0.00s)\n\n=== RUN   TestJWTService/ExpiredToken\n\n--- PASS: TestJWTService/ExpiredToken (0.00s)\n\n=== RUN   TestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:99: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:99\n\n        \tError:      \t\"failed to parse token: token has invalid claims: token has invalid issuer\" does not contain \"token has invalid claims: issuer name 'evil.com' is invalid\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:114: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:114\n\n        \tError:      \t\"failed to parse token: token has invalid claims: token has invalid audience\" does not contain \"token has invalid claims: token contains an invalid number of audience claims\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n    jwt_service_test.go:132: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/jwt_service_test.go:132\n\n        \tError:      \t\"failed to parse token: token is unverifiable: error while executing keyfunc: invalid signing algorithm: HS512, expected HS256\" does not contain \"unexpected signing method\"\n\n        \tTest:       \tTestJWTService/Security_StrictValidation\n\n--- FAIL: TestJWTService/Security_StrictValidation (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0139",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestJWTService/Security_StrictValidation",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestJWTService/Security_StrictValidation$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- FAIL: TestJWTService (0.00s)",
        "log_excerpt": "--- FAIL: TestJWTService (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0140",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestJWTService",
      "failure_type": "infra",
      "severity": "P1",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestJWTService$ -v",
        "env": {},
        "requires": [
          "postgres"
        ]
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_HashAndCompare_Integration",
        "log_excerpt": "=== RUN   TestPasswordService_HashAndCompare_Integration\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/simple_password\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/simple_password (7.88s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_uppercase\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_uppercase (8.10s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_special_chars\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_special_chars (8.00s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_spaces\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_spaces (7.84s)\n\n=== RUN   TestPasswordService_HashAndCompare_Integration/password_with_unicode\n\n--- PASS: TestPasswordService_HashAndCompare_Integration/password_with_unicode (8.00s)\n\n--- PASS: TestPasswordService_HashAndCompare_Integration (39.83s)\n\n=== RUN   TestPasswordService_Hash_ConsistentCost\n\n--- PASS: TestPasswordService_Hash_ConsistentCost (2.64s)\n\n=== RUN   TestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:270: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:270\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tbcrypt: password length exceeds 72 bytes\n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:271: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:271\n\n        \tError:      \tShould NOT be empty, but was \n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n    password_service_test.go:275: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/password_service_test.go:275\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestPasswordService_Hash_ErrorHandling\n\n        \tMessages:   \tLong password should still work (truncated by bcrypt)\n\n--- FAIL: TestPasswordService_Hash_ErrorHandling (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Database constraint violation - test isolation issue",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0141",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPasswordService_Hash_ErrorHandling",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPasswordService_Hash_ErrorHandling$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPasswordService_Compare_CaseSensitive",
        "log_excerpt": "=== RUN   TestPasswordService_Compare_CaseSensitive\n\n--- PASS: TestPasswordService_Compare_CaseSensitive (11.14s)\n\n=== RUN   TestPermissionService_HasRole\n\n\r\n\n2025/12/15 18:59:50 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service.go:100 \u001b[35;1mno such column: user_roles.is_active\n\n\u001b[0m\u001b[33m[0.053ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `user_roles` JOIN roles ON user_roles.role_id = roles.id WHERE (user_roles.user_id = \"ef991861-27a3-40b7-b858-b083e19643b1\" AND roles.name = \"admin\" AND user_roles.is_active = true) AND (user_roles.expires_at IS NULL OR user_roles.expires_at > \"2025-12-15 18:59:50.484\")\n\n    permission_service_test.go:61: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service_test.go:61\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to check role: no such column: user_roles.is_active\n\n        \tTest:       \tTestPermissionService_HasRole\n\n--- FAIL: TestPermissionService_HasRole (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0142",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPermissionService_HasRole",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPermissionService_HasRole$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPermissionService_HasPermission",
        "log_excerpt": "=== RUN   TestPermissionService_HasPermission\n\n\r\n\n2025/12/15 18:59:50 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service.go:115 \u001b[35;1mno such column: user_roles.is_active\n\n\u001b[0m\u001b[33m[0.104ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `user_roles` JOIN role_permissions ON user_roles.role_id = role_permissions.role_id JOIN permissions ON role_permissions.permission_id = permissions.id WHERE (user_roles.user_id = \"65fba434-2af2-477e-863d-544c0a57323b\" AND permissions.name = \"manage_users\" AND user_roles.is_active = true) AND (user_roles.expires_at IS NULL OR user_roles.expires_at > \"2025-12-15 18:59:50.506\")\n\n    permission_service_test.go:130: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/permission_service_test.go:130\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to check permission: no such column: user_roles.is_active\n\n        \tTest:       \tTestPermissionService_HasPermission\n\n--- FAIL: TestPermissionService_HasPermission (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0143",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPermissionService_HasPermission",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPermissionService_HasPermission$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestNewPlaybackAggregationService (0.02s)",
        "log_excerpt": "--- PASS: TestNewPlaybackAggregationService (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Day\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Day (0.03s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Week\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Week (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Month\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Month (0.03s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_InvalidTrackID\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_InvalidTrackID (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_TrackNotFound\n\n\r\n\n2025/12/15 18:59:51 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_aggregation_service.go:89 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.106ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"e733576f-c806-457b-bfcd-ddb1be9a694b\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_TrackNotFound (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_InvalidPeriod\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_InvalidPeriod (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_NoData\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_NoData (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByPeriod_Trends\n\n--- PASS: TestPlaybackAggregationService_AggregateByPeriod_Trends (0.02s)\n\n=== RUN   TestPlaybackAggregationService_AggregateByDateRange\n\n--- PASS: TestPlaybackAggregationService_AggregateByDateRange (0.02s)\n\n=== RUN   TestPlaybackAggregationService_GetTopTracksByPlayback\n\n    playback_aggregation_service_test.go:500: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_aggregation_service_test.go:500\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: int64(1)\n\n        \t            \tactual  : uuid.UUID(uuid.UUID{0x28, 0xd, 0xeb, 0x60, 0x5, 0xad, 0x45, 0xc, 0xbe, 0xce, 0xe3, 0xb, 0xca, 0x3d, 0x6, 0x12})\n\n        \tTest:       \tTestPlaybackAggregationService_GetTopTracksByPlayback\n\n--- FAIL: TestPlaybackAggregationService_GetTopTracksByPlayback (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed compilation error: FileID pointer issue",
        "Fixed compilation error: FileID pointer issue"
      ]
    },
    {
      "id": "TF-0144",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAggregationService_GetTopTracksByPlayback",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAggregationService_GetTopTracksByPlayback$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:59:51.375-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"07e6b24d-4aca-42a0-9e15-6f3b0e2ff6b3\", \"alerts_count\": 2}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:59:51.375-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"07e6b24d-4aca-42a0-9e15-6f3b0e2ff6b3\", \"alerts_count\": 2}\n\n--- PASS: TestPlaybackAlertsService_DetectAnomalies (0.03s)\n\n=== RUN   TestPlaybackAlertsService_CalculateMeanAndStdDev\n\n--- PASS: TestPlaybackAlertsService_CalculateMeanAndStdDev (0.02s)\n\n=== RUN   TestPlaybackAlertsService_CalculateMeanAndStdDev_Empty\n\n--- PASS: TestPlaybackAlertsService_CalculateMeanAndStdDev_Empty (0.02s)\n\n=== RUN   TestPlaybackAlertsService_CheckAlerts_WithCustomConfig\n\n    logger.go:146: 2025-12-15T18:59:51.440-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"05d556ae-9d8b-438d-b04e-95c553a5e956\", \"alerts_count\": 2}\n\n--- PASS: TestPlaybackAlertsService_CheckAlerts_WithCustomConfig (0.02s)\n\n=== RUN   TestPlaybackAlertsService_DetectLowCompletionRate_HighPercentage\n\n    logger.go:146: 2025-12-15T18:59:51.468-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"c05b9b4d-f555-4459-83cd-b8856a74c080\", \"alerts_count\": 3}\n\n--- PASS: TestPlaybackAlertsService_DetectLowCompletionRate_HighPercentage (0.03s)\n\n=== RUN   TestPlaybackAlertsService_DetectDropOffPoints_NoDropOff\n\n    logger.go:146: 2025-12-15T18:59:51.496-0500\tINFO\tChecked playback alerts\t{\"track_id\": \"8b7a08cf-f5f8-463c-8a8a-56c7539c2fb6\", \"alerts_count\": 0}\n\n--- PASS: TestPlaybackAlertsService_DetectDropOffPoints_NoDropOff (0.03s)\n\n=== RUN   TestNewPlaybackAnalyticsService\n\n--- PASS: TestNewPlaybackAnalyticsService (0.00s)\n\n=== RUN   TestNewPlaybackAnalyticsService_NilLogger\n\n--- PASS: TestNewPlaybackAnalyticsService_NilLogger (0.00s)\n\n=== RUN   TestPlaybackAnalyticsService_CalculateCompletionRate\n\n--- PASS: TestPlaybackAnalyticsService_CalculateCompletionRate (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_Success\n\n    logger.go:146: 2025-12-15T18:59:51.541-0500\tINFO\tPlayback analytics recorded\t{\"id\": \"d42667e0-f173-4f89-b9b5-0352b34f4892\", \"track_id\": \"d425ef4d-c1f6-48f0-9bbe-d2db43f8248c\", \"user_id\": \"33368a0a-3361-4b3f-b280-9c7bf3de51d9\", \"play_time\": 120, \"completion_rate\": 66.66666666666666}\n\n    playback_analytics_service_test.go:122: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:122\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 66.67\n\n        \t            \tactual  : 66.66666666666666\n\n        \tTest:       \tTestPlaybackAnalyticsService_RecordPlayback_Success\n\n--- FAIL: TestPlaybackAnalyticsService_RecordPlayback_Success (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0145",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_RecordPlayback_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_RecordPlayback_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidTrackID (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidUserID\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidUserID (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_TrackNotFound\n\n\r\n\n2025/12/15 18:59:51 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:84 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.145ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"acd9ea1f-efe5-4c2a-9779-1cb2aebc592a\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_TrackNotFound (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_InvalidCompletionRate\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_InvalidCompletionRate (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_RecordPlayback_ZeroStartedAt\n\n--- PASS: TestPlaybackAnalyticsService_RecordPlayback_ZeroStartedAt (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_GetTrackStats\n\n    playback_analytics_service_test.go:288: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:288\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 33.33\n\n        \t            \tactual  : 33.33333333333333\n\n        \tTest:       \tTestPlaybackAnalyticsService_GetTrackStats\n\n--- FAIL: TestPlaybackAnalyticsService_GetTrackStats (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0146",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_GetTrackStats",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_GetTrackStats$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaybackAnalyticsService_GetTrackStats_NoSessions",
        "log_excerpt": "=== RUN   TestPlaybackAnalyticsService_GetTrackStats_NoSessions\n\n--- PASS: TestPlaybackAnalyticsService_GetTrackStats_NoSessions (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_GetTrackStats_TrackNotFound\n\n\r\n\n2025/12/15 18:59:51 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:275 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.101ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"77c22b15-85e5-4203-9d50-57a3805a765f\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_GetTrackStats_TrackNotFound (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_GetUserStats\n\n--- PASS: TestPlaybackAnalyticsService_GetUserStats (0.02s)\n\n=== RUN   TestPlaybackAnalyticsService_GetUserStats_UserNotFound\n\n\r\n\n2025/12/15 18:59:51 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service.go:370 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.142ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `users` WHERE `users`.`id` = \"9126eead-3044-4b5c-9c1f-0a33b2a17f15\" AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT 1\n\n--- PASS: TestPlaybackAnalyticsService_GetUserStats_UserNotFound (0.03s)\n\n=== RUN   TestPlaybackAnalyticsService_GetSessionsByDateRange\n\n    playback_analytics_service_test.go:419: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_analytics_service_test.go:419\n\n        \tError:      \t\"[]\" should have 3 item(s), but has 0\n\n        \tTest:       \tTestPlaybackAnalyticsService_GetSessionsByDateRange\n\n--- FAIL: TestPlaybackAnalyticsService_GetSessionsByDateRange (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0147",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackAnalyticsService_GetSessionsByDateRange",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackAnalyticsService_GetSessionsByDateRange$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestPlaybackComparisonService_CompareUsers_InvalidUserID (0.02s)",
        "log_excerpt": "--- PASS: TestPlaybackComparisonService_CompareUsers_InvalidUserID (0.02s)\n\n=== RUN   TestPlaybackComparisonService_CompareUsers_TrackNotFound\n\n\r\n\n2025/12/15 18:59:52 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_comparison_service.go:371 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.134ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `tracks` WHERE `tracks`.`id` = \"c0357dc8-9b85-48f9-b103-c52b213116d0\" AND `tracks`.`deleted_at` IS NULL ORDER BY `tracks`.`id` LIMIT 1\n\n--- PASS: TestPlaybackComparisonService_CompareUsers_TrackNotFound (0.03s)\n\n=== RUN   TestPlaybackComparisonService_CompareUsers_UserNotFound\n\n\r\n\n2025/12/15 18:59:52 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_comparison_service.go:386 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.106ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `users` WHERE `users`.`id` = \"ef446f84-9111-4ca0-b78b-fb5bef9e4495\" AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT 1\n\n--- PASS: TestPlaybackComparisonService_CompareUsers_UserNotFound (0.03s)\n\n=== RUN   TestPlaybackComparisonService_CalculateDifference\n\n--- PASS: TestPlaybackComparisonService_CalculateDifference (0.02s)\n\n=== RUN   TestPlaybackComparisonService_CalculatePercentageChange\n\n--- PASS: TestPlaybackComparisonService_CalculatePercentageChange (0.02s)\n\n=== RUN   TestPlaybackComparisonService_CalculatePercentageChange_ZeroBase\n\n--- PASS: TestPlaybackComparisonService_CalculatePercentageChange_ZeroBase (0.02s)\n\n=== RUN   TestPlaybackComparisonService_GetPeriodDates\n\n--- PASS: TestPlaybackComparisonService_GetPeriodDates (0.02s)\n\n=== RUN   TestNewPlaybackExportService\n\n--- PASS: TestNewPlaybackExportService (0.00s)\n\n=== RUN   TestNewPlaybackExportService_NilLogger\n\n--- PASS: TestNewPlaybackExportService_NilLogger (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_Success\n\n    logger.go:146: 2025-12-15T18:59:52.624-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_Success3404574183/001/test.csv\", \"count\": 2}\n\n    playback_export_service_test.go:85: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_export_service_test.go:85\n\n        \tError:      \t\"ID,Track ID,User ID,Play Time (seconds),Pause Count,Seek Count,Completion Rate (%),Started At,Ended At,Created At\\n[99 9 185 14 117 21 79 143 184 99 2 90 229 127 174 172],[153 249 142 95 78 5 78 8 171 189 14 152 43 138 180 203],[184 116 109 208 94 112 78 84 176 11 172 191 101 197 98 35],120,2,3,75.00,2025-12-15T18:59:52-05:00,,2025-12-15T18:59:52-05:00\\n[49 213 35 196 19 72 76 15 180 13 135 249 28 46 172 182],[153 249 142 95 78 5 78 8 171 189 14 152 43 138 180 203],[211 144 83 136 150 75 79 117 129 188 129 78 109 253 62 245],150,1,2,90.00,2025-12-15T18:59:52-05:00,2025-12-15T18:59:52-05:00,2025-12-15T18:59:52-05:00\\n\" does not contain \"6309b90e-7515-4f8f-b863-025ae57faeac\"\n\n        \tTest:       \tTestPlaybackExportService_ExportCSV_Success\n\n--- FAIL: TestPlaybackExportService_ExportCSV_Success (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0148",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackExportService_ExportCSV_Success",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackExportService_ExportCSV_Success$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "logger.go:146: 2025-12-15T18:59:52.625-0500\tINFO\tAnalytics exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportJSON_Success4097291178/001/test.json\", \"count\": 1}",
        "log_excerpt": "    logger.go:146: 2025-12-15T18:59:52.625-0500\tINFO\tAnalytics exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportJSON_Success4097291178/001/test.json\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportJSON_Success (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportJSON_EmptyData\n\n--- PASS: TestPlaybackExportService_ExportJSON_EmptyData (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_CSV\n\n    logger.go:146: 2025-12-15T18:59:52.626-0500\tINFO\tAnalytics report exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportReport_CSV2502061384/001/report.csv\", \"count\": 2}\n\n--- PASS: TestPlaybackExportService_ExportReport_CSV (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_JSON\n\n    logger.go:146: 2025-12-15T18:59:52.626-0500\tINFO\tAnalytics report exported to JSON\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportReport_JSON1393138380/001/report.json\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportReport_JSON (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_InvalidFormat\n\n--- PASS: TestPlaybackExportService_ExportReport_InvalidFormat (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportReport_EmptyData\n\n--- PASS: TestPlaybackExportService_ExportReport_EmptyData (0.00s)\n\n=== RUN   TestPlaybackExportService_calculateReportStats\n\n--- PASS: TestPlaybackExportService_calculateReportStats (0.00s)\n\n=== RUN   TestPlaybackExportService_calculateReportStats_Empty\n\n--- PASS: TestPlaybackExportService_calculateReportStats_Empty (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_WithEndedAt\n\n    logger.go:146: 2025-12-15T18:59:52.627-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_WithEndedAt438387417/001/test.csv\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportCSV_WithEndedAt (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportCSV_WithoutEndedAt\n\n    logger.go:146: 2025-12-15T18:59:52.628-0500\tINFO\tAnalytics exported to CSV\t{\"filename\": \"/tmp/TestPlaybackExportService_ExportCSV_WithoutEndedAt3277842917/001/test.csv\", \"count\": 1}\n\n--- PASS: TestPlaybackExportService_ExportCSV_WithoutEndedAt (0.00s)\n\n=== RUN   TestPlaybackExportService_ExportToWriter_CSV\n\n    playback_export_service_test.go:433: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playback_export_service_test.go:433\n\n        \tError:      \t\"ID,Track ID,User ID,Play Time (seconds),Pause Count,Seek Count,Completion Rate (%),Started At,Ended At,Created At\\n[37 196 204 5 116 22 79 58 169 190 90 145 189 82 165 5],[29 224 89 191 222 49 71 29 178 236 116 124 121 82 231 11],[1 191 134 239 142 109 67 215 144 177 28 43 69 46 230 152],120,0,0,75.00,2025-12-15T18:59:52-05:00,,2025-12-15T18:59:52-05:00\\n\" does not contain \"25c4cc05-7416-4f3a-a9be-5a91bd52a505\"\n\n        \tTest:       \tTestPlaybackExportService_ExportToWriter_CSV\n\n--- FAIL: TestPlaybackExportService_ExportToWriter_CSV (0.00s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0149",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaybackExportService_ExportToWriter_CSV",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaybackExportService_ExportToWriter_CSV$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found",
        "log_excerpt": "\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.107ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"a8d88fd3-4272-4089-888b-fa701743e617\" AND playlist_id = \"5b3728ab-74bd-4268-b99e-d5566feeab3b\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist (0.02s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_OwnPlaylist\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_OwnPlaylist (0.02s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_NotFound\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:37 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.078ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlists` WHERE id = \"e24e4904-709e-4124-a6fe-3c2e88a53ded\" AND `playlists`.`deleted_at` IS NULL ORDER BY `playlists`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_NotFound (0.02s)\n\n=== RUN   TestPlaylistFollowService_FollowPlaylist_Idempotent\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.121ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"76a05cae-d487-477d-98ed-2ccacbaa588d\" AND playlist_id = \"2c68ef71-552b-46d1-a396-26f801ace68e\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_FollowPlaylist_Idempotent (0.02s)\n\n=== RUN   TestPlaylistFollowService_UnfollowPlaylist\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.169ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"a6af9fef-9927-4027-8afe-75e5cb3f5ff8\" AND playlist_id = \"ae1ae651-1560-41ce-af70-7a5dc3dfee43\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:105 \u001b[35;1mno such function: GREATEST\n\n\u001b[0m\u001b[33m[0.129ms] \u001b[34;1m[rows:0]\u001b[0m UPDATE `playlists` SET `follower_count`=GREATEST(follower_count - 1, 0) WHERE `playlists`.`deleted_at` IS NULL AND `id` = \"ae1ae651-1560-41ce-af70-7a5dc3dfee43\"\n\n    playlist_follow_service_test.go:238: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service_test.go:238\n\n        \tError:      \tNot equal: \n\n        \t            \texpected: 0\n\n        \t            \tactual  : 1\n\n        \tTest:       \tTestPlaylistFollowService_UnfollowPlaylist\n\n--- FAIL: TestPlaylistFollowService_UnfollowPlaylist (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0150",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistFollowService_UnfollowPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistFollowService_UnfollowPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistFollowService_UnfollowPlaylist_Idempotent",
        "log_excerpt": "=== RUN   TestPlaylistFollowService_UnfollowPlaylist_Idempotent\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:89 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.149ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"efaae360-0321-42ca-ae76-9db3bcdce209\" AND playlist_id = \"799795bd-008c-49f5-a62e-d158193c0eea\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_UnfollowPlaylist_Idempotent (0.02s)\n\n=== RUN   TestPlaylistFollowService_IsFollowing\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.089ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"55f9c53c-710c-4119-bb72-353eb5f2d0f5\" AND playlist_id = \"cd8aca58-0235-4c33-9fd9-fec728d0166d\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_IsFollowing (0.02s)\n\n=== RUN   TestPlaylistFollowService_GetPlaylistFollowersCount\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.197ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"94f84cf9-d3ee-455a-9b0f-da76ffa06454\" AND playlist_id = \"2b271e4d-c08a-4e12-a107-4f277481657d\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_follow_service.go:51 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.156ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_follows` WHERE (user_id = \"6be74cb8-e018-431d-8e57-8c0555a22b4f\" AND playlist_id = \"2b271e4d-c08a-4e12-a107-4f277481657d\" AND deleted_at IS NULL) AND `playlist_follows`.`deleted_at` IS NULL ORDER BY `playlist_follows`.`id` LIMIT 1\n\n--- PASS: TestPlaylistFollowService_GetPlaylistFollowersCount (0.03s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_ByQuery\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_repository.go:186 \u001b[35;1mno such column: title\n\n\u001b[0m\u001b[33m[0.065ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `playlists` WHERE ((title LIKE \"%Rock%\" OR description LIKE \"%Rock%\")) AND `playlists`.`deleted_at` IS NULL\n\n    playlist_service_search_test.go:110: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:110\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to search playlists: no such column: title\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_ByQuery\n\n--- FAIL: TestPlaylistService_SearchPlaylists_ByQuery (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0151",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_ByQuery",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_ByQuery$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_ByUserID",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_ByUserID\n\n--- PASS: TestPlaylistService_SearchPlaylists_ByUserID (0.02s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_ByIsPublic\n\n--- PASS: TestPlaylistService_SearchPlaylists_ByIsPublic (0.02s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists\n\n    playlist_service_search_test.go:204: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:204\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_OwnPrivatePlaylists\n\n        \tMessages:   \tShould find own private playlist\n\n--- FAIL: TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0152",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_OwnPrivatePlaylists$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_Unauthenticated",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_Unauthenticated\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_repository.go:186 \u001b[35;1mno such column: title\n\n\u001b[0m\u001b[33m[0.061ms] \u001b[34;1m[rows:0]\u001b[0m SELECT count(*) FROM `playlists` WHERE ((title LIKE \"%Playlist%\" OR description LIKE \"%Playlist%\")) AND is_public = true AND `playlists`.`deleted_at` IS NULL\n\n    playlist_service_search_test.go:221: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_search_test.go:221\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to search playlists: no such column: title\n\n        \tTest:       \tTestPlaylistService_SearchPlaylists_Unauthenticated\n\n--- FAIL: TestPlaylistService_SearchPlaylists_Unauthenticated (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0153",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_SearchPlaylists_Unauthenticated",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_SearchPlaylists_Unauthenticated$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_SearchPlaylists_Pagination",
        "log_excerpt": "=== RUN   TestPlaylistService_SearchPlaylists_Pagination\n\n--- PASS: TestPlaylistService_SearchPlaylists_Pagination (0.02s)\n\n=== RUN   TestPlaylistService_SearchPlaylists_EmptyQuery\n\n--- PASS: TestPlaylistService_SearchPlaylists_EmptyQuery (0.02s)\n\n=== RUN   TestPlaylistService_CreatePlaylist\n\n--- PASS: TestPlaylistService_CreatePlaylist (0.02s)\n\n=== RUN   TestPlaylistService_AddTrackToPlaylist\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:78 \u001b[35;1mno such column: position\n\n\u001b[0m\u001b[33m[0.065ms] \u001b[34;1m[rows:-]\u001b[0m SELECT COALESCE(MAX(position), 0) FROM `playlist_tracks` WHERE playlist_id = \"8a9893da-6b9e-441f-80c7-f0e4055a8336\"\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:98 \u001b[35;1mtable playlist_tracks has no column named id\n\n\u001b[0m\u001b[33m[0.128ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `playlist_tracks` (`id`,`playlist_id`,`track_id`,`position`,`added_by`,`added_at`) VALUES (\"7e958a32-41a3-437f-8e19-9f91eccca220\",\"8a9893da-6b9e-441f-80c7-f0e4055a8336\",\"0cb11011-d4b3-4a24-86e0-855b30e79990\",1,\"00000000-0000-0000-0000-000000000000\",\"2025-12-15 18:59:54.533\")\n\n    playlist_service_test.go:127: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:127\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to add track to playlist: table playlist_tracks has no column named id\n\n        \tTest:       \tTestPlaylistService_AddTrackToPlaylist\n\n    playlist_service_test.go:132: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:132\n\n        \tError:      \t\"[]\" should have 1 item(s), but has 0\n\n        \tTest:       \tTestPlaylistService_AddTrackToPlaylist\n\n--- FAIL: TestPlaylistService_AddTrackToPlaylist (0.02s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0154",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_AddTrackToPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_AddTrackToPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestPlaylistService_RemoveTrackFromPlaylist",
        "log_excerpt": "=== RUN   TestPlaylistService_RemoveTrackFromPlaylist\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:78 \u001b[35;1mno such column: position\n\n\u001b[0m\u001b[33m[0.075ms] \u001b[34;1m[rows:-]\u001b[0m SELECT COALESCE(MAX(position), 0) FROM `playlist_tracks` WHERE playlist_id = \"9686fbcd-19bf-4564-8a20-b511aa85f8e4\"\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:98 \u001b[35;1mtable playlist_tracks has no column named id\n\n\u001b[0m\u001b[33m[0.183ms] \u001b[34;1m[rows:0]\u001b[0m INSERT INTO `playlist_tracks` (`id`,`playlist_id`,`track_id`,`position`,`added_by`,`added_at`) VALUES (\"1575429c-de77-4640-a621-6264945773fd\",\"9686fbcd-19bf-4564-8a20-b511aa85f8e4\",\"d63978dd-7826-4cd0-960d-5443a37c78e3\",1,\"00000000-0000-0000-0000-000000000000\",\"2025-12-15 18:59:54.558\")\n\n    playlist_service_test.go:158: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:158\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to add track to playlist: table playlist_tracks has no column named id\n\n        \tTest:       \tTestPlaylistService_RemoveTrackFromPlaylist\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/playlist_track_repository.go:119 \u001b[35;1mno such column: playlist_tracks.id\n\n\u001b[0m\u001b[33m[0.061ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `playlist_tracks` WHERE playlist_id = \"9686fbcd-19bf-4564-8a20-b511aa85f8e4\" AND track_id = \"d63978dd-7826-4cd0-960d-5443a37c78e3\" ORDER BY `playlist_tracks`.`id` LIMIT 1\n\n    playlist_service_test.go:162: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/playlist_service_test.go:162\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to remove track from playlist: no such column: playlist_tracks.id\n\n        \tTest:       \tTestPlaylistService_RemoveTrackFromPlaylist\n\n--- FAIL: TestPlaylistService_RemoveTrackFromPlaylist (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0155",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestPlaylistService_RemoveTrackFromPlaylist",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestPlaylistService_RemoveTrackFromPlaylist$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "--- PASS: TestRefreshTokenService_StoreMultipleTokens (0.02s)",
        "log_excerpt": "--- PASS: TestRefreshTokenService_StoreMultipleTokens (0.02s)\n\n=== RUN   TestRefreshTokenService_Validate_AfterRevokeOne\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/services/refresh_token_service.go:49 \u001b[35;1mrecord not found\n\n\u001b[0m\u001b[33m[0.172ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `refresh_tokens` WHERE (user_id = \"faf06e4a-bcc2-4399-b5f9-551f3fc6e8ab\" AND token_hash = \"3f08aace122ee2368432c1ca23a049bc640bafbf00fdf33a52429f38ba12dbf9\") AND `refresh_tokens`.`deleted_at` IS NULL ORDER BY `refresh_tokens`.`id` LIMIT 1\n\n--- PASS: TestRefreshTokenService_Validate_AfterRevokeOne (0.02s)\n\n=== RUN   TestRoomService_CreateRoom\n\n--- PASS: TestRoomService_CreateRoom (0.02s)\n\n=== RUN   TestRoomService_GetUserRooms\n\n\r\n\n2025/12/15 18:59:54 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/room_repository.go:47 \u001b[35;1mno such column: room_members.deleted_at\n\n\u001b[0m\u001b[33m[0.103ms] \u001b[34;1m[rows:0]\u001b[0m SELECT `rooms`.`id`,`rooms`.`name`,`rooms`.`description`,`rooms`.`room_type`,`rooms`.`is_private`,`rooms`.`created_by`,`rooms`.`created_at`,`rooms`.`updated_at`,`rooms`.`deleted_at` FROM `rooms` JOIN room_members ON rooms.id = room_members.room_id WHERE (room_members.user_id = \"fc9d3bc4-c90f-422d-aafd-cecc9d03bf92\" AND room_members.deleted_at IS NULL) AND `rooms`.`deleted_at` IS NULL\n\n    room_service_test.go:90: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:90\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to get user rooms: no such column: room_members.deleted_at\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:91: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:91\n\n        \tError:      \t\"[]\" should have 2 item(s), but has 0\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:103: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:103\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n    room_service_test.go:104: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:104\n\n        \tError:      \tShould be true\n\n        \tTest:       \tTestRoomService_GetUserRooms\n\n--- FAIL: TestRoomService_GetUserRooms (0.03s)\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0156",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestRoomService_GetUserRooms",
      "failure_type": "panic",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestRoomService_GetUserRooms$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "=== RUN   TestRoomService_GetRoomHistory",
        "log_excerpt": "=== RUN   TestRoomService_GetRoomHistory\n\n\r\n\n2025/12/15 18:59:55 \u001b[31;1m/home/senke/git/talas/veza/veza-backend-api/internal/repositories/chat_message_repository.go:27 \u001b[35;1mno such column: conversation_id\n\n\u001b[0m\u001b[33m[0.036ms] \u001b[34;1m[rows:0]\u001b[0m SELECT * FROM `messages` WHERE conversation_id = \"4f503784-ba53-4bcc-8479-aea176081716\" AND is_deleted = false ORDER BY created_at DESC LIMIT 10\n\n    room_service_test.go:127: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:127\n\n        \tError:      \tReceived unexpected error:\n\n        \t            \tfailed to get room history: failed to get conversation messages: no such column: conversation_id\n\n        \tTest:       \tTestRoomService_GetRoomHistory\n\n    room_service_test.go:128: \n\n        \tError Trace:\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:128\n\n        \tError:      \t\"[]\" should have 3 item(s), but has 0\n\n        \tTest:       \tTestRoomService_GetRoomHistory\n\n--- FAIL: TestRoomService_GetRoomHistory (0.02s)\n\npanic: runtime error: index out of range [0] with length 0 [recovered]\n\n\tpanic: runtime error: index out of range [0] with length 0\n\n\n\ngoroutine 1859 [running]:\n\ntesting.tRunner.func1.2({0x1b6ce60, 0xc000159488})\n\n\t/usr/lib/golang/src/testing/testing.go:1734 +0x3eb\n\ntesting.tRunner.func1()\n\n\t/usr/lib/golang/src/testing/testing.go:1737 +0x696\n\npanic({0x1b6ce60?, 0xc000159488?})\n\n\t/usr/lib/golang/src/runtime/panic.go:792 +0x132\n\nveza-backend-api/internal/services.TestRoomService_GetRoomHistory(0xc000028a80)\n\n\t/home/senke/git/talas/veza/veza-backend-api/internal/services/room_service_test.go:129 +0x927\n\ntesting.tRunner(0xc000028a80, 0x1c5aaf8)\n\n\t/usr/lib/golang/src/testing/testing.go:1792 +0x226\n\ncreated by testing.(*T).Run in goroutine 1\n\n\t/usr/lib/golang/src/testing/testing.go:1851 +0x8f3\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "Runtime panic - likely nil pointer, index out of range, or type assertion failure",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed repository column name issues"
      ]
    },
    {
      "id": "TF-0157",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "TestRoomService_GetRoomHistory",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -run ^TestRoomService_GetRoomHistory$ -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "FAIL\tveza-backend-api/internal/services\t118.355s",
        "log_excerpt": "FAIL\tveza-backend-api/internal/services\t118.355s\n",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0158",
      "scope": "race",
      "package": "veza-backend-api/internal/services",
      "test": "<package_fail>",
      "failure_type": "assertion",
      "severity": "P2",
      "repro": {
        "command": "go test veza-backend-api/internal/services -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "",
        "log_excerpt": "",
        "source_files": []
      },
      "analysis": {
        "likely_root_cause": "",
        "confidence": "low",
        "notes": []
      },
      "next_action": {
        "category": "test_fix",
        "minimal_fix_hint": "",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      }
    },
    {
      "id": "TF-0159",
      "scope": "race",
      "package": "veza-backend-api/tests/transactions",
      "test": "<compile>",
      "failure_type": "compile",
      "severity": "P0",
      "repro": {
        "command": "go test veza-backend-api/tests/transactions -v",
        "env": {},
        "requires": []
      },
      "evidence": {
        "summary": "tests/transactions/playlist_duplicate_transaction_test.go:80:13: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "log_excerpt": "tests/transactions/playlist_duplicate_transaction_test.go:80:13: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "source_files": [
          {
            "path": "tests/transactions/playlist_duplicate_transaction_test.go",
            "hint_lines": [
              80
            ]
          }
        ]
      },
      "analysis": {
        "likely_root_cause": "Compilation error: cannot use fileID (variable of array type uuid.UUID) as *uuid.UUID value in struct literal",
        "confidence": "high",
        "notes": []
      },
      "next_action": {
        "category": "code_fix",
        "minimal_fix_hint": "Fix compilation error at tests/transactions/playlist_duplicate_transaction_test.go:80",
        "do_not_do": [
          "skip test",
          "delete test",
          "comment out"
        ]
      },
      "status": "fixed",
      "fixed_by_commit": "feb7283",
      "notes": [
        "Fixed compilation error: FileID pointer issue",
        "Fixed compilation error: FileID pointer issue"
      ]
    }
  ],
  "summary": {
    "total": 445,
    "by_severity": {
      "P2": 346,
      "P1": 76,
      "P0": 23
    },
    "by_type": {
      "assertion": 169,
      "compile": 3,
      "flaky": 0,
      "infra": 64,
      "panic": 6,
      "quarantine": 1,
      "race": 14,
      "skip": 176,
      "timeout": 12
    }
  }
}