-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fraud Report Final Touches 🎉 #1339
Merged
Merged
Changes from 10 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e3c8bce
precompile tests
trajan0x 503ea1c
up the memlimit [no_skip] [goreleaser]
trajan0x 9f81b0f
hi [goreleaser]
trajan0x eabb67d
fix malformed memlimit
trajan0x 01afb2e
reintroduce pyroscope [goreleaser]
trajan0x a2c5e32
try to fix codecov
trajan0x 24d8976
github
trajan0x 5d4c122
rename coverage.txt to profile.cov
trajan0x eadf20f
utilize precompilation (see: https://github.com/golang/go/issues/15513)
trajan0x 0c88d79
f
trajan0x 913228c
try disabing pyroscope again
trajan0x 1cb0814
list containers at the end [revert me] [goreleaser]
trajan0x 6ae6ae1
fix the issue
trajan0x eb93a52
minimal log collection
trajan0x 405ed95
go.yml
trajan0x 75621f6
tmp logs
trajan0x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation: Why the Script Didn't Stop on Errors
The provided script looped through each package and ran a series of commands on each package. If any command failed during this process, the script would simply continue to the next package in the list without stopping.
This behavior is due to the default nature of bash scripting. By default, a bash script won't terminate or exit just because a command inside it fails. Instead, it will continue executing subsequent commands.
If you want a bash script to exit immediately when a command fails, you need to add the
set -e
directive at the beginning of the script. Theset -e
directive instructs the shell to exit immediately if any command in the script returns a non-zero exit status (indicating failure).Without the
set -e
directive, your script will continue running subsequent commands even if one of them fails, which is the behavior you observed.