huskies: merge 1169 story Gateway pulls signed artifacts from a release channel into its local store

This commit is contained in:
Huskies Agent
2026-07-16 14:03:31 +00:00
parent 1e0e581bd7
commit 77e0394195
23 changed files with 1643 additions and 7 deletions
+14
View File
@@ -35,6 +35,9 @@ pub mod new_project;
pub mod project_rebuild;
/// `projects` chat command — list all registered gateway projects.
pub mod projects;
/// `pull <channel>` gateway chat command — fetch, verify, and install a
/// signed release-channel artifact into the gateway's artifact store.
pub mod pull;
/// `rebuild gateway` command parsing (gateway self-rebuild).
pub mod rebuild;
/// `release` gateway chat command — build the sled binary and publish it.
@@ -103,6 +106,16 @@ pub fn spawn_bot(
tokio::sync::broadcast::Receiver<crate::service::gateway::GatewayStatusEvent>,
>,
gateway_port: Option<u16>,
gateway_channels_store: Option<
Arc<
RwLock<
std::collections::BTreeMap<
String,
crate::service::gateway::config::ReleaseChannelConfig,
>,
>,
>,
>,
) -> Option<tokio::task::AbortHandle> {
let config = match BotConfig::load(project_root) {
Some(c) => c,
@@ -142,6 +155,7 @@ pub fn spawn_bot(
timer_store,
gateway_event_rx,
gateway_port,
gateway_channels_store,
)
.await
{