omi icon indicating copy to clipboard operation
omi copied to clipboard

Backend: /v1/crisp/unread has no callers after the desktop Crisp removal

Open kodjima33 opened this issue 3 months ago • 1 comments

PR #11424 removed the desktop Crisp support chat, which was the only caller of GET /v1/crisp/unread (backend/routers/desktop_screen_crisp.py, mounted at backend/main.py:220). The Flutter app has no Crisp code — grep -rni crisp app/lib --include='*.dart' returns nothing.

So the router, its CRISP_PLUGIN_IDENTIFIER/CRISP_PLUGIN_KEY env wiring, and backend/tests/unit/test_desktop_screen_crisp.py are now dead. Left in place in #11424 rather than widening a desktop UI change into a backend deploy.

Worth confirming nothing external polls it (older shipped desktop builds still will, until they update — so this probably wants to outlive at least one release window before removal).

kodjima33 avatar Aug 11 '26 20:08 kodjima33

@kodjima33 I re-verified #11429. The /v1/crisp/unread endpoint is still dead, but the router itself isn’t — it also hosts the live /v1/screen-activity/sync endpoint, so I’ll need to make this a surgical removal rather than deleting the router.

I also found a few cleanup items not mentioned in the issue: the route-policy manifest entry, the macOS test reference, and 3 unused CRISP_* env vars.

The only thing I wanted to confirm before I start: are you comfortable removing the endpoint now, given the Crisp client was removed in macOS 0.12.162 and releases are now at 0.12.189? Or would you prefer we wait a bit longer for older clients?

RatnamOjha avatar Aug 20 '26 12:08 RatnamOjha