Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
cedfb53a
Unverified
Commit
cedfb53a
authored
Jan 23, 2026
by
Tobias Koppers
Committed by
GitHub
Jan 23, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turbopack: change invalidator and immutable to data category (#88889)
### What? save a few bits
parent
9e97759a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mod.rs
turbopack/crates/turbo-tasks-backend/src/backend/mod.rs
+1
-1
storage_schema.rs
.../crates/turbo-tasks-backend/src/backend/storage_schema.rs
+2
-2
No files found.
turbopack/crates/turbo-tasks-backend/src/backend/mod.rs
View file @
cedfb53a
...
...
@@ -2091,7 +2091,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
if
let
Some
(
dependencies
)
=
task_dependencies_for_immutable
&&
dependencies
.iter
()
.all
(|
&
task_id
|
ctx
.task
(
task_id
,
TaskDataCategory
::
Me
ta
)
.immutable
())
.all
(|
&
task_id
|
ctx
.task
(
task_id
,
TaskDataCategory
::
Da
ta
)
.immutable
())
{
is_now_immutable
=
true
;
}
...
...
turbopack/crates/turbo-tasks-backend/src/backend/storage_schema.rs
View file @
cedfb53a
...
...
@@ -133,11 +133,11 @@ struct TaskStorageSchema {
// Persisted flags come first, then transient flags.
// =========================================================================
/// Whether the task has an invalidator.
#[field(storage
=
"flag"
,
category
=
"
me
ta"
)]
#[field(storage
=
"flag"
,
category
=
"
da
ta"
)]
invalidator
:
bool
,
/// Whether the task output is immutable (persisted).
#[field(storage
=
"flag"
,
category
=
"
me
ta"
)]
#[field(storage
=
"flag"
,
category
=
"
da
ta"
)]
immutable
:
bool
,
/// Whether clean in current session (transient flag).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment