Automated bisect tooling that works with the Lix daemon #909

Open
opened 2025-07-08 20:03:57 +00:00 by jade · 3 comments
Owner

Concept:

git bisect run -- ./scripts/autobisect.py --sudo-daemon --setup 'nix store delete ...' --check 'nix build /nix/store/....drv'

This will spawn an ephemeral daemon to try each commit, with a custom socket path so it doesn't interfere with the global daemon, and then kill it after each try. It will nix develop -c 'just setup clean install' on each commit and then run the nix commands with that nix.

This isn't hard, it's just an hour of writing a python script.

Concept: `git bisect run -- ./scripts/autobisect.py --sudo-daemon --setup 'nix store delete ...' --check 'nix build /nix/store/....drv'` This will spawn an ephemeral daemon to try each commit, with a custom socket path so it doesn't interfere with the global daemon, and then kill it after each try. It will `nix develop -c 'just setup clean install'` on each commit and then run the nix commands with that nix. This isn't hard, it's just an hour of writing a python script.
Owner

Fine.

Fine.
Owner

I have initial progress being tracked here https://gerrit.lix.systems/c/lix/+/3691

I have initial progress being tracked here https://gerrit.lix.systems/c/lix/+/3691
lunaphied stopped working 2025-07-19 06:04:58 +00:00
2 hours 4 minutes
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/3691 ("scripts: add a helper script to setup temporary daemon environments during bisecting")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/3691", "number": 3691, "kind": "commit message"}], "cl_meta": {"3691": {"change_title": "scripts: add a helper script to setup temporary daemon environments during bisecting"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/3691](https://gerrit.lix.systems/c/lix/+/3691) ("scripts: add a helper script to setup temporary daemon environments during bisecting")
lunaphied stopped working 2025-07-19 20:29:44 +00:00
50 minutes 49 seconds
lunaphied stopped working 2025-07-19 21:49:57 +00:00
48 minutes 53 seconds
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Total time spent: 3 hours 43 minutes
lunaphied
3 hours 43 minutes
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#909
No description provided.