Skip to content
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

linter: use a buffered error channel #1187

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

charlieegan3
Copy link
Member

This allows the linter to more gracefully exit from context cancellation.

As seen in
https://github.com/StyraInc/regal/actions/runs/11233013451/job/31225814604, this can cause test cases to timeout after there are errors.

My understanding the error being attempted to be sent to the channel is a context cancellation error.

This allows the linter to more gracefully exit from context
cancellation.

As seen in
https://github.com/StyraInc/regal/actions/runs/11233013451/job/31225814604,
this can cause test cases to timeout after there are errors.

My understanding the error being attempted to be sent to the channel is
a context cancellation error.

Signed-off-by: Charlie Egan <charlie@styra.com>
@anderseknert anderseknert merged commit e3fa956 into StyraInc:main Oct 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants