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

Saves robot logs as .log when reporting error #15113

Merged
merged 2 commits into from
May 7, 2024
Merged

Conversation

rclarke0
Copy link
Contributor

@rclarke0 rclarke0 commented May 7, 2024

Overview

Saves robot logs as .log when reporting error

Test Plan

Ran script on robot and compared log format to logs that are downloaded through the app.

Changelog

In the get_robot_logs function I changed the files to be saved as .log and removed json.dumps()

Review requests

Risk assessment

@rclarke0 rclarke0 requested a review from a team as a code owner May 7, 2024 15:12
@rclarke0 rclarke0 requested review from a team and vegano1 May 7, 2024 15:16
Copy link
Contributor

@vegano1 vegano1 left a comment

Choose a reason for hiding this comment

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

This is great, thank you!

@rclarke0 rclarke0 merged commit ab4117d into edge May 7, 2024
5 checks passed
@rclarke0 rclarke0 deleted the fix-error-log-download branch May 7, 2024 16:28
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
<!--
Thanks for taking the time to open a pull request! Please make sure
you've read the "Opening Pull Requests" section of our Contributing
Guide:


https://github.com/Opentrons/opentrons/blob/edge/CONTRIBUTING.md#opening-pull-requests

To ensure your code is reviewed quickly and thoroughly, please fill out
the sections below to the best of your ability!
-->

# Overview

Saves robot logs as .log when reporting error

# Test Plan

Ran script on robot and compared log format to logs that are downloaded
through the app.

# Changelog

In the get_robot_logs function I changed the files to be saved as .log
and removed json.dumps()

# Review requests

<!--
Describe any requests for your reviewers here.
-->

# Risk assessment

<!--
Carefully go over your pull request and look at the other parts of the
codebase it may affect. Look for the possibility, even if you think it's
small, that your change may affect some other part of the system - for
instance, changing return tip behavior in protocol may also change the
behavior of labware calibration.

Identify the other parts of the system your codebase may affect, so that
in addition to your own review and testing, other people who may not
have the system internalized as much as you can focus their attention
and testing there.
-->
Carlos-fernandez pushed a commit that referenced this pull request Jun 3, 2024
<!--
Thanks for taking the time to open a pull request! Please make sure
you've read the "Opening Pull Requests" section of our Contributing
Guide:


https://github.com/Opentrons/opentrons/blob/edge/CONTRIBUTING.md#opening-pull-requests

To ensure your code is reviewed quickly and thoroughly, please fill out
the sections below to the best of your ability!
-->

# Overview

Saves robot logs as .log when reporting error

# Test Plan

Ran script on robot and compared log format to logs that are downloaded
through the app.

# Changelog

In the get_robot_logs function I changed the files to be saved as .log
and removed json.dumps()

# Review requests

<!--
Describe any requests for your reviewers here.
-->

# Risk assessment

<!--
Carefully go over your pull request and look at the other parts of the
codebase it may affect. Look for the possibility, even if you think it's
small, that your change may affect some other part of the system - for
instance, changing return tip behavior in protocol may also change the
behavior of labware calibration.

Identify the other parts of the system your codebase may affect, so that
in addition to your own review and testing, other people who may not
have the system internalized as much as you can focus their attention
and testing there.
-->
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