Testing against the Beta Cluster hosted Commons server unreliable; discussion of alternatives needed
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start by reading the linked Beta Cluster instability task T420833 and the Patch Demo page to understand why the current Commons test environment is unreliable and what alternatives are in use. The issue asks developers and knowledgeable contributors to discuss the app’s testing needs and choose a suitable replacement; done means agreeing on an appropriate environment for testing without flooding production Commons.
Written by the indexing model from the issue text.
Description
While handling IP unblock requests for the Beta Cluster environment, I (User:BryanDavis, User:BDavis (WMF)) have realized that wikis hosted in that environment cannot provide reliable service for the people developing and testing the Commons Android app.
The root problem is that Beta Cluster has become an unstable environment for everyone due to overactive bot traffic. See T420833 for a lot more details. Attempts to address this root problem have led us to using broad IPv4 range blocks and a manual unblock request process.
Our unblocking process tries to open up enough network space around the blocked IP that it will be likely that the device remains unblocked with normal DHCP address updates from the user's ISP. This work becomes more burdensome on the unblocking users as the number of blocked users increases (for example during a GSoC or Outreachy matching period) or users have reason to use more networks (home, school, multiple mobile providers). It also becomes more frustrating for the blocked users as the problem repeats or is declared too difficult to unblock because of usage or ISP quirks. One example this is users who use Starlink as their ISP. The Starlink system has been shown to use a very large number of distinct IPv4 networks and to have a much higher churn in DHCP leases than a typical home ISP. This effectively makes Starlink impossible for us to selectively unblock with our current tooling.
Before the traffic based instability started we were already working to untangle use cases from Beta Cluster due to complexity based instability. Many MediaWiki testing use cases have been moved to the Patch Demo platform. Other work is underway to move some use cases to suitable Wikimedia production network wikis like test.wikipedia.org. There are more use cases that we still need to find new homes for, and this app is one of them.
I assume that Beta's Commons clone is used for testing so that the real Commons is not flooded with test media uploads. At the moment I'm not sure what replacement environment would be appropriate, but I would like to discuss the needs of the application developers with knowledgeable folks here in the hope of finding a better solution for everyone.
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 1.4k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 156
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from commons-app/apps-android-commons
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
commons-app/apps-android-commons#7486 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
commons-app/apps-android-commons#7464 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug]: Media detail page crashes on file pages with unclosed [[Category: markupPossibly taken @dkrrish9 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
commons-app/apps-android-commons#7423 · 7 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug]: WikiSite treats the /w/ script path as a language variant, producing a bogus "w" language codePossibly taken @shryssssss-maker claimed this 4 days ago. Opendebated
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
commons-app/apps-android-commons#7422 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
test: unit tests for WikiSite (sub-issue of #6630)Possibly taken @Seyamalam claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
commons-app/apps-android-commons#7419 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in commons-app/apps-android-commons
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
carlrobertoh/ProxyAI#1250 ·
-
Location search keeps showing stale "Open-Meteo can't find ..." message after clearing search queryOpenBug Needs review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
breezy-weather/breezy-weather#3082 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
wangzan101/Mika#1033 ·
Maintainers usually reply within 1 day
-
area: ci area: local-media area: startup area: ui platform: bilibili platform: netease platform: youtube status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cwuom/NeriPlayer#794 ·
Maintainers usually reply within 1 day
-
area:android area:ui bug priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
meraxes89/streamify-apk#449 ·
Maintainers usually reply within 1 day