Thursday, 2026-06-04

sean-k-mooneybauzas: i know your likely bussy with the spec review day, how would you feel about moving forward with some of my strawman propsoal https://review.opendev.org/q/topic:%22strawman%2214:35
bauzasI started to look at them a few weeks before but we can review them next week if you want14:36
sean-k-mooneyack i have not updated them i na while so i think im oging to do an update of them in a day or to and drop out a few things liek the nix patch14:36
sean-k-mooneyi have been usign thse locally since i pushed them and the commit message sik in partically has been very nice ot have14:37
sean-k-mooneyi built a littel poc with the full set https://github.com/SeanMooney/oslo.bubblewrap14:38
sean-k-mooneyto try them out and it turnd out ok14:38
sean-k-mooneybut im also aware that there is a patch form glance and neutorn for addign project knowldage14:39
sean-k-mooneyso ya let find some time next week14:39
fungizuul can trigger enqueuing into a pipeline based on gerrit label values, this is for example how it automatically enqueues a change into the gate poipeline as soon as check pipeline jobs succeed: https://opendev.org/openstack/project-config/src/commit/ac9ab14/zuul.d/pipelines.yaml#L88-L9117:54
fungiit could just as easily have the event condition be `Verified: -1`17:54
sean-k-mooneyoh i like that17:55
sean-k-mooneyyour totally right17:55
fungi(sorry for necroing a discussion from yesterday, just happened to spot it in scrollback)17:56
sean-k-mooneyso i could trivaly defien a check-fail pipelien in my third party ci or the first party one17:56
sean-k-mooneyfungi: dont be i was aware of that fucntionltiy but never tought ot actully trigger on -1 for verifed17:56
fungiyeah, basically the zuul service could react to its own account's verified -1 vote, or that of another zuul17:57
sean-k-mooneyyep that a pretty clean way to do that too although17:57
sean-k-mooneyim not sure if we can get the reelvent build set info form that17:57
sean-k-mooneymaybe we can17:57
fungiin our upstream gate pipeline triggers we have our zuul listen for its own +1 vote, essentially, so as not to react to third-party ci systems, but you could flip that around17:57
sean-k-mooneyi would have to see what in the gerrit info passs to zuul17:57
fungii think we have some samples for test fixtures... just a sec17:58
sean-k-mooneyassuming it gets the full -1 comment info 17:59
sean-k-mooneythat woudl containe the links to the build results17:59
sean-k-mooneywhich another job could then use to grab the relevent logs17:59
fungihttps://opendev.org/zuul/zuul/src/branch/master/tests/fakegerrit.py has some sample events18:00
sean-k-mooneythe comemnt it lest is somethig liek this https://paste.opendev.org/show/b3LL4izVMIiyqFl67mPW/18:00
sean-k-mooneythe simplet thing to do would be just add the noop job18:01
sean-k-mooneyand look at the logs that are collected18:01
sean-k-mooneyit will have teh inventory and standard zuul artifacts18:01
fungiyeah, looks like the comment has a message string18:02
sean-k-mooneyyep which is what the regex on teh comment triger matches on18:03
fungiand, well, we do also use that in the pipeline config i mentioned earlier, for rechecks in the check pipeline definition if you're looking for a functional example18:03
fungiright that18:03
sean-k-mooneyim not sure we actully get that in full in the zuul job info in the inventory or not but we might18:03
fungioh, in the inventory vars? yeah i know we've talked about that but can't remember if it's exposed... looking18:04
sean-k-mooneyim going to check one of my recent rechecks18:05
sean-k-mooneyim sure it woudl not be hard to add if tis not there today18:05
fungii think it's this b64 encoded string: https://zuul.opendev.org/t/openstack/build/4d13c3b44c2d47e0a53a50fd0587bd63/log/zuul-info/inventory.yaml#16318:05
sean-k-mooneythat the commit message18:06
sean-k-mooney Add Flamingo Support18:06
sean-k-mooneyChange-Id: I2648275515e922a9b5f2602ab11a45ab0008390b18:06
fungiah no, that's just an encoded version of `change_message`18:06
sean-k-mooneyi think its not aviabel today form the last iti mi checked18:07
sean-k-mooneyi was looking into th eidea fo passing a prom to an llm via the comment18:08
sean-k-mooneyand i dont think that was posssible a few month ago18:08
sean-k-mooneybut this exact feature was requested in the zuul channel befor ethe ptg18:08
sean-k-mooneyya so https://zuul.opendev.org/t/openstack/build/1d140a619b5e4f499346d1bc50abeb0f/log/zuul-info/inventory.yaml was tirggered by a recheck but it does not have the trigger info or the comment embded18:10
sean-k-mooneywith that said i dont know fi that invetory is genreated by our base jobor zuul itself18:10
sean-k-mooneyso it may be aviabel but just not included18:10
fungiyeah, i'm pretty sure if comment-added message strings were made abailable from the gerrit source driver, it would be included in the list of vars documented at https://zuul-ci.org/docs/zuul/latest/job-content.html#zuul-variables18:16
sean-k-mooneyand you could do this for other driver too like github18:17
fungifor the most part, zuul tries to push users toward job definitions that are reproducible for the same source code state, and having a job alter its behavior depending on how it got scheduled would violate that principle18:17
sean-k-mooneyso its not gerrit only18:17
fungiso i'm pretty sure that's why we pushed back on adding such a feature when its come up in the past18:18
sean-k-mooneyya of couse if you jsut leave the same comment it woudl be as repoducebal as any llm triger would be18:18
fungiusing message strings in the scheduling decision process is fine, but they shouldn't alter how the job runs once it's been scheduled18:19
sean-k-mooneywhich is some interninate value above 0. i wil not comment on how much grater then 0 it is18:19
sean-k-mooneysure but there is noting stopinmg me as a job author form curlign gerrit adn geting the most recent commnt before the job started18:20
sean-k-mooneyso i can defintly make it work out side of native supprot if i was inclined to do so18:20
fungiright, there are ways to go around zuul to fetch data directly from the code review system, zuul just doesn't encourage that and doesn't add features to support doing so18:21
sean-k-mooneyfungi: how did eleasetic recheck wrok? do you  recall?18:21
fungiyes, it listened on the gerrit event stream and any time it saw a job failure it ran a query over the indexed job logs looking for matches to recorded known bug signatures, then left a review comment suggesting which bug it was likely to be that caused the job failure18:22
sean-k-mooneyah so it just consumed the gerrit stram directly rather then being triggerd by zuul18:23
fungiit wasn't implemented in zuul, it was just an external loop listening to gerrit comments from zuul and then adding more gerrit comments of its own18:23
sean-k-mooneyya, so monty's openclaww gerrit coudl do that18:24
fungiit also had an accompanying irc bot which reported matches in channels that asked for them, but that's probably less relevant to this discussion18:24
opendevreviewSteve Baker proposed openstack/agentic-workflows master: docs: add OpenCode instructions to README  https://review.opendev.org/c/openstack/agentic-workflows/+/99174020:57

Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!