Skip to content

SIMSBIOHUB-888: Add Upload ID to Submission Feature#347

Merged
dwhogan merged 8 commits intodevfrom
SIMSBIOHUB-888
Feb 28, 2026
Merged

SIMSBIOHUB-888: Add Upload ID to Submission Feature#347
dwhogan merged 8 commits intodevfrom
SIMSBIOHUB-888

Conversation

@dwhogan
Copy link
Collaborator

@dwhogan dwhogan commented Feb 27, 2026

Links to Jira Tickets

Description of Changes

  1. Added a NOT NULL upload_id UUID column to submission_feature with FK to upload(upload_id) and index
  2. Seeds create upload records before inserting features (no backfill — fresh database only)
  3. All feature insertion paths (ingestion, validation, legacy intake) use uploadId through to the INSERT
  4. Legacy intake path creates an upload record before inserting features.

Testing Notes

Run make backend to apply migration and seed data and standup api server
Run make test

SELECT count(*) FROM biohub.submission_feature WHERE upload_id IS NULL; should return 0.

@dwhogan dwhogan added Ready For Review PR is ready for review and removed Ready For Review PR is ready for review labels Feb 27, 2026
@dwhogan dwhogan marked this pull request as ready for review February 27, 2026 20:29
@sonarqubecloud
Copy link

@dwhogan dwhogan added the Ready For Review PR is ready for review label Feb 27, 2026
Copy link
Collaborator

@mauberti-bc mauberti-bc left a comment

Choose a reason for hiding this comment

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

Nice 👍

@dwhogan dwhogan merged commit 0d5b4af into dev Feb 28, 2026
18 checks passed
@dwhogan dwhogan deleted the SIMSBIOHUB-888 branch February 28, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready For Review PR is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants