Skip to content

fix piece type inference for non-inline preparations#614

Merged
parkan merged 2 commits intomainfrom
hotfix/infer-piece-type
Feb 19, 2026
Merged

fix piece type inference for non-inline preparations#614
parkan merged 2 commits intomainfrom
hotfix/infer-piece-type

Conversation

@parkan
Copy link
Collaborator

@parkan parkan commented Feb 18, 2026

the migration heuristic only checked car_blocks.file_id to distinguish data vs dag pieces. non-inline preps don't store file refs in car_blocks (data is on disk), so all their pieces were misclassified as dag, oops

add num_of_files > 0 as a signal, which is only set by the pack job

props to casey for discovering this

parkan and others added 2 commits February 18, 2026 18:21
the migration heuristic only checked car_blocks.file_id to distinguish
data vs dag pieces. non-inline preps don't store file refs in car_blocks
(data is on disk), so all their pieces were misclassified as dag.

add num_of_files > 0 as a signal, which is only set by the packer.
@parkan
Copy link
Collaborator Author

parkan commented Feb 18, 2026

(this is totally on me, I failed to think about the materialized cars use case)

@parkan parkan merged commit db953c2 into main Feb 19, 2026
3 checks passed
@parkan parkan deleted the hotfix/infer-piece-type branch February 19, 2026 11:54
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.

2 participants

Comments