test(integration-tests): add Ebola Sudan submission edge-case tests#6796
Draft
corneliusroemer wants to merge 1 commit into
Draft
test(integration-tests): add Ebola Sudan submission edge-case tests#6796corneliusroemer wants to merge 1 commit into
corneliusroemer wants to merge 1 commit into
Conversation
Add an exploratory Playwright spec that submits + releases Ebola Sudan sequences with "interesting" characters in metadata and verifies they are findable in search and on the /seq detail page. Covers, against main.loculus.org: - submissionId with emoji, combining diacritics, RTL/zero-width/BOM, HTML/script-like, path-traversal-like, quotes/template-literal, very long (500 chars), null byte, and raw invalid UTF-8 bytes - free-text fields with the above plus control characters (LF, CRLF, tab, VT/FF/ESC/BEL), expressed via RFC4180 TSV quoting - post-release verification: sequence appears in search and /seq/<acc> detail page renders Findings: all accepted/released/searchable except 500-char and null-byte submissionId, which are rejected at submission. Adds raw-byte upload helpers (uploadRawMetadataFile / uploadRawSequenceFile) to BulkSubmissionPage for byte-exact TSV/FASTA. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
This PR may be related to: #6795 (Null byte in submission id causes 504 at database insertion - not caught by backend before). The PR's edge-case tests explicitly cover null-byte submissionIds and note they are rejected at submission. |
This was referenced Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an exploratory Playwright spec that submits + releases Ebola Sudan
sequences with "interesting" characters in metadata and verifies they are
findable in search and on the /seq detail page.
Covers, against main.loculus.org:
HTML/script-like, path-traversal-like, quotes/template-literal, very
long (500 chars), null byte, and raw invalid UTF-8 bytes
VT/FF/ESC/BEL), expressed via RFC4180 TSV quoting
detail page renders
Findings: all accepted/released/searchable except 500-char and null-byte
submissionId, which are rejected at submission.
Adds raw-byte upload helpers (uploadRawMetadataFile / uploadRawSequenceFile)
to BulkSubmissionPage for byte-exact TSV/FASTA.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
resolves #
Screenshot
PR Checklist
🚀 Preview: Add
previewlabel to enable