@volter/supercode-orchestrator 0.4.51 → 0.4.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/board/dispatch.mjs +4 -1
- package/package.json +1 -1
package/board/dispatch.mjs
CHANGED
|
@@ -584,8 +584,11 @@ function launchPane(board, task, runId, lane, fleet, { input = null, slot = 'wor
|
|
|
584
584
|
// session starts (never two processes on one session)
|
|
585
585
|
let prev = tx(board, (db) => lastSession(db, task.id, slot));
|
|
586
586
|
if (prev?.close_requested && !prev.closed_at) {
|
|
587
|
-
|
|
587
|
+
const report = { undelivered: [] };
|
|
588
|
+
closeRequested(board, report);
|
|
588
589
|
prev = tx(board, (db) => lastSession(db, task.id, slot));
|
|
590
|
+
// a pane that could not be closed still holds the session: no second process is started on it
|
|
591
|
+
if (prev?.close_requested && !prev.closed_at) throw new Error(`the slot's session ${prev.session_id} asked to be closed and its pane ${prev.pane} could not be: ${report.undelivered.map((u) => u[2]).join('; ') || 'no reason given'}`);
|
|
589
592
|
}
|
|
590
593
|
let session = null;
|
|
591
594
|
let replaced = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-orchestrator",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The orchestrator runtime over the Volter Harness ontology: one typed operational model whose folder is its serialization, read and written through the harness orchestration doors (docs/ORCHESTRATOR-IR.md)",
|
|
6
6
|
"exports": {
|