Adds docs and changelog for outbound Workers for Containers & Sandboxes#28846
Open
mikenomitch wants to merge 1 commit intoproductionfrom
Open
Adds docs and changelog for outbound Workers for Containers & Sandboxes#28846mikenomitch wants to merge 1 commit intoproductionfrom
mikenomitch wants to merge 1 commit intoproductionfrom
Conversation
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Contributor
gabivlj
reviewed
Mar 8, 2026
src/content/changelog/containers/2026-03-11-outbound-workers.mdx
Outdated
Show resolved
Hide resolved
gabivlj
reviewed
Mar 8, 2026
src/content/docs/containers/platform-details/outbound-workers.mdx
Outdated
Show resolved
Hide resolved
gabivlj
reviewed
Mar 8, 2026
|
Details around hostname resolution: On release people won't be able to just put made up hostnames on their containers by default. They either have to:
We are hoping to get this as soon as possible. |
5 tasks
e8d71d0 to
ed10b8b
Compare
gabivlj
reviewed
Mar 11, 2026
|
|
||
| - None. | ||
|
|
||
| ### `interceptAllOutboundHttp` |
There was a problem hiding this comment.
tyhere is two interceptAllOutboundHttp sections
gabivlj
reviewed
Mar 11, 2026
| `interceptAllOutboundHttp` routes all outbound HTTP requests from the container through a `WorkerEntrypoint`, regardless of destination. | ||
|
|
||
| ```js | ||
| const worker = this.ctx.exports.MyWorker(); |
There was a problem hiding this comment.
Suggested change
| const worker = this.ctx.exports.MyWorker(); | |
| const worker = this.ctx.exports.MyWorker({ props: {} }); |
gabivlj
reviewed
Mar 11, 2026
|
|
||
| `interceptAllOutboundHttp` routes all outbound HTTP requests from the container through a `WorkerEntrypoint`, regardless of destination. | ||
|
|
||
| ```js |
There was a problem hiding this comment.
Suggested change
| ```js | |
| ```js | |
| export class MyWorker extends WorkerEntrypoint { | |
| fetch() { | |
| return new Response('hello world!'); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Initial pass at docs for outbound Workers for Containers & Sandboxes
Documentation checklist