NixOS / NixOS/hydra

Narrow better the inputs diff on build failed

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

frontend improvement
Dominant language
PLpgSQL
Stars
1.6k
Forks
358
Avg merge
20h 30m
Merged PRs (30d)
27

Description

For example, in http://hydra.nixos.org/build/5089682, something affected gcc 4.7 and made it fail.

Nevertheless, instead of showing the diff between 1) the last version of nixpkgs where gcc 4.7 built fine and the failing build, it shows 2) the last nixpkgs change that caused a succesful gcc rebuild and the failing nixpkgs. The 2) is over 250 changes, while 1) would be a very specific diff.

I thought I had file this issue before, but I can't find it now.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failed build at http://hydra.nixos.org/build/5089682 and inspect how Hydra selects the comparison builds for its inputs diff. Compare the current result with the last nixpkgs version where gcc 4.7 built successfully; done means the displayed diff is narrowed to that relevant range rather than more than 250 changes.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.