Skip to content

Conversation

@ddcc4
Copy link
Collaborator

@ddcc4 ddcc4 commented Dec 24, 2025

Overview

In getMatchingTipLiquidSpecs(), we were crashing while trying to compose the error message ... lol

I think the crash could be happening for 2 reasons: either tiprackDef is null, or it could be one of those nasty custom tip racks whose definition doesn't have a .parameters (which has bitten us before).

This change will make us stop crashing and get a bit better diagnostic information.

Test Plan and Hands on Testing

Run CI tests.

Risk assessment

Low.

@ddcc4 ddcc4 requested review from jerader and ncdiehl11 December 24, 2025 01:32
@ddcc4 ddcc4 requested a review from a team as a code owner December 24, 2025 01:32
@codecov
Copy link

codecov bot commented Dec 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.09%. Comparing base (ddf9ef4) to head (beb39ef).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #20447   +/-   ##
=======================================
  Coverage   56.09%   56.09%           
=======================================
  Files        3678     3678           
  Lines      309732   309731    -1     
  Branches    45827    45825    -2     
=======================================
+ Hits       173741   173744    +3     
+ Misses     135748   135744    -4     
  Partials      243      243           
Flag Coverage Δ
app 46.21% <20.00%> (-0.01%) ⬇️
protocol-designer 19.50% <100.00%> (+<0.01%) ⬆️
step-generation 5.74% <20.00%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
protocol-designer/src/utils/index.ts 35.04% <100.00%> (+0.74%) ⬆️
shared-data/js/helpers/getLabwareDefURI.ts 100.00% <100.00%> (ø)
🚀 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.

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.

3 participants