Skip to content

new-bugs-announce notifier workflow fails on large bug reports #106217

Closed as not planned
@andersk

Description

@andersk

When I opened #106092, I got an email notification “new-bugs-announce notifier: All jobs have failed”, linking to https://github.com/python/cpython/actions/runs/5371513882. The error is

[Error: Bad Request] {
  status: 400,
  details: 'Send options (parameters starting with o:, h:, or v:) are limited to 16 kB total',
  type: 'MailgunAPIError'
}
Error: Unhandled error: Error: Bad Request

I guess the stack traces I included bumped the report size to more than 16 kB. It seems that this is not an uncommon problem: https://github.com/python/cpython/actions/workflows/new-bugs-announce-notifier.yml?query=is%3Afailure.

Perhaps the notifier should truncate or omit the body if the payload would be too long.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions