Skip to content

[miniflare] Capture Workflows invocations in local observability - #14914

Merged
NuroDev merged 3 commits into
cloudflare:mainfrom
nickpatt:wobs-tail-workflow-invocations
Jul 30, 2026
Merged

[miniflare] Capture Workflows invocations in local observability#14914
NuroDev merged 3 commits into
cloudflare:mainfrom
nickpatt:wobs-tail-workflow-invocations

Conversation

@nickpatt

@nickpatt nickpatt commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

What

Workflows now show up in the Local Explorer when local observability is on (X_LOCAL_OBSERVABILITY=true). Previously a workflow run left no trace at all.

Why

The trace collector attaches to every user Worker, but a Workflow runs in a separate engine service that was never wired up — so its activity was invisible. This attaches the collector to that engine service too (only when observability is enabled).


  • 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: local observability is still experimental (behind the X_LOCAL_OBSERVABILITY opt-in) and isn't documented yet.

@changeset-bot

changeset-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 781d113

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
miniflare Patch
@cloudflare/deploy-helpers Patch
@cloudflare/pages-shared Patch
@cloudflare/remote-bindings Patch
@cloudflare/runtime-types Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-pool-workers Patch
wrangler Patch

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

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Jul 29, 2026
@workers-devprod
workers-devprod requested review from a team and emily-shen and removed request for a team July 29, 2026 15:37
@workers-devprod

workers-devprod commented Jul 29, 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: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@pkg-pr-new

pkg-pr-new Bot commented Jul 29, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

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

@cloudflare/config

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

create-cloudflare

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

@cloudflare/deploy-helpers

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-functions

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-auth

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: 781d113

@nickpatt
nickpatt force-pushed the wobs-tail-workflow-invocations branch from 422c0f2 to 9125cec Compare July 29, 2026 16:08
Comment thread packages/miniflare/test/plugins/core/observability.spec.ts

@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

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Jul 30, 2026
@NuroDev
NuroDev enabled auto-merge (squash) July 30, 2026 13:05
@NuroDev
NuroDev merged commit 1f61001 into cloudflare:main Jul 30, 2026
59 of 60 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants