bsiegert / BulkTracker

Track bulk build status in pkgsrc
Other
8 stars 1 forks source link

/json/pkgsbreakingmostothers/N sometimes returns null #67

Closed riastradh closed 3 months ago

riastradh commented 3 months ago
$ curl -D - https://releng.netbsd.org/bulktracker/json/pkgsbreakingmostothers/901          
HTTP/1.1 200 OK
Date: Sat, 22 Jun 2024 13:25:42 GMT
Server: Apache/2.4.59 (Unix)
Content-Type: application/json
Content-Length: 5

null

Expected output: a (non-null) json object with a sorted array of package breakage relations.

Works for 900 and 902, but not 901.

bsiegert commented 3 months ago

This happens when there is a problem reading the full report at the URL indicated. It is theoretically possible to trigger a refresh but the code path is actually commented out at the moment.

riastradh commented 3 months ago

I see:

sqlite> select count(*) from results r where r.build_id = 901;
0
bsiegert commented 3 months ago

I am going to close this as a duplicate of #5, since it is about the same thing.

bsiegert commented 3 months ago

Duplicate of #5