The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed crates/openhuman-core/src/platform/update/README.md,crates/openhuman-core/src/p
Steven Enamakel8cf9e74389f6
diff --git a/crates/openhuman-core/src/platform/update/README.md b/crates/openhuman-core/src/platform/update/README.mdindex 23e1e7b9cc..c82e788d04 100644--- a/crates/openhuman-core/src/platform/update/README.md+++ b/crates/openhuman-core/src/platform/update/README.md@@ -4,7 +4,7 @@ Self-update domain for the `openhuman-core` binary. Checks GitHub Releases (`tin## Responsibilities- Query the GitHub Releases "latest" API and compare semver-ish tags against the compiled `CARGO_PKG_VERSION` (`is_newer`).-- Select the release asset matching this platform's target triple (`openhuman-core-{triple}`, `.exe` on Windows).+- Select the release asset matching this platform's target triple (`openhuman-core-{triple}`, `.exe` on Windows). Releases publish core archives for Linux only, so a newer release with no asset for this triple is reported as available with no `download_url` (logged at warn, not an error).- Download the asset to a temp file, set `0o755` on Unix, and atomically rename it into the staging dir (current-exe dir by default).- Orchestrate the full `check → apply → restart` flow (`update_run`), publishing a service restart for the `SelfReplace` strategy or staging-only for `Supervisor`.- Run a periodic background checker (default 1h, floor 10 min) that logs availability and emits health events.@@ -66,7 +66,7 @@ None. No `store.rs`: staged binaries are written to the filesystem (current-exe## Used by- `crates/openhuman-core/src/core/all.rs`: registers `all_update_registered_controllers()` / `all_update_controller_schemas()` into the controller registry.-- `crates/openhuman-core/src/core/runtime/services.rs`: spawns `update::scheduler::run(config.update)` as a background service at core start.+- `crates/openhuman-core/src/core/runtime/services.rs`: spawns `update::scheduler::run(config.update)` as a background service at core start when `ServiceSet::update_scheduler` is set (off in the `desktop()` preset; the desktop shell updates through the Tauri updater).- `crates/openhuman-core/src/tools/impl/system/update_check.rs` and `update_apply.rs`: agent tools wrapping the RPC layer.## Notes / gotchasdiff --git a/crates/openhuman-core/src/platform/update/core.rs b/crates/openhuman-core/src/platform/update/core.rsindex 293028d105..f944135915 100644--- a/crates/openhuman-core/src/platform/update/core.rs+++ b/crates/openhuman-core/src/platform/update/core.rs@@ -343,18 +343,14 @@ async fn check_available_with_base_url(base_url: &str) -> Result<UpdateInfo, Strlet platform_asset = find_platform_asset(&release.assets);if update_available && platform_asset.is_none() {- let message = format!(- "update {latest_version} is available, but no core asset was found for {}",+ // Expected, not a failure (Sentry TAURI-RUST-122R/122S/13B8/13B9):+ // releases publish core archives for Linux only — macOS and Windows+ // update through the Tauri updater's installers. Report the update with+ // no download url; `update_run` answers that with `missing_asset_result`.+ log::warn!(+ "[update] update {latest_version} is available, but no core asset was published for {}; reporting it without a download",platform_triple());- log::error!("[update] {message}");- crate::core::observability::report_error(- &message,- "update",- "check_releases",- &[("failure", "missing_platform_asset")],- );- return Err(message);}let info = UpdateInfo {