Skip to content

test(wrangler): use durable object scheduling in exports container e2e test - #17360

Merged
NuroDev merged 1 commit into
mainfrom
NuroDev/wrangler-e2e-ci-failure-7345b9
Dec 3, 2026
Merged

NuroDev merged 1 commit into
mainfrom
NuroDev/wrangler-e2e-ci-failure-7345b9

Conversation

@NuroDev

@NuroDev NuroDev commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Fixes the Wrangler E2E failures on the Version Packages PR (#17313).

#16694 added a DEPRECATED: Legacy container scheduling warning for containers using the default scheduling policy. The durable-objects-exports E2E test "accepts a container that is referenced from a Durable Object export" runs wrangler deploy --dry-run with a legacy container config and asserts stderr is empty, so it now fails on every OS.

This switches that test's container to scheduling_policy: "durable_object" (dropping image/max_instances, which are not allowed in that mode). The test still verifies the container is linked via exports and listed in the dry-run output. The real-deploy tests further down still cover the legacy shape.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: test-only change

Note

This is a contribution from an AI agent: Claude Code, Claude Opus 5.5.

🤖 Generated with Claude Code


Devin Review

…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>
@changeset-bot

changeset-bot Bot commented Dec 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fefae27

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Dec 3, 2026
@workers-devprod
workers-devprod requested review from a team and jamesopstad and removed request for a team December 3, 2026 18:31
@workers-devprod

workers-devprod commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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

@NuroDev
NuroDev enabled auto-merge (squash) December 3, 2026 18:33
@NuroDev NuroDev added the ci:no-changeset-required Skip pull request checks for a valid changeset label Dec 3, 2026
@pkg-pr-new

pkg-pr-new Bot commented Dec 3, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@17360

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@17360

@cloudflare/cli-shared-helpers

npm i https://pkg.pr.new/@cloudflare/cli-shared-helpers@17360

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@17360

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@17360

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@17360

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@17360

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@17360

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@17360

miniflare

npm i https://pkg.pr.new/miniflare@17360

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@17360

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@17360

@cloudflare/runtime-types

npm i https://pkg.pr.new/@cloudflare/runtime-types@17360

@cloudflare/test-server

npm i https://pkg.pr.new/@cloudflare/test-server@17360

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@17360

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@17360

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@17360

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@17360

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@17360

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@17360

wrangler

npm i https://pkg.pr.new/wrangler@17360

commit: fefae27

@ask-bonk

ask-bonk Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@NuroDev
NuroDev merged commit 02dc0c0 into main Dec 3, 2026
124 of 129 checks passed
@NuroDev
NuroDev deleted the NuroDev/wrangler-e2e-ci-failure-7345b9 branch December 3, 2026 19:01
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in workers-sdk Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:no-changeset-required Skip pull request checks for a valid changeset

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants