[skip ci] wip: preserve Hermes crank development checkpoint
Owner-authorized recovery of accumulated source changes.
Includes accepted work and in-progress changes; NOT a release or acceptance.
Parent baseline 1b6db09bd1. Runtime data, build caches and local credentials excluded.
This commit is contained in:
1 parent
1b6db09bd1
commit
75fe5a123c
357 files changed
+118831
-5113
No files matched your search
@@ -124,6 +124,7 @@ impl fmt::Debug for McpProcessConfig {
|
||||
.field("database", &self.database)
|
||||
.field("runtime", &self.runtime)
|
||||
.field("observability", &self.observability)
|
||||
.field("storage_root", &"configured")
|
||||
.finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,6 +153,8 @@ pub struct McpProcessConfig {
|
||||
pub bind_addr: SocketAddr,
|
||||
pub refresh_ms: u64,
|
||||
pub rate_limit: RateLimitSettings,
|
||||
/// Root of the immutable artifact store this process reads published Resources from.
|
||||
pub storage_root: PathBuf,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -833,6 +835,7 @@ pub fn parse_process(
|
||||
requests_per_second: rps,
|
||||
burst,
|
||||
},
|
||||
storage_root: parser.absolute_path("CRANK_STORAGE_ROOT", "/var/lib/crank/storage"),
|
||||
}))
|
||||
}
|
||||
};
|
||||
@@ -906,6 +909,7 @@ fn fingerprint_parts(kind: ProcessKind, projection: &Projection) -> Vec<String>
|
||||
"rate={}:{}",
|
||||
config.rate_limit.requests_per_second, config.rate_limit.burst
|
||||
),
|
||||
"storage=path-configured".to_owned(),
|
||||
],
|
||||
),
|
||||
};
|
||||
|
||||
@@ -635,7 +635,7 @@ static FIELDS: [FieldSpec; 65] = [
|
||||
f!(
|
||||
"admin.storage_root",
|
||||
"CRANK_STORAGE_ROOT",
|
||||
AdminApi,
|
||||
Shared,
|
||||
"absolute_path",
|
||||
None,
|
||||
Some("/var/lib/crank/storage"),
|
||||
|
||||
Reference in new issue
Block a user