Question about pw-ci behavior
Aaron Conole
aconole at redhat.com
Tue Dec 9 15:47:08 CET 2025
Ali Alnubani <alialnu at nvidia.com> writes:
> Hello Aaron,
>
> I wanted to share some more statistics,
>
> I see that requests with the pw-ci user agent are making 3,200–4,200
> requests per hour (approximately 50–70 requests per minute).
> This volume appears excessive and places strain on the Patchwork server.
>
> Would you be able to check if polling frequency can be adjusted?
I'm adding a few things. NOTE that pw-ci marks the series as done when
the states are 'finished' in the status details. But for example the
listed series is still in a 'valid' state for polling.
I'm going to set it to mark for superceding the patches that are expired
by 30 days. That should reduce the polling here. Just had to deal with
a different issue on redirects with a different patchwork server (so I
added some new code).
> On 12/8/25 4:36 PM, Ali Alnubani wrote:
>> Hello Aaron, I hope you're well,
>>
>> I noticed that pw-ci (patches.dpdk.org) is making repeated Patchwork
>> API requests to very old and inactive series IDs. Example:
>>
>> """
>> 66.187.232.140 - - [08/Dec/2025:00:16:48 +0100] "GET /api/series/25093/ HTTP/1.1" 200 1351 "-" "(pw-ci) pw-mon-"
>> 66.187.232.140 - - [08/Dec/2025:00:36:07 +0100] "GET /api/series/25093/ HTTP/1.1" 200 1351 "-" "(pw-ci) pw-mon-"
>> [..]
>> 66.187.232.140 - - [08/Dec/2025:14:16:48 +0100] "GET /api/series/25093/ HTTP/1.1" 200 1351 "-" "(pw-ci) pw-mon-"
>> 66.187.232.140 - - [08/Dec/2025:14:37:25 +0100] "GET /api/series/25093/ HTTP/1.1" 200 1351 "-" "(pw-ci) pw-mon-"
>> 66.187.232.140 - - [08/Dec/2025:15:01:48 +0100] "GET /api/series/25093/ HTTP/1.1" 200 1351 "-" "(pw-ci) pw-mon-"
>> 66.187.232.140 - - [08/Dec/2025:15:17:13 +0100] "GET /api/series/25093/ HTTP/1.1" 200 1351 "-" "(pw-ci) pw-mon-"
>> """
>>
>> Is this expected/necessary?
Yes, because these series have weird state - they are missing patches,
so patchwork is holding them in a waiting state. I'll add the
auto-clear code and hopefully that will reduce the amount of outstanding
patches we poll.
>> Thanks,
>> Ali
More information about the ci
mailing list