Skip to content
Developer Preview

RestartReceipt

Experimental

One restartReceipts entry on session/resume (ADR 71350-B2 D1): a copy of the runtime ManualCompactionReceipt in its own serde vocabulary — display event ids, StreamRef streams, and the runtime’s snake-case status/reason/outcome words.

  • candidateId — Experimental
  • commandId — Experimental
  • reason — Experimental
  • sessionStream — Experimental
  • status — Experimental
  • targetStream — Experimental
  • terminalOutcome — Experimental
Source

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

{
"description": "One `restartReceipts` entry on `session/resume` (ADR 71350-B2 D1): a\ncopy of the runtime `ManualCompactionReceipt` in its own serde\nvocabulary — display event ids, `StreamRef` streams, and the runtime's\nsnake-case status/reason/outcome words.",
"properties": {
"candidateId": {
"description": "The summary candidate id, when the receipt carries one.",
"type": "string"
},
"commandId": {
"description": "The compaction command's event id, display form.",
"type": "string"
},
"reason": {
"description": "The runtime reason word, when the receipt carries one.",
"type": "string"
},
"sessionStream": {
"$ref": "#/$defs/StreamRef",
"description": "The session stream the command was accepted on."
},
"status": {
"description": "The runtime status word (e.g. `failed_before_start`).",
"type": "string"
},
"targetStream": {
"$ref": "#/$defs/StreamRef",
"description": "The compaction target run; absent on target-less receipts."
},
"terminalOutcome": {
"description": "The runtime terminal-outcome word (e.g. `failed`).",
"type": "string"
}
},
"required": [
"commandId",
"sessionStream",
"status",
"terminalOutcome"
],
"type": "object",
"x-msp-descriptor": "session/resume.restartReceipts",
"x-msp-stability": "experimental"
}