Skip to content

add opennextjs streaming tests#5993

Merged
anonrig merged 1 commit intomainfrom
yagiz/add-opennextjs-test
Feb 6, 2026
Merged

add opennextjs streaming tests#5993
anonrig merged 1 commit intomainfrom
yagiz/add-opennextjs-test

Conversation

@anonrig
Copy link
Copy Markdown
Member

@anonrig anonrig commented Jan 29, 2026

Related Task: EW-10513

Added a task with the help of AI to write some tests using a real opennextjs bundle. Added a REAADME for generating them later on. PS: I've trimmed as much as I can from the output that isn't important to us (in this context).

@anonrig anonrig requested a review from jasnell January 29, 2026 21:12
@anonrig anonrig requested review from a team as code owners January 29, 2026 21:12
@anonrig anonrig requested a review from a team January 30, 2026 16:43
Copy link
Copy Markdown
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.

src/workerd/api/tests/opennextjs/README.md is gigantic :(

One way to simplify would be to use the migrate command created by @dario-piotrowicz recently.

Maybe something simpler would be to add an exemple in the ON repo and use that? I doubt the readme would be maintained here?

@jasnell
Copy link
Copy Markdown
Collaborator

jasnell commented Feb 2, 2026

186k+ lines are nearly impossible to adequately review. Is there a way to have much of this automated / generated dynamically by bazel at build time to cut down on the static file size, particular in the worker file?

@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from 22d3139 to 662ba49 Compare February 2, 2026 16:43
@anonrig anonrig requested a review from a team as a code owner February 2, 2026 16:43
@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from 662ba49 to 560b53d Compare February 3, 2026 18:22
@anonrig
Copy link
Copy Markdown
Member Author

anonrig commented Feb 3, 2026

@jasnell I've force-pushed and address all concerns. The changes are much more readable/reviewable now.

@anonrig anonrig requested review from danlapid, jasnell and vicb February 3, 2026 18:25
@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch 3 times, most recently from 3eb83e4 to 3e0019f Compare February 3, 2026 19:01
@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from e8303a9 to afa1db9 Compare February 5, 2026 19:05
@anonrig anonrig requested review from fhanau and vicb February 5, 2026 20:04
@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from afa1db9 to 0028776 Compare February 5, 2026 20:44
Copy link
Copy Markdown
Contributor

@fhanau fhanau left a comment

Choose a reason for hiding this comment

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

I think that's all of the concerns I had about the build changes – LGTM but someone familiar with the test changes should approve.

Copy link
Copy Markdown
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.

LGTM for the Next app - not familiar enough with bazel to review that part.

I added minor comments about idiomatic Next and flags

@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from 0028776 to ff7d244 Compare February 6, 2026 14:32
@codspeed-hq

This comment was marked as off-topic.

@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from ff7d244 to 4270776 Compare February 6, 2026 16:02
@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from 4270776 to 6854c87 Compare February 6, 2026 16:21
@anonrig anonrig merged commit de0026b into main Feb 6, 2026
22 checks passed
@anonrig anonrig deleted the yagiz/add-opennextjs-test branch February 6, 2026 16:49
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.

6 participants