Skip to content

feat(pool): per-request --exec mode on a deferred daemon#26

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/pool-per-request-mode
Jun 12, 2026
Merged

feat(pool): per-request --exec mode on a deferred daemon#26
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/pool-per-request-mode

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

pool run --exec: on a --deferred daemon, run this request via exec instead of as the box's main — the IDLE VM serves exec just as well, so one daemon offers both modes per request (deferred = full box semantics by default; exec = output via the exec stream). Wire field is serde-default (back-compat).

KVM-verified on one daemon: default run → via-main/exit 7 (json-file logs); --execvia-exec/exit 5. 16 pool unit tests pass.

pool run gains --exec: on a --deferred daemon, run via exec instead of as the
box's main — the IDLE VM survives and serves the exec just as well, so one
daemon offers both modes per request: deferred (full box semantics) by default,
exec (faster, VM not consumed... still one-shot per pool policy) on demand.
Wire field is serde-default (back-compat).
@ZhiXiao-Lin ZhiXiao-Lin merged commit 1138157 into main Jun 12, 2026
7 checks passed
@ZhiXiao-Lin ZhiXiao-Lin deleted the feat/pool-per-request-mode branch June 12, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant