Skip to content

Fix bug notifier for issues with no body text#145603

Merged
hugovk merged 1 commit intopython:mainfrom
hugovk:fix-notifier
Mar 7, 2026
Merged

Fix bug notifier for issues with no body text#145603
hugovk merged 1 commit intopython:mainfrom
hugovk:fix-notifier

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Mar 6, 2026

Possible fix for https://github.com/python/cpython/actions/runs/22773539894/job/66060786931

GET /repos/python/cpython/issues/145599 - 200 in 266ms
TypeError: Cannot read properties of null (reading 'substring')
    at eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v8/dist/index.js:36187:16), <anonymous>:24:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
Error: Unhandled error: TypeError: Cannot read properties of null (reading 'substring')

The issue #145599 was created with no body, and we should always have at least a brief description. But something like this should let the notifier still process it if it happens again.

@hugovk hugovk added the infra CI, GitHub Actions, buildbots, Dependabot, etc. label Mar 6, 2026
Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right

@hugovk hugovk merged commit 149c465 into python:main Mar 7, 2026
53 checks passed
@hugovk hugovk deleted the fix-notifier branch March 7, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra CI, GitHub Actions, buildbots, Dependabot, etc. skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants