Repository navigation
[local-explorer-ui][miniflare] Improve resending of emails from local explorer - #15567
Conversation
🦋 Changeset detectedLatest commit: 7461b76 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
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 |
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
@cloudflare/autoconfig
@cloudflare/build-output-utils
@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/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
penalosa
left a comment
There was a problem hiding this comment.
This is a very large PR, which makes it quite hard to review. I wonder if you'd be able to either:
- split it up into more reviewable chunks
- go through and do a review yourself, pointing out the bits that you think need special attention from reviewers/explaining the decisions you made along the way
tpmmorris
left a comment
There was a problem hiding this comment.
This PR is used to update local explorer's email group to make resend row-based, looking up emails in storage to resend the stored data. Implementation ensures local explorer instances running peers on older versions of miniflare can still operate.
Generated files and tests consume approx. +2200/-200 of the diff.
The primary implementation areas are:
- storage identity (capture ID introduction)
- server-side resend
- UI action availability + lifecycle
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2d5b2ab to
d38159d
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
|
Codeowners approval required for this PR:
Show detailed file reviewers |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
…lpha (#508) ## pnpm-workspace.yaml (default) ## Dependency Updates | Package | From | To | Type | | --- | --- | --- | --- | | `miniflare` | 5.20260921.0-alpha | 5.20260921.1-alpha | prerelease | ## Release Notes <details> <summary><b>miniflare</b> (5.20260921.0-alpha → 5.20260921.1-alpha)</summary> ### Minor Changes - [#15567](cloudflare/workers-sdk#15567) [`a71237a`](cloudflare/workers-sdk@a71237a) Thanks [@<!---->tpmmorris](https://github.com/tpmmorris)! - Add row-level email resend tools to the Local Explorer Routing captures can now be resent directly or loaded into the test email composer for editing. Routing rows expose and use a UUID-based capture ID for identity, detail lookup, and resend operations instead of relying on the email's Message-ID. Message-ID detail lookup remains available for compatibility, and resends preserve partial-capture warnings across replayed messages. ### Patch Changes - [#15806](cloudflare/workers-sdk#15806) [`8fade73`](cloudflare/workers-sdk@8fade73) Thanks [@<!---->NuroDev](https://github.com/NuroDev)! - Standardize Zod validation error output Format validation errors with Zod's built-in `prettifyError()` helper so Miniflare, Wrangler, the Vite plugin, and the Vitest plugin show consistent messages and property paths. </details> --- *This PR was auto-generated by [catalog-update-action](https://github.com/brandhaug/catalog-update-action).* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Updates Emails in Local Explorer
Previously, resending always sent the last successful email without the option to edit the email before sending. The new resending is row-by-row, with buttons available to 'edit and resend' or 'resend immediately' on any captured email. Emails can only be edited if they are provided by the 'Send Test Email' composer, rather than sent via the
/cdn-cgi/local/emailendpoint, which may have fields which can't be parsed to the composer.This allows users to quickly amend emails, or send the same email to an adjusted worker.