Skip to content

Link pools to their samples - #5225

Draft
islean wants to merge 16 commits into
masterfrom
link-pool-samples
Draft

Link pools to their samples#5225
islean wants to merge 16 commits into
masterfrom
link-pool-samples

Conversation

@islean

@islean islean commented Jul 29, 2026

Copy link
Copy Markdown
Member

Description

This PR adds a column to the sample table containing the optional pool_id which allows us to connect a pool to the samples it contains. This allows us to determine the delivered_at in a more granular way.

Added

  • pool_id column to sample table
  • relationship pool on the sample table
  • relationship samples on the pool table
  • a pool is related to its samples on ordering
  • back population of the properties for all pools which are alone in their order

Changed

Fixed

  • delivered_at for a pool is set when all the samples in the pool have a delivered_at

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b [THIS-BRANCH-NAME] -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

@islean islean mentioned this pull request Jul 29, 2026
18 tasks
Base automatically changed from pool-delivered-at to master July 30, 2026 13:23
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant