Add explicit environment propagation
ci / test (push) Has been cancelled
ci / remote-bench (push) Has been cancelled

This commit is contained in:
DuProcess
2026-06-13 22:30:15 -04:00
parent 38e2fa091a
commit 1b1278f39e
9 changed files with 380 additions and 17 deletions
+9
View File
@@ -46,6 +46,14 @@ pub struct NativeClientHello {
pub supported_user_key_algorithms: Vec<String>,
pub cached_host_key_fingerprint: Option<String>,
pub attach_ticket_envelope: Option<Vec<u8>>,
#[serde(default)]
pub requested_env: Vec<EnvVar>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct EnvVar {
pub name: String,
pub value: String,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
@@ -1234,6 +1242,7 @@ mod tests {
supported_user_key_algorithms: vec!["ssh-ed25519".to_string()],
cached_host_key_fingerprint: None,
attach_ticket_envelope: None,
requested_env: Vec::new(),
}
}