Add gated agent update planning, preserved handoff and Linux worker ports
Rust development slice / linux (push) Failing after 6s

This commit is contained in:
2026-11-14 21:48:21 +01:00
parent dc9cb1b096
commit 1e89c4577f
82 changed files with 25052 additions and 69 deletions
+7
View File
@@ -1,6 +1,9 @@
mod agent_artifacts;
mod agent_http;
mod agent_service;
mod agent_update_health;
mod agent_update_policy;
mod agent_updates;
mod api;
mod artifact_store;
mod auth;
@@ -21,6 +24,7 @@ mod root_policy;
mod scheduler;
mod synchronization;
mod tls;
mod update_artifact_store;
mod windows_msi_catalog;
mod windows_policy;
@@ -157,6 +161,8 @@ async fn main() -> Result<()> {
}
let mut routes = Router::new().route("/healthz", get(|| async { "ok" }));
if role.gateway() {
routes = agent_updates::gateway_routes(routes);
routes = agent_update_health::gateway_routes(routes);
routes = routes
.route("/agent/v1/enroll", post(gateway::enroll))
.route("/agent/v1/messages", post(agent_http::messages))
@@ -189,6 +195,7 @@ async fn main() -> Result<()> {
routes = jobs::routes(routes);
routes = controls::routes(routes);
routes = catalog::routes(routes);
routes = agent_updates::routes(routes);
routes = routes
.route("/api/v1/tenants/{tenant}/health", get(monitoring::health))
.route(