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(app): update legacy run type #15965

Merged
merged 3 commits into from
Aug 12, 2024
Merged

Conversation

ncdiehl11
Copy link
Collaborator

@ncdiehl11 ncdiehl11 commented Aug 12, 2024

Overview

This PR fixes an error where a whitescreen occurs when opening device details for a robot with robot server <7.3. Move runTimeParameters property from LegacyGoodRunData to KnownGoodRunData since robot server does not return RTP for server versions <7.3. Check for runTimeParameters property explicitly when needed.

Closes RQA-2962

Test Plan and Hands on Testing

  • Select device details for a robot running <7.3.
  • Verify that details render and no white screen occurs, and that historical protocol run drawers are expandable.

Changelog

  • update api-client run types
  • fix TS errors by explicitly checking for RTP property on run

Review requests

see test plan

Risk assessment

low

Move `runTimeParameters` property from `LegacyGoodRunData` to `KnownGoodRunData` since robot server
does not return RTP for server versions <7.3. Check for `runTimeParameters` property explicitly when
needed.
@ncdiehl11 ncdiehl11 requested a review from mjhuff August 12, 2024 15:14
@ncdiehl11 ncdiehl11 marked this pull request as ready for review August 12, 2024 15:15
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner August 12, 2024 15:15
@ncdiehl11 ncdiehl11 self-assigned this Aug 12, 2024
Copy link
Contributor

@mjhuff mjhuff left a comment

Choose a reason for hiding this comment

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

Noice

@ncdiehl11 ncdiehl11 merged commit 1201666 into chore_release-8.0.0 Aug 12, 2024
21 checks passed
@ncdiehl11 ncdiehl11 deleted the fix_app-legacy-run-data branch August 12, 2024 16:27
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