perf: avoid redundant bootstrap runs on commands #26
No reviewers
Labels
No labels
automerge
backend
bug
ci/tooling
dependencies
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
invalid
question
research
test-dependencies
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: marc/rotini#26
Loading…
Reference in a new issue
No description provided.
Delete branch "perf/avoid-redundant-bootstrap-runs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Running most commands depends on the environment's
bootstrap
step that makes sure that dependencies are set up. Previously, the step ran every time it's invoked, even if it ends up being a no-op (mostly).Even in no-op scenarios, work is being done to validate that dependencies are met, which isn't useful at all.
This leverages
sources
andgenerates
to keep track of env artifact checksums and skip bootstrap if already up-to-date.