Page MenuHomePhabricator

Restrict depth of stacked commits processing in Zuul
Closed, ResolvedPublic

Description

When someone pushes a stack of many (> 10) commits to Gerrit, Zuul receives an event for each one and begins work preparing for testing of each commit. Due to <reasons that @hashar can flesh out>, the amount of prep work grows exponentially with the number of commits in the stack, which results in major delays in CI pipelines. This has been an ongoing problem, but has been especially acute in recent weeks.

Proposal: Limit the number of commits in a stack that Zuul will process. Commits beyond the limit will receive a notice that they were not processed.

Event Timeline

Change #1311501 had a related patch set uploaded (by Ahmon Dancy; author: Jforrester):

[integration/zuul@patch-queue/debian/jessie-wikimedia] WMF: Cap dependency-stack depth to throttle oversized patch series

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

Change #1311933 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[integration/zuul/deploy@master] deploy: Repoint buster build at archive.debian.org

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

Change #1311933 abandoned by Ahmon Dancy:

[integration/zuul/deploy@master] deploy: Repoint buster build at archive.debian.org

Reason:

Buster support not needed

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

Change #1311501 merged by Ahmon Dancy:

[integration/zuul@patch-queue/debian/jessie-wikimedia] WMF: Cap dependency-stack depth to throttle oversized patch series

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

Change #1318768 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[integration/zuul/deploy@master] Update submodule to a45194996438782f6d9e0da49176613ea1479d8e

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

Change #1318768 merged by jenkins-bot:

[integration/zuul/deploy@master] Update submodule to a45194996438782f6d9e0da49176613ea1479d8e

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

Mentioned in SAL (#wikimedia-operations) [2026-07-29T14:48:35Z] <dancy@deploy1003> Finished deploy [zuul/deploy@22703a6]: Deploying https://gerrit.wikimedia.org/r/c/integration/zuul/+/1311501 (T432491) (duration: 00m 15s)

dancy claimed this task.

The change is deployed.