Skip to content

Move workers orchestration package to internal/workerctl#384

Open
lilydoar wants to merge 1 commit into
lilydoar/stack/15from
lilydoar/stack/16
Open

Move workers orchestration package to internal/workerctl#384
lilydoar wants to merge 1 commit into
lilydoar/stack/15from
lilydoar/stack/16

Conversation

@lilydoar
Copy link
Copy Markdown
Contributor

@lilydoar lilydoar commented May 29, 2026

Stacked PRs:


Move workers orchestration package to internal/workerctl

The root workers package (build.go, log.go, run.go) is application logic for
building and running worker subprocesses, with no consumer outside the root
module. Application code that isn't part of a public API belongs under
internal/, where the import boundary is compiler-enforced. It also could not
stay at workers/, since that directory is the documented polyglot
worker-source home (workers//...).

Move it to internal/workerctl (package workerctl) and update importers. The
workers/ directory now contains only the per-language worker source trees.

Testing: go build ./... and go vet ./... pass for both modules.

@lilydoar lilydoar requested review from a team as code owners May 29, 2026 21:13
The root workers package (build.go, log.go, run.go) is application logic for
building and running worker subprocesses, with no consumer outside the root
module. Application code that isn't part of a public API belongs under
internal/, where the import boundary is compiler-enforced. It also could not
stay at workers/, since that directory is the documented polyglot
worker-source home (workers/<lang>/...).

Move it to internal/workerctl (package workerctl) and update importers. The
workers/ directory now contains only the per-language worker source trees.

Testing: `go build ./...` and `go vet ./...` pass for both modules.

stack-info: PR: #384, branch: lilydoar/stack/16
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