Re: The future of FMN (Fedora Messaging Notifications)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 14, 2022 at 11:40 AM Aurelien Bompard <abompard@xxxxxxxxxxxxxxxxx> wrote:
Hey folks!

After spending some time evaluating our options, CPE's Advance Reconnaissance Team came up with this proposal for the next version of FMN:

https://fedora-arc.readthedocs.io/en/latest/fmn/april2022/index.html

Please check it out if you're interested, it has an analysis of the existing system and requirements for the next.
And the best time for feedback is now, before the work actually starts :-)

One of the current issues that I don't see listed is that people receive notifications with empty or incomplete descriptions, and often it's not even possible why (which filter caused it and how to prevent it). For example:

~~~~
from: notifications@xxxxxxxxxxxxxxxxx
to: kparal@xxxxxxxxxx
subject: fedmsg notification  # see that even the subject is generic
content:
Notification time stamped 2022-05-14 01:48:35 UTC
        https://bodhi.fedoraproject.org/updates/FEDORA-2022-af58cd6f88
~~~~
It doesn't say why I received the notification, what happened to that bodhi update, nothing. Of course in FMN settings I enabled:
"We can annotate your messages with a "triggered by" link that will let you know which filter was responsible for triggering each message."
but it doesn't work.

Here's another example:
~~~~
from: notifications@xxxxxxxxxxxxxxxxx
to: kparal@xxxxxxxxxx
subject: Fedora Notifications Digest (3 updates)
content:
Digest Summary:
1.    
2.    
3.      Fedora EPEL 9 Update: testcloud-0.7.1-1.el9
~~~~
Very useful.

This one is my favorite:
~~~~
from: notifications@xxxxxxxxxxxxxxxxx
to: kparal@xxxxxxxxxx
subject: fedmsg notification
content:
Notification time stamped 2021-12-14 08:34:53 UTC

{
    "certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUUyakNDQkVPZ0F3SUJBZ0lDQXBzd0RRWUpL\nb1pJaHZjTkFRRUxCUUF3Z2FBeEN6QUpCZ05WQkFZVEFsVlQKTVFzd0NRWURWUVFJRXdKT1F6RVFN\nQTRHQTFVRUJ4TUhVbUZzWldsbmFERVhNQlVHQTFVRUNoTU9SbVZrYjNKaApJRkJ5YjJwbFkzUXhE\n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\nMDhmVHc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==\n",
    "crypto": "x509",
    "i": 2390172,
    "msg": {
        "bug": {
            "alias": [],
            "assigned_to": "kparal@xxxxxxxxxx",
            "cc": [],
            "cf_atomic": "",
            "cf_category": "",
<snip>
~~~~
I love receiving json dumps.

Of course these are just examples I could quickly find. I don't need to debug them. I roughly know why I received them. But in the past, I sometimes received a notification that I really had zero idea why I got it. Also, I sometimes received a completely empty email, IIRC. The problem is, I believe, that FMN doesn't require the "event->human description" formatter to exist. If it does, it uses it, but if it doesn't, it sends you a blank email, a json dump, a bare link, whatever it finds in the raw event. That really shouldn't happen. I only kept FMN enabled because those emails are sufficiently rare (a few per week at max, I think) and the good notifications are useful.




_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux