fedora-copr/copr

Fedora notifications (messages) contain very long subject

Closed this issue · 2 comments

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.

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

my guess is this was introduced by 1559b85

Probably related to:
#3344 (comment)