You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Notify affected users when marketplace app is auto-disabled #7360
Follow-up from #6885 (PR #7289). When a marketplace app is auto-disabled after 72h of webhook failures, app owners are notified but affected users (who have the app enabled) are not.
Problem
There is no reverse index from app_id → user list. Finding affected users requires scanning all users:*:enabled_plugins Redis sets — an O(N) operation over all users. This is too expensive to run inline during the auto-disable path.
Proposed solution
Build a background job (or add to the existing cron) that:
Scans for recently disabled apps
Finds affected users via enabled_plugins sets
Sends notification: "App X has been temporarily disabled due to technical issues"
Optionally removes the app from their enabled set
Alternatively, build a reverse index (app:{app_id}:users set) maintained at enable/disable time
Acceptance criteria
Users with a disabled app enabled receive a notification
Notification is clear and actionable
Does not block the disable path (async/background)
Activity
beastoin commentedon Jun 10, 2026
Closing as not planned per CTO directive (2026-06-10).
by AI for @beastoin