Skip to content

[Feature Request] Add/Remove dependency to task #649

Description

@Knalltuete5000

A detailed description of the feature you would like to see added.

I would like to have the ability to edit the dependencies of a task in the queue. Waiting for some tasks is a nice feature but I would like to have the ability to adjust the dependent for a tasks, e.g. a queued task is not required any more but a task depends on the unnecessary task. The task cannot be removed.

Explain your usecase of the requested feature

I currently have the usecase that I have enqueued lost of long running tasks. These tasks write their results to a remote storage. There is then one task waiting for all other tasks to fetch the results and aggregate them.
For some reason I am able to run some of the tasks on other machines and want to remove the task from the queue as well from the dependency list of the single waiting task.

Alternatives

I have currently not found any. Via pueue edit the dependencies cannot be adjusted

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    s: DaemonThis issue touches pueue daemons: Pueue-libThis issue touches the pueue-lib libraryt: FeatureA new feature that needs implementation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions