@volter/supercode-orchestrator 0.5.120 → 0.5.121
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 +10 -0
- package/package.json +1 -1
package/board/dispatch.mjs
CHANGED
|
@@ -1707,6 +1707,16 @@ async function reconcileLaunches(board, fleet, report, entry, effects, settings,
|
|
|
1707
1707
|
&& ((s.pane && f.pane === s.pane) || (s.session_id && f.session_id === s.session_id)));
|
|
1708
1708
|
const sid = s.session_id ?? found?.address.split(':')[3];
|
|
1709
1709
|
if (found && sid) { bindLaunch(board, row, s, found.pane ?? s.pane, sid); continue; }
|
|
1710
|
+
// An ended run's launch that bound no session within its window awaits nothing: the run is over, and its pane's
|
|
1711
|
+
// close (closeRequested) needs no session. It was reported as awaiting its session every round, for good, once
|
|
1712
|
+
// its machine refused that close (t_7ec85b6b run 1203, 2026-10-09).
|
|
1713
|
+
if (row.ended_at && unboundLaunch(s, settings.launchWindow)) {
|
|
1714
|
+
tx(board, (db) => {
|
|
1715
|
+
const current = json(db.prepare('SELECT metadata FROM task_runs WHERE id=?').get(row.id)?.metadata, {})?.supercode;
|
|
1716
|
+
if (current?.launch_pending && current.launch_key === s.launch_key && !current.session_id) setRunSession(db, row.id, { launch_pending: false, ...(s.mode === 'fresh' ? { forgotten: true } : {}) });
|
|
1717
|
+
});
|
|
1718
|
+
continue;
|
|
1719
|
+
}
|
|
1710
1720
|
if (!row.ended_at && now() - Number(s.launched_at) > settings.grace && launchReading(fleet, s) === 'absent') {
|
|
1711
1721
|
const moved = tx(board, (db) => {
|
|
1712
1722
|
if (getTask(db, row.task_id)?.current_run_id !== row.id) return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/supercode-orchestrator",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.121",
|
|
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": {
|