containers: Add container and test Containers interceptOutboundHttp#12649
containers: Add container and test Containers interceptOutboundHttp#12649emily-shen merged 6 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: ee032d7 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
|
Claude finished @gabivlj's task —— View job Changeset Review✅ All changesets look good The changeset in
This is a polar bear. Very close to the camera. Doing a heckin good sniff. Magnificent snoot. 14/10 would definitely not try to pet. |
9a0ba3f to
ac8c8f6
Compare
a1f1fa4 to
21213a3
Compare
7e0dafc to
3a03fb4
Compare
4e9cd56 to
38fce29
Compare
38fce29 to
1bf6fa5
Compare
|
File: Issue: Insufficient opt-in instructions for experimental feature The changeset correctly uses The current description says:
This is too vague. The changeset should name the specific compatibility flag (e.g. Suggested improvement: Add experimental support for containers to workers communication with interceptOutboundHttp
This feature is experimental. To opt in, add the `<specific-flag-name>` compatibility flag to your `wrangler.json`:
```json
{
"compatibility_flags": ["<specific-flag-name>"]
} |
1bf6fa5 to
2ded211
Compare
emily-shen
left a comment
There was a problem hiding this comment.
and i've manually tested this on macOS and it works great 🎉
2fe4952 to
e766863
Compare
Changes in owned files since last approval
|
Codeowners approval required for this PR:
Show detailed file reviewers |
…etwork interception in local dev (experimental-only) This is part of the work in allowing network interception for containers.
…ess image, and add changeset
WRANGLER_CONTAINER_EGRESS_IMAGE env variable
e766863 to
ee032d7
Compare
Changes in owned files since last approval
Adds configuration backed by a experimental flag to allow direct communication to Workers from Containers.
There is an example in the integration test, how this feature works is that you can now define a HTTP IP:port mapping to a WorkerEntrypoint. All requests done in the container to that endpoint end up spawning a Worker to serve the request.
To enable this feature, use the experimental flag
experimentalin the configuration.You can also use the very convenient:
It won't work with HTTPS yet, of course. Stay tuned for that.
Note: This feature is experimental and subject to change.
A picture of a cute animal (not mandatory, but encouraged)
