Skip to content

fix(step-generation): extend unreachable temp timeline error to heate… #18674

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

Merged
merged 4 commits into from
Jun 18, 2025

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Jun 18, 2025

…r-shaker

closes RQA-4297

Overview

Fix a bug where there was no timeline error showing up for the attached protocol which caused an analysis failure since the error was not caught.

Test Plan and Hands on Testing

upload the protocol to PD and see that there is now a timeline error

doItAllV7.json

Changelog

  • extend timeline error logic to account for an unset heater-shaker temperature status

Risk assessment

low

@jerader jerader marked this pull request as ready for review June 18, 2025 17:04
@jerader jerader requested a review from a team as a code owner June 18, 2025 17:04
@jerader jerader requested review from koji and ncdiehl11 June 18, 2025 17:04
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 24.08%. Comparing base (851ff53) to head (c2289ab).
Report is 5 commits behind head on chore_release-pd-8.5.0.

Files with missing lines Patch % Lines
...tocolSteps/StepForm/StepTools/PauseTools/index.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                    Coverage Diff                     @@
##           chore_release-pd-8.5.0   #18674      +/-   ##
==========================================================
+ Coverage                   23.83%   24.08%   +0.24%     
==========================================================
  Files                        3282     3256      -26     
  Lines                      285228   281606    -3622     
  Branches                    28688    28639      -49     
==========================================================
- Hits                        67992    67822     -170     
+ Misses                     217211   213759    -3452     
  Partials                       25       25              
Flag Coverage Δ
protocol-designer 19.15% <20.00%> (+0.03%) ⬆️
step-generation 5.19% <60.00%> (-0.06%) ⬇️

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

Files with missing lines Coverage Δ
...ner/src/components/organisms/StepSummary/index.tsx 26.97% <100.00%> (ø)
...n/src/commandCreators/atomic/waitForTemperature.ts 78.57% <100.00%> (+0.44%) ⬆️
...tocolSteps/StepForm/StepTools/PauseTools/index.tsx 0.94% <0.00%> (-0.01%) ⬇️

... and 143 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -168,6 +168,7 @@ export function PauseTools(props: StepFormProps): JSX.Element {
<DropdownStepFormField
{...propsForFields.moduleId}
tooltipContent={null}
padding="0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this padding allowed for the dropdown menu to span the whole width

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

before:
Screenshot 2025-06-18 at 15 46 35

after:
Screenshot 2025-06-18 at 15 47 08

Copy link
Collaborator

@ncdiehl11 ncdiehl11 left a comment

Choose a reason for hiding this comment

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

good catch. this looks good to me

@@ -41,7 +41,7 @@ interface StepSummaryProps {
export function StepSummary(props: StepSummaryProps): JSX.Element | null {
const { currentStep, stepDetails } = props
const { t } = useTranslation(['protocol_steps', 'application'])
const unknownModule = t('unkonwn_module')
const unknownModule = t('unknown_module')
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice lol

@@ -58,7 +58,9 @@ export const waitForTemperature: CommandCreator<TemperatureParams> = (

if (
unreachableTemp ||
('status' in moduleState && moduleState.status === TEMPERATURE_DEACTIVATED)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice!

@jerader jerader merged commit a04052e into chore_release-pd-8.5.0 Jun 18, 2025
17 checks passed
@jerader jerader deleted the sg_unreachable-temp branch June 18, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants