Bound region service consumer candidates
This commit is contained in:
parent
61aed9e9ab
commit
1ec8749367
2 changed files with 23 additions and 1 deletions
|
|
@ -2951,6 +2951,8 @@ pub struct SmpRegionServiceTraceReport {
|
|||
#[serde(default)]
|
||||
pub queued_notice_record_count: usize,
|
||||
#[serde(default)]
|
||||
pub atlas_candidate_consumers: Vec<String>,
|
||||
#[serde(default)]
|
||||
pub entries: Vec<SmpRegionServiceTraceEntry>,
|
||||
#[serde(default)]
|
||||
pub notes: Vec<String>,
|
||||
|
|
@ -3592,6 +3594,16 @@ pub fn inspect_save_infrastructure_asset_trace_file(
|
|||
fn build_region_service_trace_report(
|
||||
analysis: &SmpSaveCompanyChairmanAnalysisReport,
|
||||
) -> SmpRegionServiceTraceReport {
|
||||
let atlas_candidate_consumers = vec![
|
||||
"0x00422100 periodic class-0 region picker and queue seed owner".to_string(),
|
||||
"0x004337c0 queued 0x20-byte notice-node append helper".to_string(),
|
||||
"0x00437c00 queued-kind dispatch owner".to_string(),
|
||||
"0x004c7520 kind-7 region-focused custom-modal owner".to_string(),
|
||||
"0x004358d0 pending region bonus service owner".to_string(),
|
||||
"0x00438710 recurring queued-notice service owner".to_string(),
|
||||
"0x00420030 / 0x00420280 city-connection peer probes".to_string(),
|
||||
"0x0047efe0 placed-structure linked-company resolver".to_string(),
|
||||
];
|
||||
let entries = analysis
|
||||
.region_record_triplets
|
||||
.as_ref()
|
||||
|
|
@ -3662,6 +3674,7 @@ fn build_region_service_trace_report(
|
|||
.as_ref()
|
||||
.map(|probe| probe.entries.len())
|
||||
.unwrap_or_default(),
|
||||
atlas_candidate_consumers,
|
||||
entries,
|
||||
notes,
|
||||
}
|
||||
|
|
@ -21606,6 +21619,7 @@ mod tests {
|
|||
let trace = build_region_service_trace_report(&analysis);
|
||||
assert_eq!(trace.region_record_triplet_count, 1);
|
||||
assert_eq!(trace.queued_notice_record_count, 0);
|
||||
assert!(!trace.atlas_candidate_consumers.is_empty());
|
||||
assert_eq!(trace.entries.len(), 1);
|
||||
assert_eq!(
|
||||
trace.entries[0].branches[0].status,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue