Skip to content

Commit 60eafbd

Browse files
committed
fix(supervisor): keep advertisement checks clean
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
1 parent 5afa86a commit 60eafbd

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎crates/openshell-core/src/app_listener.rs‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ impl AppListenerConfig {
5050
}
5151
}
5252

53+
/// A synchronous view of installed ingress, evaluated on the sandbox instance
54+
/// runtime. The requested lease must fit entirely within serving freshness.
55+
pub type InstallationSource = std::sync::Arc<
56+
dyn Fn(std::time::Duration) -> crate::proto::SupervisorServiceAdvertisement + Send + Sync,
57+
>;
58+
5359
#[cfg(test)]
5460
mod tests {
5561
use super::*;
@@ -69,9 +75,3 @@ mod tests {
6975
assert!(config.validate().is_err());
7076
}
7177
}
72-
73-
/// A synchronous view of installed ingress, evaluated on the sandbox instance
74-
/// runtime. The requested lease must fit entirely within serving freshness.
75-
pub type InstallationSource = std::sync::Arc<
76-
dyn Fn(std::time::Duration) -> crate::proto::SupervisorServiceAdvertisement + Send + Sync,
77-
>;

‎docs/how-it-works/gateways/configuration.mdx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,6 @@ the owning supervisor while preserving that hostname. Automatic discovery and
16071607
application URL publication are separate work; current CLI URLs still identify
16081608
the existing gateway path.
16091609

1610-
16111610
Enabled supervisors report installed service routes through their authenticated
16121611
gateway sessions. The gateway accepts only current configuration and ownership,
16131612
resolves the supervisor endpoint through the compute driver, and expires

0 commit comments

Comments
 (0)