Skip to content

Prevent report from exceeding maximum comment length #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2020
Merged

Prevent report from exceeding maximum comment length #11

merged 1 commit into from
Dec 18, 2020

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Dec 18, 2020

In cases where a large number of sketches are compiled, the full report may exceed the maximum comment length, result in
the comment API request failing:

urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

This can be avoided by only adding the supplemental full report data when possible.

In cases where a large number of sketches are compiled, the full report may exceed the maximum comment length, result in
the comment API request failing:

urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

This can be avoided by only adding the supplemental full report data when possible.
@per1234
Copy link
Collaborator Author

per1234 commented Dec 18, 2020

This fixes the failed workflow runs we're seeing in the arduino/ArduinoCore-samd repo:
https://github.com/arduino/ArduinoCore-samd/runs/1575528468?check_suite_focus=true

@per1234 per1234 merged commit 6162636 into arduino:main Dec 18, 2020
@per1234 per1234 self-assigned this Jun 13, 2024
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants