Skip to content

Reuse Banananation JAR file in backend e2e tests instead of re-uploading for each test - #1918

Open
dandelany wants to merge 2 commits into
developfrom
dev/e2e-reuse-banananation-jar
Open

dandelany wants to merge 2 commits into
developfrom
dev/e2e-reuse-banananation-jar

Conversation

@dandelany

Copy link
Copy Markdown
Collaborator

Summary

Upload banananation.jar once per test JVM and reuse its file ID. Each test still creates and deletes its own mission model row in the DB, it just reuses the JAR file. Parallel tests share the first successful upload. If it fails, the next caller can try again.

In recent system e2e runs, 124 of 207 file upload attempts are for this same JAR, so reusing it would avoid 123 repeat attempts and about 1.3 gb of jar payload. This upload is also where we have seen flaky/random EPIPE/connection errors, so limiting uploads should help with flakiness.

Testing

Verified locally with playwright 1.65.1 that four concurrent callers shared one successful upload after a forced failure.

@dandelany
dandelany requested a review from a team as a code owner November 30, 2026 22:18
@dandelany
dandelany requested review from joshhaug and joswig November 30, 2026 22:18
@dandelany dandelany changed the title Dev/e2e reuse banananation jar Reuse Banananation JAR file in backend e2e tests instead of re-uploading for each test Nov 30, 2026
@sonarqubecloud

Copy link
Copy Markdown

@dandelany
dandelany requested review from Mythicaeda and removed request for joshhaug and joswig December 1, 2026 21:48

This branch was previously deployed

1 inactive deployment
e2e-test — 924919d1 Deployed Nov 30, 2026 by dandelany via java-internal-e2e-test #6690
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