Repository navigation
test(wrangler): use durable object scheduling in exports container e2e test - #17360
Conversation
…e test The legacy container scheduling deprecation warning added in #16694 is written to stderr, breaking the dry-run test that asserts empty stderr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Codeowners approval required for this PR:
Show detailed file reviewers |
There was a problem hiding this comment.
✅ Approved — Test-only change that fixes the E2E failure caused by the legacy scheduling warning. The config is valid for the durable_object policy and the assertions still match the dry-run output.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
📋 Code Quality: ✅ LGTM
The config is valid with scheduling_policy: "durable_object" and a name. The legacy warning only fires for the default policy, so stderr stays empty. The dry-run output assertions still match.
Reviewed commit: fefae279
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/cli-shared-helpers
@cloudflare/codemods
@cloudflare/config
@cloudflare/containers-shared
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/runtime-types
@cloudflare/test-server
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
|
LGTM |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Fixes the Wrangler E2E failures on the Version Packages PR (#17313).
#16694 added a
DEPRECATED: Legacy container schedulingwarning for containers using the default scheduling policy. Thedurable-objects-exportsE2E test "accepts a container that is referenced from a Durable Object export" runswrangler deploy --dry-runwith a legacy container config and assertsstderris empty, so it now fails on every OS.This switches that test's container to
scheduling_policy: "durable_object"(droppingimage/max_instances, which are not allowed in that mode). The test still verifies the container is linked viaexportsand listed in the dry-run output. The real-deploy tests further down still cover the legacy shape.Note
This is a contribution from an AI agent: Claude Code, Claude Opus 5.5.
🤖 Generated with Claude Code