A task that is used as depends_post for another task cannot have depends for itself.
#3949
Replies: 1 comment
|
I faced the same issue. The below example might be a minimal reproduction. ["util:donothing"]
run = ""
[hi]
depends = "util:donothing"
run = "echo hi"
depends_post = "util:donothing" |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
So I have a bunch of tasks for my project and you can see the output
mise tasks depsas belowbedrock └── login build chatbot ├── build └── login deploy ├── sentry │ └── build ├── build └── login login sentry └── build upload-prompt ├── bedrock │ └── login ├── chatbot │ ├── build │ └── login ├── deploy │ ├── sentry │ │ └── build │ ├── build │ └── login ├── login ├── build └── sentry └── buildWhat is interesting here is that the
upload-prompttasks actually doesn't have anydependsbut is used as adepends_postfordeploy. Somehow mise makes this task depend on all other tasks when used asdepends_post.If I add a
dependsto theupload-prompttask the cli just hangs.All reactions