Skip to content

fix(app): fix not applying offsets for locations containing modules#17901

Merged
mjhuff merged 1 commit into
chore_release-8.4.0from
app_fix-offset-loc-seq-ordering
Mar 27, 2025
Merged

fix(app): fix not applying offsets for locations containing modules#17901
mjhuff merged 1 commit into
chore_release-8.4.0from
app_fix-offset-loc-seq-ordering

Conversation

@mjhuff
Copy link
Copy Markdown
Contributor

@mjhuff mjhuff commented Mar 27, 2025

Closes RQA-4012

Overview

Fixes an issue applying offsets when the offsetLocationSequence involves a module. The util that converts the locationSequence to an offsetLocationSequence assumed that the ordering of the sequence should translate 1:1, but for offsetLocationSequence, the addressableArea kind component must be last in order to successfully POST updates for the offset.

Test Plan and Hands on Testing

  • Verified that "applying offsets" now works when a labware offset location sequence contains a module.
  • Verified no regression in LPC flows (nothing directly depends on the ordering of the labware offset location sequence).

Changelog

  • Fixed unable to apply offsets when an offset contains a module.

Risk assessment

low

@mjhuff mjhuff requested review from a team, SyntaxColoring and sfoster1 March 27, 2025 15:50
@mjhuff mjhuff requested a review from a team as a code owner March 27, 2025 15:50
@mjhuff mjhuff requested review from TamarZanzouri and removed request for a team and TamarZanzouri March 27, 2025 15:50
Copy link
Copy Markdown
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.

yeah, sorry. thanks for fixing it!

we should really have tests for this kind of straightforward data transformation though

@mjhuff
Copy link
Copy Markdown
Contributor Author

mjhuff commented Mar 27, 2025

yeah, sorry. thanks for fixing it!

we should really have tests for this kind of straightforward data transformation though

Yep, for sure, it's on my TODO list, see EXEC-1352

@mjhuff mjhuff merged commit f424b78 into chore_release-8.4.0 Mar 27, 2025
36 checks passed
@mjhuff mjhuff deleted the app_fix-offset-loc-seq-ordering branch March 27, 2025 20:49
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