Skip to content

Notify affected users when marketplace app is auto-disabled #7360

Closed as not planned

Description

@beastoin

Context

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

  1. 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
  2. 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)

by AI for @beastoin

Activity

  1. added
    enhancement
    backend
    p2
    retrieval-action
    p3
    and removed
    p2
    on May 23, 2026
  2. beastoin commented on Jun 10, 2026

    @beastoin
    CollaboratorAuthor

    Closing as not planned per CTO directive (2026-06-10).


    by AI for @beastoin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendenhancementp3retrieval-action

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions