huskies: merge 760

This commit is contained in:
dave
2026-04-28 00:17:44 +00:00
parent 63ce7b9ec3
commit d1a2393b32
4 changed files with 221 additions and 3 deletions
+7 -3
View File
@@ -12,9 +12,9 @@ use std::sync::Arc;
// Re-export public types that callers reference as `crate::gateway::*`.
pub use crate::service::gateway::{
GatewayConfig, GatewayState as GatewayStateType, JoinedAgent, ProjectEntry,
fetch_all_project_pipeline_statuses, format_aggregate_status_compact,
spawn_gateway_notification_poller,
GatewayConfig, GatewayState as GatewayStateType, GatewayStatusEvent, JoinedAgent, ProjectEntry,
broadcast_status_event, fetch_all_project_pipeline_statuses, format_aggregate_status_compact,
spawn_gateway_notification_poller, subscribe_status_events,
};
/// Build the complete gateway route tree.
@@ -70,6 +70,10 @@ pub fn build_gateway_route(state_arc: Arc<GatewayState>) -> impl poem::Endpoint
"/gateway/agents/:id/heartbeat",
poem::post(gateway_heartbeat_handler),
)
.at(
"/gateway/events/push",
poem::get(gateway_event_push_handler),
)
// Serve the embedded React frontend so the gateway has a UI.
.at(
"/assets/*path",