Record the loose end the taskNote outage exposed, and the last of its checks
A session whose transcript will not parse is skipped with only a log line, so from the phone it is indistinguishable from an idle unresponsive one. That is why the outage needed a report from Bryan rather than showing itself. The cause is fixed; the class is not, and it is the "design the unknown state first" rule rather than a bug in one code path. Also rustfmt on the parse path, which the fix landed unformatted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fd71d876e1
commit
0862b47f76
2 files changed
+20
-3
No files matched your search
@@ -353,9 +353,8 @@ impl<'a> Indexed<'a> {
|
||||
#[serde(rename = "type")]
|
||||
kind: Option<String>,
|
||||
}
|
||||
let place: JustPlace = serde_json::from_str(line).with_context(|| {
|
||||
format!("bad transcript line in {}", self.path.display())
|
||||
})?;
|
||||
let place: JustPlace = serde_json::from_str(line)
|
||||
.with_context(|| format!("bad transcript line in {}", self.path.display()))?;
|
||||
// Debug rather than a warning: a transcript written against a
|
||||
// newer build has one of these per line it wrote, and the row
|
||||
// on the phone is where this is actually reported.
|
||||
|
||||
Reference in new issue
Block a user