bisect: make abort into a non-error 975ef64c parent 9b02f868

An aborted bisect is currently treated like an error. This means that once an abort is triggered, any follow-up code from the bisection CLI doesn't get run. Change the bisector to treat an aborted command as any other evaluation and have it return an aborted result when it encounters it. This could be important for many future developments (putting bisect status in the op-log, interactive bisects, querying the state of a currently running bisect), but right now, it's mostly important for printing the reminder text about the right place to restore to in the op-log :)

authored by Daniel Morsing

1
{
2
"nodes": {
3
"flake-utils": {
4
"inputs": {
5
"systems": "systems"
6
},
7
"locked": {
8
"lastModified": 1731533236,
9
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
10
"owner": "numtide",
11
"repo": "flake-utils",
12
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
13
"type": "github"
14
},
15
"original": {
16
"owner": "numtide",
17
"repo": "flake-utils",
18
"type": "github"
19
}
20
},
21
"nixpkgs": {
22
"locked": {
23
"lastModified": 1769433173,
24
"narHash": "sha256-Gf1dFYgD344WZ3q0LPlRoWaNdNQq8kSBDLEWulRQSEs=",
25
"owner": "NixOS",
26
"repo": "nixpkgs",
27
"rev": "13b0f9e6ac78abbbb736c635d87845c4f4bee51b",
28
"type": "github"
29
},
30
"original": {
31
"owner": "NixOS",
32
"ref": "nixpkgs-unstable",
33
"repo": "nixpkgs",
34
"type": "github"
35
}
36
},
37
"root": {
38
"inputs": {
39
"flake-utils": "flake-utils",
40
"nixpkgs": "nixpkgs",
41
"rust-overlay": "rust-overlay"
42
}
43
},
44
"rust-overlay": {
45
"inputs": {
46
"nixpkgs": [
47
"nixpkgs"
48
]
49
},
50
"locked": {
51
"lastModified": 1769482338,
52
"narHash": "sha256-SVwjMqR981PEdEdRvYj5Mefnd61GLinWmIr7GMu7LW8=",
53
"owner": "oxalica",
54
"repo": "rust-overlay",
55
"rev": "dc9c76a75a6d382613cdcb1a3f95640e9cedcdea",
56
"type": "github"
57
},
58
"original": {
59
"owner": "oxalica",
60
"repo": "rust-overlay",
61
"type": "github"
62
}
63
},
64
"systems": {
65
"locked": {
66
"lastModified": 1681028828,
67
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
68
"owner": "nix-systems",
69
"repo": "default",
70
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
71
"type": "github"
72
},
73
"original": {
74
"owner": "nix-systems",
75
"repo": "default",
76
"type": "github"
77
}
78
}
79
},
80
"root": "root",
81
"version": 7
82
}
83