Skip to content

Y25-715 - creating a balanced pool tube as soon as the first run finishes#2690

Draft
KatyTaylor wants to merge 8 commits intodevelopfrom
Y25-715-creating-a-balanced-pool-tube-as-soon-as-the-first-run-finishes
Draft

Y25-715 - creating a balanced pool tube as soon as the first run finishes#2690
KatyTaylor wants to merge 8 commits intodevelopfrom
Y25-715-creating-a-balanced-pool-tube-as-soon-as-the-first-run-finishes

Conversation

@KatyTaylor
Copy link
Collaborator

Closes #2654

Changes proposed in this pull request

  • removing bunch of code that will need to be replaced, and adding a placeholder for where the new logic will go

Instructions for Reviewers

[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

next unless allowed_request_state?(v2_tube_req)
# Collect the wafer IDs for all requests coming out of all downstream sequenced tubes
wafer_ids = downstream_sequenced_tubes.map do |tube|
fetch_tube(tube)&.requests_as_source&.map(&:id_wafer_lims)
Copy link
Member

@andrewsparkes andrewsparkes Feb 11, 2026

Choose a reason for hiding this comment

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

will this filter out any failed / cancelled tubes (those unlikely to have wafers)?
can wafers be failed or cancelled?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, but I didn't worry about it because the MLWH will only contain rows for ones that have had runs completed. If we include a couple more ids than needed in the query I don't think it really matters?

Copy link
Member

@yoldas yoldas left a comment

Choose a reason for hiding this comment

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

can’t limber get this information from sequencescape using some endpoint, rather than opening connection to mlwh?

…Handle scenario where there are no wafer_ids. Move method back to not private, for testing
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.

Y25-715 - creating a balanced pool tube as soon as the first run finishes

3 participants