Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recalculate cmds if deps change sources. #1571

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

trulede
Copy link

@trulede trulede commented Mar 31, 2024

Life cycle of a task is somewhat like this:

compile(generates cmds) -> run deps -> fingerprint(on sources) -> run

Cmds generated by 'for', and based on sources, are calculated at compile time. Unfortunately, if sources are generated by a dependency, then the cmds will be out-of-date by the time the task runs.

This PR regenerates the cmds in such a case. There might be a few other edge cases where a task needs to be updated between compile and run

#1494

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.

None yet

1 participant