-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Right now, structure for task caching is like this:
{
files: Record<string, { // here, string being the file name
tasks: { failed: boolean, command: string }
}>
}Which causes uncached tasks if we change the order of tasks. A task's output usually doesn't depend on the order we run them, I know that if you changed some variables in the system or you did something tricky it'll change then, but usually it'll not. In the case where it affects you, you can say no to skipping then, there's no cost of pressing don't skip. But there's a cost when you don't skip a task you can skip.
To resolve this, we'll change the structure as below:
{
files: Record<string, { // here, string being the file name
tasks: Record<string, {failed: boolean}> // here, string being the command we run
}>
}We use { failed: boolean } instead of just boolean, because at some point I believe we might add other fields, but it's not clear yet. So we can use only a boolean at the moment.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested