Skip to content

[agentbricks] [1/2] Extract native process supervision for local development - #924

Draft
jamesbxwu wants to merge 2 commits into
mainfrom
codex/agentbricks-local-process-supervision
Draft

jamesbxwu wants to merge 2 commits into
mainfrom
codex/agentbricks-local-process-supervision

Conversation

@jamesbxwu

@jamesbxwu jamesbxwu commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Local development needs to launch an agent process without going through the Databricks CLI. Extract the existing output/readiness relay into a reusable process runner and give native commands their own POSIX process group, forwarding interrupts and terminating descendant servers/tools on exit.

Stack 1/2: process supervision foundation. Next: #925 switches agentbricks dev to this runner.

Validation: 60 tests passed across process supervision, PTY relay, Databricks CLI behavior, and interrupt diagnostics; Ruff and formatting checks passed. Tests use real child/grandchild processes for normal exit, Ctrl-C, SIGTERM, and callback failure.

Risk: process/signal handling; POSIX descendant cleanup is covered, while native Windows console interrupt behavior is not validated. CLI options and the bundled workflow guidance are unchanged in this foundation PR.

Size: M.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant