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

test(robot-server): Add persistence snapshot test for v7.1.1 #14508

Merged
merged 7 commits into from
Feb 20, 2024

Conversation

SyntaxColoring
Copy link
Contributor

@SyntaxColoring SyntaxColoring commented Feb 15, 2024

Overview

This adds robot-server integration tests for backwards compatibility with v7.1.1 data. This closes RSS-371.

The snapshot data comes from our ABR robots. I've taken a few runs from each robot and combined them into a single Frankenstein snapshot. I also had to massage the data somewhat to correct RSS-469.

Here is the raw ABR robot data (after correcting RSS-469), and here are the scripts I used to create a single snapshot out of it.

Also, configure Git to leave line endings alone for files in the snapshots. At least one of the protocols added here happens to have Windows CRLFs, and it seems like a good idea to keep them.

Review requests

None in particular.

Note that CI is currently failing because of RSS-471, which I'm fixing in #14509.

Risk assessment

No risk.

@SyntaxColoring SyntaxColoring changed the base branch from edge to chore_release-7.2.0 February 15, 2024 21:55
Copy link

codecov bot commented Feb 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f9b2152) 67.76% compared to head (33dc776) 67.76%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                  @@
##           chore_release-7.2.0   #14508   +/-   ##
====================================================
  Coverage                67.76%   67.76%           
====================================================
  Files                     2517     2517           
  Lines                    72058    72058           
  Branches                  9276     9276           
====================================================
  Hits                     48832    48832           
  Misses                   21008    21008           
  Partials                  2218     2218           
Flag Coverage Δ
app 64.64% <ø> (ø)
components 48.90% <ø> (ø)
labware-library 41.11% <ø> (ø)
protocol-designer 37.93% <ø> (ø)
step-generation 86.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@SyntaxColoring SyntaxColoring marked this pull request as ready for review February 15, 2024 23:33
@SyntaxColoring SyntaxColoring requested review from a team as code owners February 15, 2024 23:33
@SyntaxColoring SyntaxColoring requested a review from a team February 15, 2024 23:33
@SyntaxColoring SyntaxColoring added the robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience). label Feb 15, 2024
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Looks good to me if the tests all pass. Nice work.

@SyntaxColoring SyntaxColoring added the robot server Affects the `robot-server` project label Feb 20, 2024
Comment on lines +39 to +40
black_opts := --extend-exclude tests/integration/persistence_snapshots/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

@SyntaxColoring SyntaxColoring merged commit 6d552e8 into chore_release-7.2.0 Feb 20, 2024
33 checks passed
@SyntaxColoring SyntaxColoring deleted the 7_1_1_snapshot_test branch February 20, 2024 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
robot server Affects the `robot-server` project robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants