Skip to content

Simplify shared executor setup and health diagnostics - #441

Merged
ctfbruce merged 3 commits into
mainfrom
feat/usability-polish-20261019
Oct 19, 2026
Merged

ctfbruce merged 3 commits into
mainfrom
feat/usability-polish-20261019

Conversation

@ctfbruce

@ctfbruce ctfbruce commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Enrolled executors can opt into resource-limited worker processes on their first managed service installation with --isolation shared. The installer supplies a finite preset and systemd delegation, rejects incompatible existing configuration, and preserves the chosen profile through reinstallation and package replacement. Existing installations keep their current behavior.

dbl doctor now explains the isolation profile and reminds operators about certificate renewal within 14 days. Expired issuing trust is diagnosed separately from the executor certificate.

The managed preset requires Linux 5.14+, systemd 254+ and cgroup v2 with CPU, memory and PID controllers. It allows up to four workers within 1 GiB worker memory plus a 256 MiB control reserve, and 2.25 CPUs total. Runtime startup still validates actual delegation and available limits; it never falls back to trusted execution.

Validation: focused service, isolation and CLI/doctor tests passed on Linux. A fresh systemd installation, restart and unchanged reinstallation preserved enrollment and shared mode. Two browser-submitted HTTP measurements completed on the isolated executor, with the child cgroup's memory, CPU and task limits observed directly. All 17 candidate checks passed, including the required gate, kernel, race, installed local flow and guest-language validation.

Related to #168 and #116.

@ctfbruce ctfbruce added Ready for review Reviewed, green candidate; maintainer review and dependency checks still required. Source reviewed Current source evidence checked; no new runtime reproduction claimed by backlog creation. labels Oct 19, 2026
@ctfbruce
ctfbruce marked this pull request as ready for review October 19, 2026 09:18
@ctfbruce ctfbruce added the Ready to merge Reviewed and CI passed; merge in dependency order after required approval. label Oct 19, 2026
@ctfbruce
ctfbruce merged commit 98fc44a into main Oct 19, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for review Reviewed, green candidate; maintainer review and dependency checks still required. Ready to merge Reviewed and CI passed; merge in dependency order after required approval. Source reviewed Current source evidence checked; no new runtime reproduction claimed by backlog creation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant