Page MenuHomePhabricator

Catalyst: Clean up failed CI environments from Abstract Wikipedia tests
Closed, ResolvedPublic1 Estimated Story Points

Description

Multiple failing CI jobs that use catalyst can cause an overload of pods which stop new deployments from being scheduled. This affects patchdemo users and blocks them from creating bespoke demos.

AC

  • Check in with Abstract Wikipedia folks to see if they need these environments
  • If not, ensure they are automatically reaped just like successful test runs

Event Timeline

From meeting today: maybe use k8s namespaces for this instead to set limits.

A few options. Some of these could be combined:

  • CI pipelines deploy 1 pod instead of 5
  • Keep only the las N envs created by the func-orch CI pipelines
  • Reduce expiry date for CI envs
  • Do AW actually use these envs for debugging? Maybe we can unconditionally remove them at the end of the pipeline
  • Namespaces: We wouldn't run into the same issues that we had last time for Patchdemo envs
  • New dedicated node

I think we want to have two goals here:

  1. Reduce overall amount of resources used by CI in a given time window
  2. Provide an absolute upper limit for resource usage to prevent CI from affecting other workloads

After chatting with some folks from Abstract Wikipedia, they're not usually using these environments for troubleshooting. And, given the strain on our infra, we're going to unconditionally remove the environments at the end of each test run.

In future, we may be able to provide a way to spin up the same environment, for now, this task is about removing environments at the end of a run.

thcipriani set the point value for this task to 1.
thcipriani edited projects, added: Catalyst (tenpo o wawa); removed: Catalyst (ma moku).
thcipriani moved this task from Backlog to Ready on the Catalyst (tenpo o wawa) board.

Change #1184944 had a related patch set uploaded (by Jeena Huneidi; author: Jeena Huneidi):

[integration/config@master] Always clean up catalyst environments

https://gerrit.wikimedia.org/r/1184944

jeena changed the task status from Open to In Progress.Sep 4 2025, 10:25 PM
jeena moved this task from Ready to In progress on the Catalyst (tenpo o wawa) board.

Change #1184944 merged by jenkins-bot:

[integration/config@master] jjb: [wikilambda-catalyst*] Always clean up catalyst environments

https://gerrit.wikimedia.org/r/1184944

thcipriani renamed this task from Catalyst: Put CI workloads on a separate node to Catalyst: Clean up failed CI environments from Abstract Wikipedia tests.Sep 9 2025, 5:33 PM
thcipriani closed this task as Resolved.
thcipriani updated the task description. (Show Details)