Skip to content

Allow selecting enabled worker languages - #309

Merged
mxschmitt merged 1 commit into
mainfrom
feat/configurable-worker-languages
Sep 2, 2026
Merged

Allow selecting enabled worker languages#309
mxschmitt merged 1 commit into
mainfrom
feat/configurable-worker-languages

Conversation

@mxschmitt

Copy link
Copy Markdown
Owner

Summary

  • Allow deployments to select a comma-separated subset with WORKER_LANGUAGES.
  • Preserve the existing behavior of enabling all supported languages when it is unset.
  • Reject invalid configuration at startup and return HTTP 400 when a request targets a supported but disabled language.

This lets lightweight development deployments run one worker runtime without creating pods for images that were intentionally not built.

Testing

  • go test ./...
  • go build ./...
  • Deployed with WORKER_LANGUAGES=javascript; exactly one JavaScript worker became Ready.
  • Confirmed JavaScript execution succeeds and a Python request returns HTTP 400 with language is not enabled.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-02T21:38:28.512205Z 62a611d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mxschmitt
mxschmitt merged commit 965b42e into main Sep 2, 2026
11 checks passed
@mxschmitt
mxschmitt deleted the feat/configurable-worker-languages branch September 2, 2026 22:02
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