Skip to content

[wrangler] Add date filters to workflows instances list - #15353

Merged
pombosilva merged 4 commits into
mainfrom
osilva/workflows-list-date-filters
Sep 1, 2026
Merged

[wrangler] Add date filters to workflows instances list#15353
pombosilva merged 4 commits into
mainfrom
osilva/workflows-list-date-filters

Conversation

@pombosilva

@pombosilva pombosilva commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Fixes WOR-180.

Adds --date-start and --date-end to wrangler workflows instances list, exposing the Workflows API's existing date_start/date_end query params and implementing equivalent filtering in Miniflare's local explorer so --local behaves the same as remote.


  • 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: It's automatic

A picture of a cute animal (not mandatory, but encouraged)


Open in Devin Review
@changeset-bot

changeset-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 66e612e

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

This PR includes changesets to release 8 packages
Name Type
wrangler Minor
miniflare Minor
@cloudflare/vite-plugin Patch
@cloudflare/vitest-plugin Patch
@cloudflare/deploy-helpers Patch
@cloudflare/pages-shared Patch
@cloudflare/remote-bindings Patch
@cloudflare/runtime-types 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 Aug 25, 2026
@workers-devprod
workers-devprod requested review from a team and edmundhung and removed request for a team August 25, 2026 14:49
@workers-devprod

workers-devprod commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers
@pombosilva
pombosilva requested review from NuroDev and deloreyj and removed request for edmundhung August 25, 2026 14:49
ask-bonk[bot]

This comment was marked as resolved.

@ask-bonk

ask-bonk Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

I'm Bonk, and I've done a quick review of your PR.

Adds date-range filtering to workflow instance listings locally and remotely.

  1. P1: Posted 1 inline suggestion.

github run

@pkg-pr-new

pkg-pr-new Bot commented Aug 25, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

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

@cloudflare/build-output-utils

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

@cloudflare/codemods

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

@cloudflare/config

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

create-cloudflare

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

@cloudflare/deploy-helpers

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-functions

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-plugin

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

@cloudflare/workers-auth

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: 66e612e

@pombosilva
pombosilva force-pushed the osilva/workflows-list-date-filters branch from e5de265 to d4d9763 Compare August 25, 2026 15:08
@pombosilva
pombosilva force-pushed the osilva/workflows-list-date-filters branch from d4d9763 to 202e3cd Compare August 25, 2026 15:57
Comment thread packages/miniflare/src/workers/local-explorer/resources/workflows.ts Outdated
devin-ai-integration[bot]

This comment was marked as resolved.

@pombosilva
pombosilva force-pushed the osilva/workflows-list-date-filters branch from d3490ed to 81c02c7 Compare August 26, 2026 09:38
devin-ai-integration[bot]

This comment was marked as resolved.

@pombosilva
pombosilva force-pushed the osilva/workflows-list-date-filters branch from 81c02c7 to e3f4e41 Compare August 26, 2026 10:38
@dario-piotrowicz
dario-piotrowicz requested review from dario-piotrowicz and removed request for NuroDev August 28, 2026 14:19

@dario-piotrowicz dario-piotrowicz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM with some small suggestions 🙂

Comment thread packages/miniflare/src/workers/local-explorer/resources/workflows.ts Outdated
Comment thread packages/wrangler/src/workflows/utils.ts Outdated
Comment thread packages/wrangler/src/workflows/commands/instances/list.ts Outdated
Comment thread packages/miniflare/test/plugins/workflows/index.spec.ts Outdated
Comment thread .changeset/purple-otters-filter.md Outdated

@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

Co-authored-by: Dario Piotrowicz <dario@cloudflare.com>
devin-ai-integration[bot]

This comment was marked as resolved.

@workers-devprod

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers
@pombosilva
pombosilva merged commit 87a7acf into main Sep 1, 2026
62 of 63 checks passed
@pombosilva
pombosilva deleted the osilva/workflows-list-date-filters branch September 1, 2026 09:17
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in workers-sdk Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants