Codex R15 on the Ring bridge flagged two issues: - [P1] Concurrent first-sight messages (retained info + motion on bridge startup) could create duplicate devices — no uniqueness on ring_id. Added a partial unique index on (config->>'ring_id'); resolveDevice now creates and, on the unique violation, re-fetches the winner (race-safe). - [P2] The install-gate cache was never invalidated, so ingest was dropped for up to 15s after install and devices kept being created for up to 15s after uninstall. AddonService now forgets the shared cache key on install/uninstall. +3 tests (unique-index guard, repeated-messages-reuse-device, cache invalidation). Suite 43 green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Console/Commands | ||
| Events | ||
| Http/Controllers | ||
| Jobs | ||
| Listeners | ||
| Livewire | ||
| Models | ||
| Providers | ||
| Services | ||
| Support | ||