jenkinsci/jenkins

Add an `AbortController` to `FormChecker.delayedCheck`

Open

#26.594 geöffnet am 7. Apr. 2026

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (9.474 Forks)batch import
good first issue

Repository-Metriken

Stars
 (25.266 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 10T 9h) (93 gemergte PRs in 30 T)

Beschreibung

What feature do you want to see added?

When doing lots of checkers they are serialised in a queue one by one. If you take an action that invalidates the existing ones you have no way of aborting them.

https://github.com/jenkinsci/jenkins/blob/960dc7d5ace67157d5c7a562601136890760f6e0/war/src/main/webapp/scripts/hudson-behavior.js#L226

e.g. in role strategy I've added a filter. I've added 101 users, if I go to the second page (client side change only), I can't abort the first 100 and have to wait for all 100 requests.

I've worked around by making by own delayed checker: https://github.com/timja/role-strategy-plugin/blob/4323c623be6d7d0eec4ce7528c1da3f8d4adf6e3/src/main/webapp/js/tableManage.js#L462-L510

Upstream changes

No response

Are you interested in contributing this feature?

No response

Contributor Guide