Open SomeoneSerge opened 7 months ago
Maybe we should just disable this step if we go over some threshold of packages?
We currently don't have a notification mechanism if an attribute is built.
I thought nom
displays the built and failed packages. Maybe json-internal
includes some build result message?
Maybe we should just disable this step if we go over some threshold of packages?
The thing is, logs are the main reason I run nixpkgs-review 😅
Might be a solution. I haven't yet digged into how json-internal works. I know however that it's not reliable in nom when having remote builders. Some builds are reported pending also they already have finished.
AFAIU, currently the build logs are retrieved during the
Report
generation, after all of the builds have been finished: https://github.com/Mic92/nixpkgs-review/blob/a45de7c827e41846a165bad226fdff15461d381f/nixpkgs_review/report.py#L133In case of mass-rebuilds where a
nixpkgs-review
run might take a couple of days the build logs can get garbage-collected by that time, and nixpkgs-review would spit out empty files: