Skip to content

Move workers orchestration package to internal/workerctl#373

Closed
lilydoar wants to merge 1 commit into
lilydoar/stack/6from
lilydoar/stack/7
Closed

Move workers orchestration package to internal/workerctl#373
lilydoar wants to merge 1 commit into
lilydoar/stack/6from
lilydoar/stack/7

Conversation

@lilydoar
Copy link
Copy Markdown
Contributor

@lilydoar lilydoar commented May 28, 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 28, 2026 21:54
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: #373, branch: lilydoar/stack/7
@lilydoar lilydoar force-pushed the lilydoar/stack/6 branch from f3d8da2 to 74aa52b Compare May 28, 2026 21:54
@lilydoar lilydoar force-pushed the lilydoar/stack/7 branch from f3a4afe to 3b08fcc Compare May 28, 2026 21:54
lilydoar added a commit that referenced this pull request May 29, 2026
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: #373, branch: lilydoar/stack/7
@lilydoar
Copy link
Copy Markdown
Contributor Author

Closing — the module-organization stack was rebased (devserver move dropped, since devserver must stay exported for temporal to import it). Recreating the stack fresh.

@lilydoar lilydoar closed this May 29, 2026
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