!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

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

Load older messages


SenderMessageTime
29 Dec 2024
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deNo, it's actually very easy. I get the event that some GHA check completed and it even tells me on what commit it ran. What it doesn't tell me is the PR this commit belongs to. I asked someone from the merge bot team and they basically told me "listen for push events which contain both the commit hash and the PR and store that somwhere". which isn't really possible since ofborg has no DB20:29:25
@emilazy:matrix.orgemily🄓20:29:43
@emilazy:matrix.orgemilylovely20:29:45
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deYeah, huge fun20:29:52
@emilazy:matrix.orgemilyperhaps it could be inverted, though? the GHA could notify ofborg.20:29:58
@emilazy:matrix.orgemilyno passive scanning20:30:08
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deSounds like an interesting idea, yeah20:30:26
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deBut I'll be honest I will try to get it working as much as possible in the current state and then revisit it in a couple of months since I'm extremely sick of it by now20:30:54
@emilazy:matrix.orgemilynot that I mind the idea of ofborg driving things either. especially if the other CI stuff can be folded into it20:31:13
@emilazy:matrix.orgemilyunderstandable20:31:22
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de

Dec 29 20:31:01 ofborg-eval01 mass-rebuilder[274604]: 2024-12-29T20:31:01.016214Z INFO ofborg::tasks::evaluate: Scheduling build jobs [BuildJob { repo: Repo { owner: "ofborg", name: "testpkgs", full_name: "ofborg/testpkgs", clone_url: "https://github.com/ofborg/testpkgs.git" }, pr: Pr { target_branch: Some("master"), number: 1, head_sha: "87b7f8211480a9b959307810c54022acd5ecb559" }, subset: Some(Nixpkgs), attrs: ["coreutils", "coreutils.passthru.tests", "hello", "hello.passthru.tests"], request_id: "2a070123-d747-4f77-978e-0662a2f06eaf", logs: Some((Some("logs"), Some("ofborg/testpkgs.1"))), statusreport: Some((Some("build-results"), None)) }] on arches [X8664Darwin, X8664Linux, Aarch64Darwin, Aarch64Linux]

20:32:11
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deYES, it evaled20:32:15
@emilazy:matrix.orgemilyI always heard that there's no real way to test ofborg changes other than running it in prod, is that still true?20:32:40
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deYep, one of the pain points :D20:32:50
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de It's alwys nvim && cargo c && nix flake lock && colmena apply 20:33:03
@emilazy:matrix.orgemilyI guess it shares that with GHA to some degree tbf :)20:33:03
@emilazy:matrix.orgemilyyuck20:33:10
@emilazy:matrix.orgemilyI admire your persistence20:33:15
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deYes unfortunately20:33:17
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI regret it :D20:33:23
@emilazy:matrix.orgemilyGHA at least has the docs / tooling / approachability advantage, I suppose, in terms of future directions for what we want to drive CI20:34:05
@emilazy:matrix.orgemilytoo bad about the lock-in20:34:10
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deYeah, that's my exact opinion. But if we are being honest, how likely are we to ever break out of that lock-in?20:35:25
@emilazy:matrix.orgemilywell, 0 likely if we use that reasoning at all key turning points :)20:37:34
@emilazy:matrix.orgemilythe GitHub UX causes me pain every single day I do Nixpkgs stuff, so I would personally be very happy if we got Gerrit or something. but yeah, I don't know if it's a lost cause or not.20:37:59
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deIt is imo20:38:29
@7c6f434c:nitro.chat7c6f434c >0% of just eventually getting forced out for one reason or another… 20:38:41
@emilazy:matrix.orgemilyeh, it's not hard for me to imagine a world where we have {gitlab,forgejo}.nixos.org with GH login. I think at least one or two people on the steering committee indicated they were interested in pushing in that direction20:40:06
@7c6f434c:nitro.chat7c6f434c(like, some CI limit gets restructured)20:39:11
@emilazy:matrix.orgemilyunfortunately it's precisely non-GH-cloning code review UI that I'd like. but even GitLab/Forgejo would require some CI re-engineering.20:40:26

Show newer messages


Back to Room ListRoom Version: 6