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

fix: do not fatal on automaxprocs error #3946

Merged
merged 2 commits into from Apr 18, 2023
Merged

fix: do not fatal on automaxprocs error #3946

merged 2 commits into from Apr 18, 2023

Conversation

caarlos0
Copy link
Member

This might fail on windows/wsl (see uber-go/automaxprocs#65), and its not too bad if it fails, actually, so, let's just warn the error instead of exiting 1

closes #3945

Signed-off-by: Carlos Alexandro Becker caarlos0@users.noreply.github.com

@caarlos0 caarlos0 self-assigned this Apr 17, 2023
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 17, 2023
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@cloudflare-pages
Copy link

cloudflare-pages bot commented Apr 17, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: dd346b6
Status: ✅  Deploy successful!
Preview URL: https://cb6adeed.goreleaser.pages.dev
Branch Preview URL: https://wsl.goreleaser.pages.dev

View logs

@caarlos0 caarlos0 added the bug Something isn't working label Apr 17, 2023
@caarlos0 caarlos0 marked this pull request as ready for review April 17, 2023 16:26
@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

Merging #3946 (dd346b6) into main (3c7a639) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #3946      +/-   ##
==========================================
- Coverage   83.57%   83.56%   -0.01%     
==========================================
  Files         124      124              
  Lines       10970    10971       +1     
==========================================
  Hits         9168     9168              
- Misses       1445     1446       +1     
  Partials      357      357              
Impacted Files Coverage Δ
main.go 58.06% <0.00%> (-1.94%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@hhromic hhromic left a comment

Choose a reason for hiding this comment

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

@caarlos0 thanks for working out a solution so quick. Appreciated!
My only suggestion would be to log a warning-level message instead of an error.

@caarlos0 caarlos0 merged commit 6afe717 into main Apr 18, 2023
10 of 12 checks passed
@caarlos0 caarlos0 deleted the wsl branch April 18, 2023 00:10
@github-actions github-actions bot added this to the v1.18.0 milestone Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

goreleaser 1.17.x broken in WSL with Docker Desktop installed
2 participants