Skip to content

Correctly mock out getDockerImageDigest for testing buildAndMaybePush #9636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

IRCody
Copy link
Contributor

@IRCody IRCody commented Jun 17, 2025

Fixes a test for cc buildAndMaybePush that was failing because runDockerCmd was being called twice.

  • Tests
    • TODO (before merge)
    • Tests included
    • Tests not necessary because:
  • Wrangler / Vite E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
    • I don't know
    • Required
    • Not required because: non e2e test change only.
  • Public documentation
    • TODO (before merge)
    • Cloudflare docs PR(s):
    • Documentation not necessary because: test change only
  • Wrangler V3 Backport
    • TODO (before merge)
    • Wrangler PR:
    • Not necessary because: test doesn't exist in v3.

Copy link

changeset-bot bot commented Jun 17, 2025

⚠️ No Changeset found

Latest commit: f55b726

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

Copy link

pkg-pr-new bot commented Jun 17, 2025

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@9636

@cloudflare/workers-editor-shared

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

wrangler

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

commit: f55b726

@IRCody IRCody marked this pull request as ready for review June 17, 2025 17:02
@IRCody IRCody requested a review from a team as a code owner June 17, 2025 17:02
@CarmenPopoviciu CarmenPopoviciu added the every-os Run tests (unit/e2e/c3-e2e) on every OS, rather than just macOS label Jun 17, 2025
@CarmenPopoviciu CarmenPopoviciu added skip-pr-description-validation Skip validation of the required PR description format labels Jun 17, 2025
@anonrig anonrig enabled auto-merge June 17, 2025 17:58
@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Jun 17, 2025
@CarmenPopoviciu CarmenPopoviciu disabled auto-merge June 17, 2025 18:00
@CarmenPopoviciu CarmenPopoviciu disabled auto-merge June 17, 2025 18:21
@CarmenPopoviciu CarmenPopoviciu merged commit 8e6bf09 into main Jun 17, 2025
79 of 100 checks passed
@CarmenPopoviciu CarmenPopoviciu deleted the cdr/fix-build-test branch June 17, 2025 18:22
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Jun 17, 2025
jseba added a commit to jseba/workers-sdk that referenced this pull request Jun 18, 2025
…seba/containers_scope

* 'main' of ssh://github.com/cloudflare/workers-sdk: (31 commits)
  Refactor preview mode and ensure compatibility with Vite 7 (cloudflare#9647)
  Block requests vulnerable to opennext vulnerability (cloudflare#9635)
  Add test for cloudchamber buildAndMaybePush (cloudflare#9638)
  chore: remove redundant binding guide superseded by internal docs (cloudflare#9648)
  add changeset to trigger release of workers/pages projects (cloudflare#9649)
  Add @handler to Python templates. (cloudflare#9305)
  Migrate from unbuild to obuild (cloudflare#9243)
  Version Packages (cloudflare#9650)
  fix changeset (cloudflare#9651)
  containers: Default scheduling policy should be the default (cloudflare#9621)
  Rename Mixed Mode to remote proxy/remote bindings depending on context (cloudflare#9586)
  Version Packages (cloudflare#9632)
  Correctly mock out getDockerImageDigest for testing buildAndMaybePush (cloudflare#9636)
  [C3] Bump create-remix from 2.16.6 to 2.16.8 in /packages/create-cloudflare/src/frameworks (cloudflare#9525)
  Remove "Cloudchamber" from user facing error messages (cloudflare#9628)
  sync local containers with latest workerd (cloudflare#9576)
  Bump the workerd-and-workers-types group with 2 updates (cloudflare#9591)
  [C3] Bump gatsby from 5.14.3 to 5.14.4 in /packages/create-cloudflare/src/frameworks (cloudflare#9524)
  [C3] Bump create-react-router from 7.6.1 to 7.6.2 in /packages/create-cloudflare/src/frameworks (cloudflare#9526)
  [C3] Bump create-docusaurus from 3.8.0 to 3.8.1 in /packages/create-cloudflare/src/frameworks (cloudflare#9527)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
every-os Run tests (unit/e2e/c3-e2e) on every OS, rather than just macOS skip-pr-description-validation Skip validation of the required PR description format
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants