NixOS / NixOS/hydra

Handle combinatorial inputs better

Open
#485 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I commonly set up jobsets with the same inputs, tracking different branches. For example a project might depend on nixpkgs and the project's source repository. I'm interested in building for both the master and release-xx.yy branches of nixpkgs, and I probably have at least two branches of the project source. I might have more inputs that I also want to track.

This creates a combinatorial explosion of jobsets for a single project, with names like nixpkgs-master_proj-master, nixpkgs-master_proj-release, nixpkgs-release_proj-release etc.

With declarative Hydra projects, it is pretty convenient to generate these kinds of jobsets, but the UI experience is not nice. It would be lovely to have some kind of matrix view for the jobsets, maybe with support for dynamically selecting which combination of "input branches" you want to display.

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

No files, tests, or entry points are named. Start by reviewing Hydra's jobset UI and declarative project handling to define how input branches and combinations should be represented; done would require an agreed matrix view with dynamically selectable combinations.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.