Page MenuHomePhabricator

Make PatchDemo Bot work for Catalyst back-end environments
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

While working on batch delete and ensuring that the code changes I have done did not break any functionality, I found that the PatchDemo bot that announces wiki creation and deletion is not (and perhaps has not for a while) been working on Catalyst-based environments. Need to fix this.

Expected behavior:

  • The PatchDemo bot updates the corresponding ticket whenever a Wiki is being created or deleted

Actual behavior:

  • When the backend is Catalyst, It doesn't

Additionally, to make this work with Batch Deletes, we should extend the API responses to add the details of the operation to the body of the response, so the Bot can parse it and do its job.

Event Timeline

@jeena may be able to check phab logs on phab1004 if that's useful here.

thcipriani triaged this task as Medium priority.
thcipriani set the point value for this task to 2.
thcipriani moved this task from Backlog to Ready on the Catalyst (akesi npa) board.
AMarkossyan-WMF changed the subtype of this task from "Task" to "Bug Report".Aug 11 2025, 4:19 PM

So we should be logging Catalyst creations, but we're still tinkering with deletions, figuring out what the Catalyst API is giving us back after deletion/failure to delete.

The bot now announces creation and deletion of both legacy and catalyst backend environments created. My most recent tests were done on staging with the merged API changes and the creation and deletion logs can be seen on the test task.