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

Add TaskInstance and derive last #95

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Add TaskInstance and derive last #95

merged 5 commits into from
Jun 7, 2024

Conversation

beerinho
Copy link
Collaborator

WIP: still need to add tests and docs

This PR moves the task specific details into the TaskInstance interface and uses that to update the Task derived state

Closes #82
Closes #85
Closes #86
Closes #83

@beerinho
Copy link
Collaborator Author

@paoloricciuti, when you have a chance, please could you have a look at this and confirm you agree with the direction. I also wasn't sure where the best place for the tests were. On one hand it would be useful to have each task type tested here, but on the other hand it is more specifically testing the task.ts file to make sure the derived state is when we expect it to be.

I'll also be gone for the next 2 Fridays so please feel free to take this over if you have capacity

src/lib/task.ts Outdated Show resolved Hide resolved
@paoloricciuti paoloricciuti added the enhancement New feature or request label May 31, 2024
@paoloricciuti paoloricciuti marked this pull request as ready for review June 7, 2024 10:24
@paoloricciuti paoloricciuti merged commit 2812900 into main Jun 7, 2024
2 checks passed
@paoloricciuti paoloricciuti deleted the dbeer/add-last branch June 7, 2024 10:32
@github-actions github-actions bot mentioned this pull request Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add lastRunning add lastErrored add lastCanceled add last
2 participants