TEMP vendor lint eval: comprehensive Swift fixture

Closed
LA
7mo ago
+80-0

Temporary eval PR. Do not merge.

This intentionally adds one bad Swift fixture after https://github.com/manaflow-ai/cmux/pull/3493 merged, so Greptile and CodeRabbit use the base-branch vendor rules.

Expected findings: actor isolation, mutable Sendable, file-scoped Logger isolation, logging secrets via print/NSLog, blocking/timing primitives, legacy Combine/concurrency, missing @concurrent, SwiftUI lazy-row store reference, render-time state mutation, and architectural symptom patching.

@coderabbitai review
@greptile-apps review


Summary by cubic

Adds a comprehensive Swift “bad fixture” to exercise vendor lint rules on the base branch. This file is for evaluation only and contains intentional issues.

  • New Features
    • Added Sources/ReviewBotVendorEvalAll.swift with deliberate patterns to trigger vendor checks:
      • Actor isolation violations (@MainActor types with nonisolated method, mutable Sendable)
      • File-scoped Logger without isolation
      • Secret logging via print/NSLog
      • Blocking/timing primitives (DispatchQueue, Thread.sleep, Task.sleep)
      • Legacy Combine callbacks mixed with concurrency; missing @concurrent
      • SwiftUI issues: @StateObject store passed into a lazy row, render-time state mutation

Summary by CodeRabbit

  • New Features
    • Introduced a new vendor evaluation panel with dynamic real-time display updates
    • Added interactive components to enhance the vendor evaluation experience
    • Panel automatically refreshes to show current information to users
    • Improved vendor evaluation workflow with enhanced visual presentation