next.js
Turbopack: run tasks with priority based on distance to leaf
#87662
Merged
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
26
Changes
View On
GitHub
Turbopack: run tasks with priority based on distance to leaf
#87662
sokra
merged 26 commits into
canary
from
sokra/task-prio
nextjs-bot
added
created-by: Turbopack team
nextjs-bot
added
Turbopack
sokra
changed the title
Turbopack: compute leaf distance
Turbopack: run tasks with priority based on distance to leaf
344 days ago
diffray-bot
commented on 2025-12-24
sokra
changed the base branch from
sokra/fs-no-blocking-task
to
graphite-base/87662
330 days ago
sokra
force pushed
from
2795c1be
to
7182c97e
330 days ago
sokra
changed the base branch from
graphite-base/87662
to
sokra/deterministic-graph-traversal
330 days ago
sokra
force pushed
from
7182c97e
to
39f22a55
328 days ago
sokra
marked this pull request as ready for review
328 days ago
sokra
requested a review
from
bgw
328 days ago
sokra
requested a review
from
lukesandberg
328 days ago
sokra
requested a review
from
mischnic
328 days ago
sokra
changed the base branch from
sokra/deterministic-graph-traversal
to
graphite-base/87662
328 days ago
sokra
force pushed
from
39f22a55
to
def06b27
328 days ago
sokra
changed the base branch from
graphite-base/87662
to
sokra/fix-trace-cut-off-depth
328 days ago
sokra
force pushed
from
def06b27
to
52728507
327 days ago
sokra
changed the base branch from
sokra/fix-trace-cut-off-depth
to
graphite-base/87662
327 days ago
sokra
force pushed
from
52728507
327 days ago
graphite-app
changed the base branch from
graphite-base/87662
to
canary
327 days ago
sokra
force pushed
to
9e065a66
327 days ago
sokra
changed the base branch from
canary
to
graphite-base/87662
326 days ago
sokra
force pushed
from
9e065a66
to
22988cb4
326 days ago
sokra
changed the base branch from
graphite-base/87662
to
sokra/trace-stale-point
326 days ago
sokra
changed the base branch from
sokra/trace-stale-point
to
graphite-base/87662
326 days ago
sokra
force pushed
from
22988cb4
to
bba22c0a
326 days ago
sokra
changed the base branch from
graphite-base/87662
to
sokra/selective-unused-references
326 days ago
sokra
force pushed
from
bba22c0a
to
17d5b7ba
323 days ago
sokra
changed the base branch from
sokra/selective-unused-references
to
graphite-base/87662
322 days ago
sokra
force pushed
from
17d5b7ba
to
dc1a1197
322 days ago
sokra
changed the base branch from
graphite-base/87662
to
sokra/selective-unused-references
322 days ago
sokra
force pushed
from
dc1a1197
to
dad1033c
322 days ago
sokra
changed the base branch from
sokra/selective-unused-references
to
graphite-base/87662
322 days ago
sokra
force pushed
from
dad1033c
322 days ago
sokra
changed the base branch from
graphite-base/87662
to
sokra/parallel-backend
322 days ago
sokra
changed the base branch from
sokra/parallel-backend
to
graphite-base/87662
322 days ago
sokra
force pushed
322 days ago
graphite-app
changed the base branch from
graphite-base/87662
to
canary
322 days ago
sokra
force pushed
to
b9232ff4
322 days ago
mischnic
commented on 2026-01-14
sokra
force pushed
from
b9232ff4
to
ed8085ea
321 days ago
sokra
commented on 2026-01-14
sokra
commented on 2026-01-14
sokra
commented on 2026-01-14
sokra
force pushed
to
61bba096
321 days ago
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
lukesandberg
commented on 2026-01-14
sokra
force pushed
from
61bba096
to
dc7925e4
320 days ago
sokra
force pushed
from
dc7925e4
to
fab4f109
320 days ago
sokra
requested a review
from
mischnic
320 days ago
mischnic
approved these changes on 2026-01-15
Turbopack: compute leaf distance
9463d551
Turbopack: run tasks with priority
af61b0f2
remove debug logging
91cc928a
set priority based on leaf distance
38989e09
Inherit priority from invalidating task
fc8dd978
fix priority inferring to use priority when invalidating the task ins…
26ce0f1d
use parent priority for new tasks during invalidations
bf479df8
WIP: add trace_task_details
5bdde51b
remove debug flags
92c5c6c6
add comments to magic numbers
9965b9c6
clippy
0de986f6
fix priority inferring to use priority when invalidating the task ins…
26ce0f1d
use parent priority for new tasks during invalidations
bf479df8
WIP: add trace_task_details
5bdde51b
remove debug flags
92c5c6c6
add comments to magic numbers
9965b9c6
fixups
170a1ddc
fix priority of newly added task and tasks invalidated by session
c5cab05d
fixup
fb69d82f
remove leaf update queue for cell dependent
644b9339
use helper method
cb501be1
remove InnerState
01d3b3e4
fixup
d1f2861e
improve priority runner
52238ef7
add yielding and test case for interleaving cpu and waiting tasks
b93c3882
fixup
4afc84c2
test case stability
a722d4ed
Only yield every 5ms
6014f6e6
shrink the queue if needed
2e0b1f49
avoid frequent reallocations
2640342c
sokra
force pushed
to
2640342c
320 days ago
sokra
merged
125b7d89
into canary
320 days ago
sokra
deleted the sokra/task-prio branch
320 days ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
306 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
mischnic
lukesandberg
diffray-bot
bgw
Assignees
No one assigned
Labels
Turbopack
created-by: Turbopack team
locked
Milestone
No milestone
Login to write a write a comment.
Login via GitHub