Opus finding
EventStream React key collision when same finding appears as both 'agreed' and 'closed'
lowbugmedium
- apps/web/app/activity/ActivityView.tsx:326-332
- apps/web/app/activity/ActivityView.tsx:343-351
Key includes event.kind so agreed vs closed of the same findingId differ. However, if the backend ever emits two `finding_agreed` rows with the same findingId and ts (e.g., two reviewers both produce identical timestamps, or de-dupe failure), React will warn about duplicate keys. Low-severity / defensive; not a hard bug given current schema assumptions.
Recommendation
Consider including a stable monotonic id from the DB row in FleetActivityEventJson so keys are guaranteed unique without depending on ts uniqueness.