Skip to content

Y26-346 - [PR] Ultima library conversion submission on XP plates - #6231

Open
yoldas wants to merge 8 commits into
developfrom
ultima-ltp-conversion-on-xp-plates
Open

yoldas wants to merge 8 commits into
developfrom
ultima-ltp-conversion-on-xp-plates

Conversation

@yoldas

@yoldas yoldas commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Changes proposed in this pull request

The aggregation submission and its steps are removed from the Ultima LTP conversion. The conversion submission is made directly on the Illumina library plates (XP plates or Library Stock Plates).

  • Removes the limber_ultima_ltp_aggregation request type and the "Limber-Bespoke - Ultima Conv - Aggregation" submission template.
  • The acceptable purposes of limber_ultima_ltp_conversion are the six XP purposes (LB Lib PCR-XP, LTN Lib PCR XP, RVI Lib PCR XP, RVIG Lib PCR XP, LBB Lib PCR-XP, LBB Lib PCR-XP Norm) and Library Stock Plate. ULTP DNA Norm is removed from acceptable purposes. SS does not check them for this request type.
  • Test submission UAT action: takes several plate barcodes, separated by spaces, and makes one submission with the chosen wells of all the plates.
  • Test submission UAT action: takes a number of lanes, the number of sequencing requests for each pool, as bulk submission does.
  • Generate and release batch UAT action: takes the same tube as Tube 1 and Tube 2 when it has two requests (one pool on both wafers).

Matching changes: sanger/limber#3129 and the integration suite MR !342.

Deployment

UAT only: the records are WIP. After deploying, run this in the UAT Rails console. It hides the aggregation submission template, deprecates the aggregation request type, and removes ULTP DNA Norm and the old ULTP Cherrypick from the acceptable purposes of the conversion request type. Nothing is deleted.

template_name = 'Limber-Bespoke - Ultima Conv - Aggregation'
aggregation_key = 'limber_ultima_ltp_aggregation'
conversion_key = 'limber_ultima_ltp_conversion'
removed_purpose_names = ['ULTP DNA Norm', 'ULTP Cherrypick']

ActiveRecord::Base.transaction do
  template = SubmissionTemplate.find_by!(name: template_name)
  template.superceded_by_unknown!
  template.superceded_at = Time.zone.now
  template.save!

  aggregation = RequestType.find_by!(key: aggregation_key)
  aggregation.update!(deprecated: true)

  conversion = RequestType.find_by!(key: conversion_key)
  removed_purposes = Purpose.where(name: removed_purpose_names)
  conversion.acceptable_purposes.delete(removed_purposes)

  puts "#{template.name}: visible #{template.visible}"
  puts "#{aggregation.key}: deprecated #{aggregation.deprecated}"
  puts "#{conversion.key} acceptable purposes: " \
       "#{conversion.acceptable_purposes.reload.map(&:name).join(', ')}"
end

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

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.44%. Comparing base (405b9c2) to head (66dd0cd).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6231      +/-   ##
===========================================
+ Coverage    82.41%   82.44%   +0.02%     
===========================================
  Files         1346     1346              
  Lines        33009    33035      +26     
  Branches      3609     3611       +2     
===========================================
+ Hits         27204    27235      +31     
+ Misses        4974     4961      -13     
- Partials       831      839       +8     
Flag Coverage Δ
javascript 10.68% <ø> (ø)
ruby 83.70% <100.00%> (+0.03%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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.

@yoldas yoldas changed the title Add XP purposes to the Ultima LTP conversion request type Ultima library conversion submission on XP plates Nov 25, 2026
@yoldas
yoldas requested a review from andrewsparkes November 26, 2026 18:43
@yoldas yoldas changed the title Ultima library conversion submission on XP plates Y26-346 - [PR] Ultima library conversion submission on XP plates Nov 26, 2026

This branch has not been deployed

No deployments
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.

Y26-346 - Ultima library conversion submission on XP plates

1 participant