!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

169 Members
Number of builds and evals in queue: <TBD>62 Servers

Load older messages


SenderMessageTime
27 May 2024
@lily:lily.flowersLily Foster* if y'all decide on something, i can make a quick PR to ofborg to update labelling13:25:04
@hexa:lossy.networkhexa
In reply to @vcunat:matrix.org
Maybe we could do an average over the pair of platforms?
the average between two platforms might very well be misleading, e.g. 0 and 1000 -> 500, 0 and 3000 -> 1500
13:29:18
@hexa:lossy.networkhexaand you'd always have to dig into the list to get the accurate picture, and the list does not necessarily load/render very fast 🙂 13:30:00
@vcunat:matrix.orgVladimír ČunátIntuitively I'd want just a single number that estimates the amount of work for Hydra (say, even hours needed if doing nothing else).13:30:42
@vcunat:matrix.orgVladimír ČunátBut perhaps there are more use cases for this.13:31:10
@hexa:lossy.networkhexaso what would be a good number you could derive from two linux platforms for example?13:32:36
@hexa:lossy.networkhexaI think the sum would be much less misleading fwiw13:33:20
@hexa:lossy.networkhexaand would require less interpretation13:33:29
@vcunat:matrix.orgVladimír ČunátSum might be best.13:34:22
@vcunat:matrix.orgVladimír ČunátBut just the label name won't provide much understanding of the meaning anyway. 13:34:46
@vcunat:matrix.orgVladimír ČunátLike, the fact that two platforms are involved in the "rebuild-linux" label. 13:35:15
@vcunat:matrix.orgVladimír Čunát * Like, the fact that two platforms would become involved in the "rebuild-linux" label. 13:35:22
@vcunat:matrix.orgVladimír ČunátAnd switching to sum is problematic in the aspect that typically it will double the value.13:36:12
@vcunat:matrix.orgVladimír ČunátSo we'd be changing that now.13:36:26
@vcunat:matrix.orgVladimír Čunát * Sum might be best, though I'm not sure really.13:36:51
@hexa:lossy.networkhexa ok, so rebuild-${system} then 14:00:12
@hexa:lossy.networkhexawould probably be the safest migration path, since people are familiar with the rebuild count labels14:00:47
@hexa:lossy.networkhexaexcept for maybe that rebuild-linux currently causes up to twice the rebuilds14:01:15
@hexa:lossy.networkhexawhich is why the proposal would make things a bit clearer14:01:37
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
ok, so rebuild-${system} then
i'll make PR then today. do you wanna make labels?
14:36:05
@hexa:lossy.networkhexa
gh label create --color "#eeffee" "10.rebuild-aarch64-darwin: 0"
gh label create --color "#eeffee" "10.rebuild-aarch64-darwin: 1"
gh label create --color "#eeffee" "10.rebuild-aarch64-darwin: 1-10"
gh label create --color "#fbca04" "10.rebuild-aarch64-darwin: 11-100"
gh label create --color "#fbca04" "10.rebuild-aarch64-darwin: 101-500"
gh label create --color "#d93f0b" "10.rebuild-aarch64-darwin: 501-1000"
gh label create --color "#b60205" "10.rebuild-aarch64-darwin: 1001-2500"
gh label create --color "#b60205" "10.rebuild-aarch64-darwin: 2501-5000"
gh label create --color "#b60205" "10.rebuild-aarch64-darwin-stdenv"
gh label create --color "#eeffee" "10.rebuild-aarch64-linux: 0"
gh label create --color "#eeffee" "10.rebuild-aarch64-linux: 1"
gh label create --color "#eeffee" "10.rebuild-aarch64-linux: 1-10"
gh label create --color "#fbca04" "10.rebuild-aarch64-linux: 11-100"
gh label create --color "#fbca04" "10.rebuild-aarch64-linux: 101-500"
gh label create --color "#d93f0b" "10.rebuild-aarch64-linux: 501-1000"
gh label create --color "#b60205" "10.rebuild-aarch64-linux: 1001-2500"
gh label create --color "#b60205" "10.rebuild-aarch64-linux: 2501-5000"
gh label create --color "#b60205" "10.rebuild-aarch64-linux-stdenv"
gh label edit --name "10.rebuild-x86_64-linux: 0" "10.rebuild-linux: 0"
gh label edit --name "10.rebuild-x86_64-linux: 1" "10.rebuild-linux: 1"
gh label edit --name "10.rebuild-x86_64-linux: 1-10" "10.rebuild-linux: 1-10"
gh label edit --name "10.rebuild-x86_64-linux: 11-100" "10.rebuild-linux: 11-100"
gh label edit --name "10.rebuild-x86_64-linux: 101-500" "10.rebuild-linux: 101-500"
gh label edit --name "10.rebuild-x86_64-linux: 501-1000" "10.rebuild-linux: 501-1000"
gh label edit --name "10.rebuild-x86_64-linux: 1001-2500" "10.rebuild-linux: 1001-2500"
gh label edit --name "10.rebuild-x86_64-linux: 2501-5000" "10.rebuild-linux: 2501-5000"
gh label edit --name "10.rebuild-x86_64-linux-stdenv" "10.rebuild-linux-stdenv"
gh label edit --name "10.rebuild-x86_64-darwin: 0" "10.rebuild-darwin: 0"
gh label edit --name "10.rebuild-x86_64-darwin: 1" "10.rebuild-darwin: 1"
gh label edit --name "10.rebuild-x86_64-darwin: 1-10" "10.rebuild-darwin: 1-10"
gh label edit --name "10.rebuild-x86_64-darwin: 11-100" "10.rebuild-darwin: 11-100"
gh label edit --name "10.rebuild-x86_64-darwin: 101-500" "10.rebuild-darwin: 101-500"
gh label edit --name "10.rebuild-x86_64-darwin: 501-1000" "10.rebuild-darwin: 501-1000"
gh label edit --name "10.rebuild-x86_64-darwin: 1001-2500" "10.rebuild-darwin: 1001-2500"
gh label edit --name "10.rebuild-x86_64-darwin: 2501-5000" "10.rebuild-darwin: 2501-5000"
gh label edit --name "10.rebuild-x86_64-darwin-stdenv" "10.rebuild-darwin-stdenv"
14:36:15
@lily:lily.flowersLily Fosteroh have you already done them?14:36:36
@hexa:lossy.networkhexanot yet14:36:39
@lily:lily.flowersLily Fosteror do you want me to run that when it's deployed?14:36:42
@hexa:lossy.networkhexaideally someone proofchecks them14:36:47
@hexa:lossy.networkhexaI don't care about running them myself 😄 14:36:52
@lily:lily.flowersLily Fosterokie14:36:59
@hexa:lossy.networkhexa * I don't care about creating them myself 😄 14:37:00
@hexa:lossy.networkhexa * ideally someone proofreads them14:37:07
@hexa:lossy.networkhexa
white = "#eeffee"
yellow = "#fbca04"
orange = "#d93f0b"
red = "#b60205"

ranges = {
    ": 0": white,
    ": 1": white,
    ": 1-10": white,
    ": 11-100": yellow,
    ": 101-500": yellow,
    ": 501-1000": orange,
    ": 1001-2500": red,
    ": 2501-5000": red,
    "-stdenv": red,    
}

systems = [
    "aarch64-darwin",
    "aarch64-linux",
]

legacy_systems = {
    "linux": "x86_64-linux",
    "darwin": "x86_64-darwin",
}

for system in systems:
    for range, color in ranges.items():
        print(f'gh label create --color "{color}" "10.rebuild-{system}{range}"')


for legacy_name, name in legacy_systems.items():
    for range in ranges.keys():
        print(f'gh label edit --name "10.rebuild-{name}{range}" "10.rebuild-{legacy_name}{range}"')
14:37:27

Show newer messages


Back to Room ListRoom Version: 6