TEMP vendor lint eval: comprehensive Swift fixture
Closed
LA
7mo ago+80+80+01234567890123456789-0-0-0123456789
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.swiftwith deliberate patterns to trigger vendor checks:- Actor isolation violations (
@MainActortypes withnonisolatedmethod, mutableSendable) - File-scoped
Loggerwithout isolation - Secret logging via
print/NSLog - Blocking/timing primitives (
DispatchQueue,Thread.sleep,Task.sleep) - Legacy
Combinecallbacks mixed with concurrency; missing@concurrent - SwiftUI issues:
@StateObjectstore passed into a lazy row, render-time state mutation
- Actor isolation violations (
- Added
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