Open UestcCarpediem opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.83%. Comparing base (
64bb78c
) to head (7c0150f
). Report is 3 commits behind head on master.:exclamation: Current head 7c0150f differs from pull request most recent head 51ad513. Consider uploading reports for the commit 51ad513 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This update introduces enhancements to the binary synchronization feature. A new interface, CreateSyncBinaryTaskData
, has been added to better manage sync tasks with an optional full directory diff. Additionally, a function to determine operation times for diffs and a configuration option to enable this feature have been implemented. Finally, a test case ensures the integrity and functionality of these changes, focusing on the full directory diff operation's simulation.
Files | Change Summary |
---|---|
.../entity/Task.ts , .../service/BinarySyncerService.ts |
Introduced CreateSyncBinaryTaskData interface and CreateSyncBinaryTask type for enhanced sync operations. |
.../schedule/CreateSyncBinaryTask.ts |
Added isBetween2and205AM function to manage timing for full binary diffs. |
config/binaries.ts |
Updated BinaryTaskConfig with enableFullDiff to toggle full directory diffs. |
test/.../BinarySyncerService/executeTask.test.ts |
Added test case for simulating full directory diff in sync operations. |
🐰💻
In the land of code and binary streams,
A rabbit hopped, chasing its dreams.
With tasks and diffs, it danced in the night,
Syncing the binaries, making them right.
Between 2 and 205, under the moon's soft gleam,
It worked in silence, a coder's dream.
🌙✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
657 在diff方法中添加full diff,在每日凌晨两点创建full diff任务,全量校验
Summary by CodeRabbit