Merge pull request 'fix: register missing updater commands' (#99) from fix/updater-issues into beta
Some checks failed
Release Beta / autotag (push) Successful in 10s
Release Beta / changelog (push) Successful in 1m29s
Test / frontend-tests (push) Successful in 1m59s
Test / frontend-typecheck (push) Successful in 2m1s
Release Beta / build-macos-arm64 (push) Successful in 7m40s
Release Beta / build-linux-amd64 (push) Successful in 11m35s
Release Beta / build-windows-amd64 (push) Failing after 12m6s
Release Beta / build-linux-arm64 (push) Successful in 13m50s
Test / rust-fmt-check (push) Successful in 19m43s
Test / rust-clippy (push) Successful in 21m48s
Test / rust-tests (push) Successful in 23m42s
Some checks failed
Release Beta / autotag (push) Successful in 10s
Release Beta / changelog (push) Successful in 1m29s
Test / frontend-tests (push) Successful in 1m59s
Test / frontend-typecheck (push) Successful in 2m1s
Release Beta / build-macos-arm64 (push) Successful in 7m40s
Release Beta / build-linux-amd64 (push) Successful in 11m35s
Release Beta / build-windows-amd64 (push) Failing after 12m6s
Release Beta / build-linux-arm64 (push) Successful in 13m50s
Test / rust-fmt-check (push) Successful in 19m43s
Test / rust-clippy (push) Successful in 21m48s
Test / rust-tests (push) Successful in 23m42s
Reviewed-on: #99
This commit is contained in:
commit
f2aa75061b
@ -626,4 +626,17 @@ mod updater_tests {
|
||||
assert!(!is_newer_version("", "1.0.0"));
|
||||
assert!(!is_newer_version("1.0.0", ""));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_update_channel_default() {
|
||||
let settings = AppSettings::default();
|
||||
assert_eq!(settings.update_channel, "stable");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_update_channel_serialization() {
|
||||
let settings = AppSettings::default();
|
||||
let json = serde_json::to_string(&settings).unwrap();
|
||||
assert!(json.contains("\"stable\""));
|
||||
}
|
||||
}
|
||||
|
||||
@ -256,6 +256,10 @@ pub fn run() {
|
||||
commands::system::get_sudo_config_status,
|
||||
commands::system::test_sudo_password,
|
||||
commands::system::clear_sudo_password,
|
||||
commands::system::check_app_updates,
|
||||
commands::system::install_app_updates,
|
||||
commands::system::get_update_channel,
|
||||
commands::system::set_update_channel,
|
||||
// MCP Servers
|
||||
mcp::commands::list_mcp_servers,
|
||||
mcp::commands::create_mcp_server,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user