-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for messages per build, instead of per chroot #3237
Comments
Aren't those the per chroot messages I was "complaining" about? Example: "body": {
"build": 7484770,
"chroot": "fedora-40-x86_64",
"copr": "ros2",
"ip": "2620:52:3:1:dead:beef:cafe:c1cb",
"owner": "tavie",
"pid": 1288763,
"pkg": "ros-jazzy-libcurl-vendor",
"status": 3,
"user": "tavie",
"version": "3.4.2-1",
"what": "build start: user:tavie copr:ros2 pkg:ros-jazzy-libcurl-vendor build:7484770 ip:2620:52:3:1:dead:beef:cafe:c1cb pid:1288763",
"who": "backend.worker-rpm_build_worker:7484770-fedora-40-x86_64"
} What I'm looking for is something akin to: |
Oh, you are right, sorry about that. They are really badly named :-/ |
I think we could set the chroot messages to have |
I missed this getting closed. However, looking at the discussion in the PR, it seems there are still some changes pending. Time to reopen? |
Not sure 🤷 what changes do you mean? I know there was some problem with non-stringified objects being part of e-mail subjects of something, probably related to #3344 (comment) but I can not find the issue now. |
It is #3493. |
Well, it seems I was partially mislead by Kevin's post in the Matrix room. I just re-enabled my Copr rule in FMN and it seems the issue described in #3493 is affecting me as well. However, the issue described in this ticket originally (also see the linked ticket filed against FMN), appears to be still present as well. That is Copr sends one message per chroot instead of one message per build. This is also acknowledged in #3344 (comment). I'm unable to tell if #3344 brought any improvement with regards to the message content due to #3493. But it seems to me the original issue is not fully fixed. |
Ah, yes, that's right. We should reopen this issue - the RFE clearly asks to have per-build messages. Not trivial to implement, but a valid reqeust. |
uh ... something changed here, but not for the better 😆
|
Ah, this looks like the |
WRT the summary() problem, please follow #3493 - this one is a Copr RFE :) |
While reporting fedora-infra/fmn#1138 I thought this particular case probably belongs to Copr. FMN notifications are finally working and I was excited at first. But that's no longer the case.
I've been flooded by useless messages today. Copr appears to be sending messages per chroot. If I remember correctly (I've cleaned up my mailbox meanwhile) it sends one for each of the following per chroot:
So, with a Copr configured for several branches and arches, this adds up quickly. I'm mostly not interested in state changes per chroot. I'd like to know when a build starts. That is when it starts running. And I'd like to know when it finishes. In those messages the information per chroot can be accumulated. E.g.:
Compare it to looking at the list of builds vs. looking at a specific build. Before FMN started working, I would usually keep an eye on the build list, refreshing every so often until a build was finished. Only then would I look at the outcome per change root. And mostly only when a build failed. Because it might have failed only for a specific chroot.
More informative messages also make for better opportunities filtering thos messages as pointed out in fedora-infra/fmn#1138.
Koji does it better. It sends a long messages when a build is completed successfully containing all the details of that build.
The text was updated successfully, but these errors were encountered: