Skip to content

Conversation

@anonrig
Copy link
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
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
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
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 2 times, most recently from 5bb0f71 to 3eb83e4 Compare February 3, 2026 18:27
@anonrig anonrig force-pushed the yagiz/add-opennextjs-test branch from 3eb83e4 to 3e0019f Compare February 3, 2026 19:01
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.

4 participants