fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
113 stars 61 forks source link

Fedora notifications (messages) contain very long subject #3493

Open dschwoerer opened 3 weeks ago

dschwoerer commented 3 weeks ago

I just got a mail from copr via fedora notifications with the following subject:

Subject: [Copr] <bound method BuildChrootStarted.summary of
 BuildChrootStartedV1(id='702cc3bd-450e-44bb-82cf-b92ba4a67e11',
 topic='org.fedoraproject.prod.copr.build.start', body={'user': 'davidsch',
 'copr': 'fixes4bout', 'owner': 'davidsch', 'pkg': None, 'build': 8190255,
 'chroot': 'srpm-builds', 'version': None, 'status': 3, 'ip':
 'xxxxx, 'who':
 'backend.worker-rpm_build_worker:xxxx', 'pid': xxxx, 'what': 'build
 start: user:davidsch copr:fixes4bout pkg:None build:xxxxx
 ip:xxxxx pid:14xxxx'})>

22 days ago, the subject was: [Copr] org.fedoraproject.prod.copr.build.end

While the old subject was maybe a bit short, the new one is probably not what was intended.

I hope this is the correct place to report this.

nikromen commented 3 weeks ago

Hi, this is 100% a bug, thanks for the report!

my guess is this was introduced by 1559b850

praiskup commented 1 week ago

Probably related to: https://github.com/fedora-copr/copr/pull/3344#discussion_r1770988337