Skip to content

Turbopack: make another callback return a result - #80608

Merged
mischnic merged 1 commit into
canaryfrom
mischnic/traverse-callback-result
Jun 17, 2025
Merged

Turbopack: make another callback return a result#80608
mischnic merged 1 commit into
canaryfrom
mischnic/traverse-callback-result

Conversation

@mischnic

@mischnic mischnic commented Jun 17, 2025

Copy link
Copy Markdown
Member

We already do this in a bunch of these callbacks, because sometimes you have some Option<> in there that you know is always set. Except for eventual consistency, unfortunately. That's the main usecase for a result here.

Closes PACK-4848

@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. Turbopack Related to Turbopack with Next.js. labels Jun 17, 2025

mischnic commented Jun 17, 2025

Copy link
Copy Markdown
Member Author

@mischnic
mischnic marked this pull request as ready for review June 17, 2025 10:16
@mischnic
mischnic requested a review from a team June 17, 2025 10:16
@mischnic
mischnic force-pushed the mischnic/traverse-callback-result branch from 7025320 to 1cc5467 Compare June 17, 2025 10:44
@codspeed-hq

codspeed-hq Bot commented Jun 17, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #80608 will not alter performance

Comparing mischnic/traverse-callback-result (1cc5467) with canary (bc385a0)

Summary

✅ 12 untouched benchmarks

@lukesandberg lukesandberg 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.

ah, eventual consistency...

@mischnic
mischnic merged commit 19762ee into canary Jun 17, 2025
@mischnic
mischnic deleted the mischnic/traverse-callback-result branch June 17, 2025 18:32
@github-actions github-actions Bot added the locked label Jul 4, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Turbopack team PRs by the Turbopack team. locked Turbopack Related to Turbopack with Next.js.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants