-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
R4R: runsim pushes logs to S3 bucket #4677
Conversation
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.
Should this live in the devops/tooling repo? Also, where is the documentation on where/how to fetch these logs in S3? Who has access?
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.
minor comments 👍
) | ||
|
||
func awsErrHandler(err error) { | ||
func awsErrHandler(err error) error { | ||
if awsErr, ok := err.(awserr.Error); ok { | ||
switch awsErr.Code() { |
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.
do we need this switch
statement?
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.
Not right now, but I want it in there for later when I'll get around to handling some of these error codes better.
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.
I'd delete it and re-add later it if necessary
@alexanderbez I'm not sure what the plan is for the simulator. There's also a As for the logs, any failed seeds will generate a message in the slack channel. The message will have the links to the log file and anyone can download them. |
Codecov Report
@@ Coverage Diff @@
## master #4677 +/- ##
==========================================
+ Coverage 54.88% 54.89% +0.01%
==========================================
Files 271 271
Lines 16975 16975
==========================================
+ Hits 9316 9318 +2
+ Misses 6974 6972 -2
Partials 685 685 |
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added a relevant changelog entry:
clog add [section] [stanza] [message]
rereviewed
Files changed
in the github PR explorerFor Admin Use: