refactor derivation goals / Worker::makeGoalCommon #539

Open
opened 2024-10-04 17:49:40 +00:00 by pennae · 0 comments
Owner

derivation goals' addWantedOutputs is supremely sketchy and indicative of design mistakes. this function leads to the modify callback in makeGoalCommon existing at all, which is only needed for derivation goals (the substitution goals are already well-behaved).

goals should not be forced to restart after they have started work(), which is what addWantedOutputs implicitly does.

cf cl/2020 comments

derivation goals' `addWantedOutputs` is supremely sketchy and indicative of design mistakes. this function leads to the `modify` callback in `makeGoalCommon` existing at all, which is only needed for derivation goals (the substitution goals are already well-behaved). goals should not be forced to restart after they have started `work()`, which is what `addWantedOutputs` implicitly does. cf cl/2020 comments
jade added the
devx
label 2024-10-20 00:58:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#539
No description provided.