Description
A previous fix (#2985) added error handling for file truncation in the data package watcher. The fix exists but packages/data/src/watcher.ts lacks an inline comment explaining the truncation recovery strategy, and no unit test covers this path.
Expected behavior
Add a comment block and a unit test that simulates truncation mid-stream.
Priority
low
Description
A previous fix (#2985) added error handling for file truncation in the data package watcher. The fix exists but
packages/data/src/watcher.tslacks an inline comment explaining the truncation recovery strategy, and no unit test covers this path.Expected behavior
Add a comment block and a unit test that simulates truncation mid-stream.
Priority
low