NixOS / hydra

Hydra, the Nix-based continuous build system
http://nixos.org/hydra
GNU General Public License v3.0
1.1k stars 291 forks source link

ca-derivations: fix rendering issue #1374

Closed Mindavi closed 2 months ago

Mindavi commented 3 months ago

See commit messages for some more background and analysis.

I set up my hydra server with the recent content-addressed derivations support, and ran into some /build/\<id> pages that didn't want to render correctly (not only ca-derivations, other pages also suffered from this). I think I found the issue and have worked around/resolved it.

Also adds a test that verifies that the page doesn't load properly before the patch is applied. In the next commit this bug is resolved.

[  FAIL  ]  job  1  + The 'build' page for build 'caDependingOnFailingCA' should load properly