SwiftPackageIndex / SwiftPackageIndex-Server

The Swift Package Index is the place to find Swift packages!
https://swiftpackageindex.com
Apache License 2.0
522 stars 37 forks source link

Don't send `runnerId` label to build report monitoring #3181

Closed finestructure closed 1 week ago

finestructure commented 1 week ago

I've discovered the reason we've been getting so many build report alerts recently and why the build report panel is so slow.

We show the label {{platform}}/{{swiftVersion}} and I noticed we're having lots and lots of duplicates:

CleanShot 2024-07-03 at 08 13 35@2x

Looking at the default label explains why. We're now sending a distinct label combination for every build we're running, because the builder id is now unique for every run:

CleanShot 2024-07-03 at 08 11 35@2x

We need to stop sending the (now meaningless) runnerId as part of the label set.