Skip to content
Developer Preview

SessionLogFlushDegradedParams

Experimental

session/logFlushDegraded params (ADR 78845 D1, experimental): a run’s turn-end session-log flush on the host left records failed or waiting for retry, or failed itself. Outside the view stream, like session/eventLogDegraded: no viewCursor and no sourceRange. Either the counts (with an optional cause) or, exactly when the flush itself failed, only error.

  • cause — Experimental
  • error — Experimental
  • failed — Experimental
  • sessionId — Experimental
  • unflushed — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/SessionLogFlushDegradedParams

{
"description": "`session/logFlushDegraded` params (ADR 78845 D1, experimental): a run's\nturn-end session-log flush on the host left records failed or waiting for\nretry, or failed itself. Outside the view stream, like\n`session/eventLogDegraded`: no `viewCursor` and no `sourceRange`. Either\nthe counts (with an optional `cause`) or, exactly when the flush itself\nfailed, only `error`.",
"properties": {
"cause": {
"$ref": "#/$defs/LogFlushDegradedCause",
"description": "The lost log the result reports, else its missing log. Absent when\nneither is reported or the flush failed."
},
"error": {
"description": "The failed flush's message, present exactly when the flush itself\nfailed.",
"type": "string"
},
"failed": {
"description": "Records the flush could not write, summed over the session's run, task\nand approval logs. Absent when the flush failed.",
"type": "integer"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"unflushed": {
"description": "Records still waiting for a retry, summed the same way. Absent when the\nflush failed.",
"type": "integer"
}
},
"required": [
"sessionId"
],
"type": "object",
"x-msp-descriptor": "session/logFlushDegraded",
"x-msp-stability": "experimental"
}