Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: Dontshowgenes2 #1912

Closed
wants to merge 13 commits into from
Closed

wip: Dontshowgenes2 #1912

wants to merge 13 commits into from

Conversation

theosanderson
Copy link
Member

resolves #

preview URL:

Summary

Screenshot

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

anna-parker and others added 13 commits May 8, 2024 19:14
…ct - this allows the mutations to be searchable with an appended gene name (and will be visible when the amino acid mutations are copied) but it will not be shown on the page.
- Refactor revise test to not require an explicit file but set file from buffer. (Async file setting was also incorrectly not awaited for)
- Disable buttons when React stuff is server side rendered. Playwright would otherwise click buttons in HTML without the react event handlers attached which made tests flaky: in particular locally where things are faster than in CI
- Uses data-testid for elements/buttons that are hard to get from Playwright otherwise
- Get rid of unnecessarily tight timeout (1s) in seqset test (default is 5s)
- Add npm run script e2e:ui that opens playwright GUI mode with headed playwright: this makes it particularly easy to debug tests and see why they fail (extensively used in the preparation of this)

(cherry picked from commit c29b912)
…commended Dockerfile (#1827)

(cherry picked from commit 2f62946)
* chore(ci): use node version from `.nvmrc`

(cherry picked from commit c51d6d3e00e94170d71c9c9b73a31d219e2955e2)

* chore(website): bump node from v21 to v22

See release notes https://nodejs.org/en/blog/announcements/v22-release-announce

(cherry picked from commit 3a1ea87)
…t limits (#1845)

-Don't retry when NCBI ingest fails, as this causes rate limits to trip
-Use NCBI API Key. In cleartext for now (while we're private that's no problem). It's easy to generate these keys and easy to reset so there's no risk to using it like this right now. For proper encryption see Set NCBI API key through secret #1844

(cherry picked from commit 1dbfcba)
* add compression middleware

* update

* fix

(cherry picked from commit b64b535)
Setting resource limits is good for 2 reasons:
- Java containers set the heap size based off how much memory they have available. No limits mean they think they've got the whole machine. Setting limits fixes this effectively. Backend memory usage goes down from 3GB to 500MB. Finally things get garbage collected.
- Step towards limiting swapping which currently can happen. We want to prioritize central services and non-kubernetes resources over preview deployments.

I set memory requests and limits for all, but only cpu requests, as cpu limits are not very useful (we are not CPU limited usually and throttling works well usually).

(cherry picked from commit ead6afc)
@theosanderson theosanderson added the preview Triggers a deployment to argocd label May 15, 2024
@theosanderson theosanderson deleted the dontshowgenes2 branch August 19, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Triggers a deployment to argocd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants