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

skip tasks if inputs are unchanged? #61

Open
amonks opened this issue Jul 21, 2023 · 0 comments
Open

skip tasks if inputs are unchanged? #61

amonks opened this issue Jul 21, 2023 · 0 comments
Labels
idea Maybe we should build something like this? needs thought We have some decisions to make before moving on this.

Comments

@amonks
Copy link
Owner

amonks commented Jul 21, 2023

this sort of feature is a staple of this sort of task running system, but adds a lot of user-facing complexity

  • we'd need some persistent state between runs
  • tasks would need to specify the files they depend on
  • we'd need to dirhash those files and put them in the state
  • we'd need to skip tasks if the hash hadn't changed

I feel like there's more complexity to this, but those steps are the obvious ones off the top of my head

just adding persistent state is a pretty significant change (not, like, difficult, but significant)

@amonks amonks added enhancement New feature or request needs thought We have some decisions to make before moving on this. labels Jul 21, 2023
@amonks amonks changed the title skip tasks if inputs are unchanged skip tasks if inputs are unchanged? Jul 21, 2023
@amonks amonks added idea Maybe we should build something like this? and removed enhancement New feature or request labels Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Maybe we should build something like this? needs thought We have some decisions to make before moving on this.
Projects
None yet
Development

No branches or pull requests

1 participant