User:DWalden (WMF)/Test2wiki k8s migration
Appearance
Scope of change
[edit]The parts of the application that will be running in Kubernetes are highlighted in red in the below diagram.
See also File:Presentation_qte_sync_20042022.pdf.
Scope of testing
[edit]- Test when we touch the app server, for example:
- load a page
- submit a form
- make an API request
- back-end processing (deferred updates, jobs)
- features which call external binaries (see #Next_steps)
- Don't worry about UI parts of the application
- unless they are making API requests in the backend (e.g. we might want to test VE as it relies on calls to parsoid)
Risks
[edit]- Do the individual docker images function?
- MediaWiki + extensions
- Back-end processing (Jobs, Deferred updates)
- External binaries (Shellbox)
- Do the docker images have access to the appropriate resources inside Kubernetes?
- What features rely on other resources like files, keystores, etc.
- Do the docker images contest for resources inside Kubernetes?
- Does it have access to resources outside Kubernetes?
- Things inside our ecosystem but outside Kubernetes (e.g. database, APIs, Parsoid)
- External services (outside our ecosystem)
- Reliability, performance, load, stress...
Next steps
[edit]- Get Selenium tests running on test2wiki to provide smoke tests (phab:T303739).
Get API tests running against test2wiki.Because running the API tests requires having test2wiki's$wgSecretKey
, it is not possible to do so for security reasons.- Fill out the readiness reviews for teams #Team_testing_readiness.
- Decide what to do with features not covered by any team #Teams_or_features_not_covered_above.
Open Questions
[edit]- Do we need to test that whatever load balancing solution we are using is working?
- Do we test rolling back changes to test2wiki?
- What testing do we need in terms of:
- reliability (e.g. concurrency)
- performance
- load
- anything else
Team testing readiness
[edit](Making a page for a team not listed below? Use /Readiness_template)
- /Anti-Harassment_Tools
- /Apps
- /Campaign_Development
- /Community_Tech
- /Editing
- /Growth
- /Inuka
- /Language
- /Structured_Data
- /Trust_and_Safety_Tools
- /Web_Readers
(Want a high-level view? See /Readiness_high-level)
(Also see /How_to)
(Also, to see what is already installed on test2wiki, see https://test2.wikipedia.org/wiki/Special:Version)
Teams or features not covered above
[edit]- /Authentication_and_authorization
- /Caching
- /File_management
- /EventBus
- /Maintenance_scripts
- /Search
See also Developers/Maintainers.
Teams or features that don't need testing coverage
[edit]- Design_Systems_Team (nothing on production yet?)
- Fundraising_tech (I am not sure about their technology stack)
- Platform_Engineering_Team (I am not sure about this team)