Skip to content

Conversation

sommeeeer
Copy link
Collaborator

For opennextjs/opennextjs-aws#952

Pass along the original AbortSignal to the wrapper.

Will make request.signal.onabort work in route handlers.

Should also close #691

Copy link

changeset-bot bot commented Aug 12, 2025

🦋 Changeset detected

Latest commit: 20730c3

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

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Minor

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

Copy link

pkg-pr-new bot commented Aug 12, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/cloudflare@848

commit: 20730c3

@sommeeeer
Copy link
Collaborator Author

Thanks for the review James!

@sommeeeer sommeeeer requested a review from conico974 August 13, 2025 18:31
Copy link
Collaborator

@conico974 conico974 left a comment

Choose a reason for hiding this comment

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

LGTM, but it will need to wait for the next version of aws to be released.
I'll do one release later today

@vicb
Copy link
Contributor

vicb commented Aug 25, 2025

Hey,

I'm back from vacation!

Thanks @sommeeeer for working on this, I'll update aws soon.

Can #847 be closed and this one used instead?

@sommeeeer
Copy link
Collaborator Author

Welcome back @vicb ! Yeah, I'll close that one right now.

@sommeeeer sommeeeer requested review from vicb and conico974 August 27, 2025 22:36
@vicb
Copy link
Contributor

vicb commented Aug 28, 2025

Changes LGTM but we need to bump aws before merging this I think?
See #858

@sommeeeer
Copy link
Collaborator Author

Thanks for the review Victor. Yeah, it needs latest AWS

@vicb vicb force-pushed the for-request-signal-onabort branch from 618a3e7 to 98e6d7d Compare September 1, 2025 07:00
@vicb
Copy link
Contributor

vicb commented Sep 1, 2025

rebased on HEAD (aws 3.7.6)

@vicb vicb changed the title add: Ensure that the initial request.signal is passed to the wrapper Ensure that the initial request.signal is passed to the wrapper Sep 1, 2025
@sommeeeer sommeeeer requested a review from vicb September 1, 2025 07:36
Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

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

Thanks for the update @sommeeeer, let's merge as CI gets green!

@vicb vicb merged commit f80c801 into opennextjs:main Sep 1, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] request.signal.onabort is never triggered
4 participants