mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-21 11:25:56 +00:00
preview: remove developer test-realm shortcuts before the first public preview
The Modules page had a 'Register test-realm-v03' button and the app registered a hardcoded local folder into an empty server list at startup. Both pointed at a developer's machine. The startup registration now happens only when COA_TEST_REALM_DIR is set. test_detect_toolchain skips when the local spike realm is absent (CI runners). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b65b632c63
commit
6723a7eda1
4 files changed
+9
-69
No files matched your search
@@ -859,7 +859,6 @@ export const api = {
|
||||
invoke<{ ready: boolean; restart_required: boolean; message: string; toolchain: ToolchainStatus }>("preview_install_msvc", { realmId: realmId ?? null }),
|
||||
previewToolchainStatus: (realmId?: string) =>
|
||||
invoke<ToolchainStatus>("preview_toolchain_status", { realmId: realmId ?? null }),
|
||||
previewRegisterTestRealm: (path?: string) => invoke<ServerSummary>("preview_register_test_realm", { path: path ?? null }),
|
||||
previewBuildModule: (realmId: string, sourceUrlOrPath: string) =>
|
||||
invoke<BuildResult>("preview_build_module", { realmId, sourceUrlOrPath }),
|
||||
previewInstallModule: (realmId: string, moduleId: string, version: string, applySql: boolean) =>
|
||||
|
||||
Reference in new issue
Block a user