Wave 185/509: engine: feature replies carry no boolean diagnostics (and 1 more)
2 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. - 88b1ba507 jyviko: doc: a feature result has no boolean diagnostics any more - 1ecf00b5a jyviko: engine: feature replies carry no boolean diagnostics Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
This commit is contained in:
@@ -239,9 +239,6 @@ impl Model {
|
||||
if let Some(w) = &r.warning {
|
||||
f["warning"] = json!(w);
|
||||
}
|
||||
if r.boolean_diagnostics != kernel::BooleanDiagnostics::default() {
|
||||
f["diagnostics"] = serde_json::to_value(&r.boolean_diagnostics).map_err(|e| kernel::KernelError::Invalid(e.to_string()))?;
|
||||
}
|
||||
features.push(f);
|
||||
}
|
||||
let records = json!({
|
||||
@@ -601,10 +598,6 @@ impl Model {
|
||||
name: f.name.clone(),
|
||||
error: None,
|
||||
warning: r.get("warning").map(|w| text(Some(w))).transpose()?,
|
||||
boolean_diagnostics: match r.get("diagnostics") {
|
||||
Some(d) => saved_diagnostics(d)?,
|
||||
None => Default::default(),
|
||||
},
|
||||
ms,
|
||||
skipped: r.get("skipped").and_then(Json::as_bool).ok_or_else(|| bad("saved model: skipped"))?,
|
||||
stale: false,
|
||||
|
||||
Reference in New Issue
Block a user