Beta Cluster

This page is a translated version of the page Beta Cluster and the translation is 74% complete.

The Beta Cluster is a functional, production-like environment in the Cloud VPS that is suitable for final-stage testing of new features. It was initially created as a way to provide an exact copy of the WMF production cluster (including db hosts, apaches, logging, squids, varnish caching, image scalers, etc.) using Cloud VPS instances.

Beta Cluster remains a significant part of MediaWiki's development ecosystem, serving as a pre-production environment to test and deploy code before it reaches production, reshaped its purpose and management but is largely unmaintained.

In 2024, the Developer Experience group took Product Stewardship of Beta Cluster[1] and are currently focused on giving it clear direction and narrowing its use cases. The long-term goal is to transform the Beta Cluster into a Playground environment for experimentation and testing without replicating every aspect of production. As part of this effort, the team is also working actively on tools like PatchDemo/Catalyst to ensure the most common use cases of Beta are covered as on-demand isolated testing environments. While this transformation is ongoing, the team is prioritizing only very essential updates (E.g. PHP 8.1 Upgrade) and not addressing smaller issues in its current state.

Developer Experience encourage users of Beta Cluster to submit a feature request in Phabricator if their requirements are not adequately addressed yet by PatchDemo/Catalyst or other tools. Their input will guide improvements and help prioritize features.

How it works

Lingkungan ini menjalankan master dari Git dan inti dan ekstensi MediaWikinya diperbarui setiap sepuluh menit. Beta Cluster adalah salah satu wiki uji coba Wikimedia. Lingkungan ini menggunakan sistem masuk log SUL-nya sendiri yang terpisah dari lingkungan produksi, jadi contohnya akun untuk en.wikipedia.beta.wmflabs.org juga bisa digunakan di en.wikisource.beta.wmflabs.org, tetapi tidak bisa digunakan di wiki produksi mana pun.

Open tasks

Open tasks can be found in the workboard in Phabricator. Those task are currently used as a way to catalogue issues or recurring problems, but are not addressed or observed immediately.

Menguji perubahan di Beta Cluster

Lihat Deploy to Beta Cluster untuk cara mengirimnya.

Log dari beta cluster dikirim ke Logstash dan bisa dilihat di beta-logs.wmcloud.org. Situs ini saat ini dilindungi oleh kata sandi. Untuk sebuah akun, lihatlah di ssh deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud sudo cat /root/secrets.txt. Jika entah mengapa kejadian EventLogging Anda tidak muncul di dasbor, coba periksa log dan basis data. Jika itu tidak bekerja, mungkin eventlogging dan/atau mesinnya perlu dibut ulang. Hubungi orang-orang di #wmf-analytics.

Jika Anda perlu menjalankan skrip pemeliharaan di Beta Cluster, ssh ke deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud (melalui bastion.wmcloud.org sebagai proksi)

Jika Anda perlu memeriksa basis data, mereka disimpan di mesin dengan nama *dbXX* di antara mesin-mesin yang didaftarkan di sini: https://openstack-browser.toolforge.org/project/deployment-prep

Jika Anda hanya perlu menjalankan beberapa kueri, ssh ke deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud dan jalankan sql testwiki atau dengan dbname apa pun yang Anda butuhkan.

Simpan pesan di log admin peladen beta cluster dengan menggunakan awalan "!log " di #wikimedia-releng.

Lihat pula

Dokumen historis