Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy