Skip to content

BI-2941 - Genotype Data Import erroring out when the file size is too Large#529

Merged
nickpalladino merged 1 commit into
developfrom
feature/BI-2941
Jul 7, 2026
Merged

BI-2941 - Genotype Data Import erroring out when the file size is too Large#529
nickpalladino merged 1 commit into
developfrom
feature/BI-2941

Conversation

@humsika

@humsika humsika commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Description

Story: BI-2941

This change updates the Genotype Data import multipart upload limits in application.yml.

The root cause of the issue was that max-file-size and max-request-size were both configured as 100MB, which caused larger VCF uploads to fail before the import could proceed normally. This PR increases both limits to 800MB, which is the supported file size agreed for this story.

With this change, Genotype Data imports below 800MB are accepted and continue through the existing import/job flow without requiring additional backend logic changes.

Dependencies

bi-web: feature/BI-2941
bi-api: feature/BI-2941

This PR pairs with the corresponding bi-web change for BI-2941, which customizes the UI error message shown when the backend rejects an oversized upload.

Testing

  1. Start the API with this configuration change.
  2. Upload a VCF file below 800MB through the Genotype Data import flow and confirm the request is accepted.
  3. Confirm the import continues through the existing job flow and is visible on the Jobs page.
  4. Upload a VCF file above 800MB and confirm the backend rejects the request.
  5. Verify normal behavior is unchanged for supported file sizes.

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have create/modified unit and/or integration tests to cover this change or tests are not applicable
  • I have commented my code, particularly in hard-to-understand areas
  • I have either updated the source of truth or arranged for update with product owner if needed https://breedinginsight.atlassian.net/wiki/spaces/BI/pages/1559953409/Source+of+Truth

@humsika humsika requested a review from nickpalladino July 1, 2026 19:13
@nickpalladino nickpalladino merged commit 31e04a8 into develop Jul 7, 2026
3 of 4 checks passed
@nickpalladino nickpalladino deleted the feature/BI-2941 branch July 7, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants