Page MenuHomePhabricator

Use the BatchDelete API for multi-delete functionality for wikis running on Catalyst
Closed, ResolvedPublic2 Estimated Story Points

Description

Update the multi-delete feature to use the batch delete functionality added in T395822: Catalyst work for multi-environment-deletion

The current way multi-delete functionality works is looping through the list of the demo wikis and sending individual DELETE API requests for each demo wiki.

In order to improve the efficiency of this functionality, we would like to combine multiple delete requests into a single Batch Delete request.

Please note that the BatchDelete API request is only available to wikis using Catalyst as their backend. The demo wikis running on the legacy virtual hosts do not support it.

AC

  • If multiple demo wikis running on Catalyst are being deleted using multi-delete functionality, we should only send one Batch Delete API request
  • If multiple demo wikis are being deleted using the multi delete functionality and some of them are running on the legacy virtual hosts, they should still be removed one by one

Event Timeline

thcipriani set the point value for this task to 2.Jul 21 2025, 4:14 PM
thcipriani edited projects, added: Catalyst (akesi npa); removed: Catalyst (Kulupu Olin).
thcipriani moved this task from Backlog to Ready on the Catalyst (akesi npa) board.
AMarkossyan-WMF renamed this task from Update wiki multi-delete process to Use the BatchDelete API for multi-delete functionality for wikis running on Catalyst.Jul 28 2025, 4:09 PM
AMarkossyan-WMF updated the task description. (Show Details)
AMarkossyan-WMF updated the task description. (Show Details)
thcipriani changed the task status from Open to In Progress.Jul 29 2025, 5:21 PM
thcipriani moved this task from Ready to In progress on the Catalyst (akesi npa) board.
thcipriani changed the task status from In Progress to Stalled.Jul 31 2025, 4:31 PM
thcipriani subscribed.

Blocked on T400920: Make PatchDemo Bot work for Catalyst back-end environments since this change required some refactoring that will also affect that bot.

EBomani changed the task status from Stalled to In Progress.Aug 20 2025, 9:15 PM