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

fix(protocol-designer,-shared-data): update command schema to v10 #17548

Closed

Conversation

ncdiehl11
Copy link
Collaborator

Overview

As an oversight, PD 8.4.0 maintained exporting protocols with command schema v8. This PR updates the command schema to v10.

Test Plan and Hands on Testing

Changelog

Review requests

Risk assessment

low-med

As an oversight, PD 8.4.0 maintained exporting protocols with command schema v8. This PR updates the command schema to v10.
@@ -115,7 +120,7 @@ export type ProtocolFile<
(OT2RobotMixin | OT3RobotMixin) &
LabwareV2Mixin &
LiquidV1Mixin &
(CommandV8Mixin | CommandV9Mixin) &
(CommandV8Mixin | CommandV9Mixin | CommandV10Mixin) &
Copy link
Member

Choose a reason for hiding this comment

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

should this not just be CommandV10Mixin?

Copy link
Member

Choose a reason for hiding this comment

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

nvm this is fine for now. we should change this but we first gotta change the interfaces of the migration files in PD so they return more granular interfaces

@ddcc4 ddcc4 marked this pull request as ready for review February 18, 2025 20:52
@ddcc4 ddcc4 requested a review from a team as a code owner February 18, 2025 20:52
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 24.77%. Comparing base (74d6579) to head (9f77eed).

Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                   @@
##           chore_release-pd-8.4.2   #17548   +/-   ##
=======================================================
  Coverage                   24.77%   24.77%           
=======================================================
  Files                        2838     2838           
  Lines                      217841   217841           
  Branches                     9284     9284           
=======================================================
  Hits                        53975    53975           
  Misses                     163852   163852           
  Partials                       14       14           
Flag Coverage Δ
protocol-designer 18.86% <100.00%> (ø)
step-generation 4.35% <0.00%> (ø)

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

Files with missing lines Coverage Δ
...ol-designer/src/file-data/selectors/fileCreator.ts 84.21% <100.00%> (ø)
shared-data/protocol/types/schemaV8/index.ts 100.00% <ø> (ø)

@ncdiehl11
Copy link
Collaborator Author

targeted correct 8.4.2 release branch and closed here

@ncdiehl11 ncdiehl11 closed this Feb 19, 2025
@ncdiehl11 ncdiehl11 deleted the chore_pd-update-command-schema branch February 19, 2025 19:15
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