Conversation
WalkthroughA new feature for periodic uploads to an S3 bucket has been integrated into the Changes
Uplevel your code reviews with CodeRabbit ProCodeRabbit ProIf you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects. |
There was a problem hiding this comment.
Files selected (2)
- cmd/cloudexec/user_data.sh.tmpl (4)
- pkg/state/state.go (1)
Review comments generated (5)
- Review: 4
- LGTM: 1
Tips
Chat with
CodeRabbit Bot (@coderabbitai)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitaiin a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignoreanywhere in the PR description to pause further reviews from the bot.
There was a problem hiding this comment.
Files selected (2)
- cmd/cloudexec/user_data.sh.tmpl (5)
- pkg/state/state.go (2)
Review comments generated (7)
- Review: 4
- LGTM: 3
Tips
Chat with
CodeRabbit Bot (@coderabbitai)
- Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
- Invite the bot into a review comment chain by tagging
@coderabbitaiin a reply.
Code suggestions
- The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
- You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Pausing incremental reviews
- Add
@coderabbitai: ignoreanywhere in the PR description to pause further reviews from the bot.
Uploads the output directory every 60 seconds while the job is running, so if a run crashes we still have something to show for it.
Also helpful to get WIP output.
resolves #26
Summary by CodeRabbit
upload_outputfunction inuser_data.sh.tmplfor periodic uploads of files to an S3 bucket during job execution, enhancing data persistence and reliability.cleanupfunction to include file upload to S3, ensuring data is stored upon job completion.GetLatestCompletedJobinstate.goto return an error when no completed jobs are found, improving error handling and API robustness.