fix(build): Add missing Spider scheduler and worker binaries to task package's source list (fixes #1409).#1416
Conversation
WalkthroughAdded two new build sources, spider_scheduler and spider_worker, to the package assembly in taskfile.yaml, extending package contents and checksum generation to include these Spider components. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
(Just to show that we've considered this alternative -) one option is to have deps:spider generate a checksum file, which the package task could then reference as a single source instead of listing individual binaries. This approach might depend on the work in #1415.
Personally, I find the current approach in this PR cleaner - explicitly adding the binaries to the source list keeps the package task relatively self-contained and easier to reason about.
For the title, how about:
fix(build): Add missing Spider scheduler and worker binaries to task `package`'s source list (fixes #1409).
|
@junhaoliao What about |
package sources.package's source list (fixes #1409).
|
…`package`'s source list (fixes y-scope#1409). (y-scope#1416)
Description
This PR resolves #1409 by adding
spider_schedulerandspider_workerto thepackagetask'ssourceslist, so the package will rerun if either executable changes.Checklist
breaking change.
Validation performed
packagetask.Summary by CodeRabbit
New Features
Chores