Feature: Background task support
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 168
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Long-running tasks like deno --watch or servers can be useful to depend on to ensure they are initialized along with the task being run.
It could be useful to support a background = true option for tasks, where the task is invoked, but completion is not waited on before trrigering the parent task that depends on it.
Further, it can be useful to have the ability to automatically restart the task when it fails or to have background tasks that get restarted when their dependencies change. Perhaps background = 'watched' or background = 'keepalive' could be useful ways to achieve these.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named in the issue. Start by locating how task invocation and parent-task dependencies are handled, then define the expected behavior for background, watched, and keepalive modes and add coverage showing when dependent tasks may start and how failed tasks restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno, rust
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100