You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Having a dependent task that should get the script file from the remote HTTP server (remote task) doesn't pull the script from the remote HTTP.
$ MISE_VERBOSE=1 mise run build
DEBUG ARGS: mise run build
DEBUG EnvResults
DEBUG config: mise.toml
DEBUG EnvResults
DEBUG EnvResults
DEBUG GET Downloading http://localhost/go/build.sh to /var/folders/vg/q506yms11jddllltmt01mthm0000gp/T/.tmpBjmV3m/build.sh
DEBUG GET http://localhost/go/build.sh
DEBUG starting new connection: http://localhost/
DEBUG GET http://localhost/go/build.sh 200 OK
DEBUG EnvResults
DEBUG read_to_string: "http://localhost/go/test.sh"
DEBUG failed to parse task file with usage: No such file or directory (os error 2)
File: http://localhost/go/test.sh
[test] $ http://localhost/go/test.sh
DEBUG $ sh http://localhost/go/test.sh
sh: http://localhost/go/test.sh: No such file or directory
[test] ERROR task failed
DEBUG exiting with code: 127
Running the test task separately works:
$ MISE_VERBOSE=1 mise run test
DEBUG ARGS: mise run test
DEBUG EnvResults
DEBUG config: mise.toml
DEBUG EnvResults
DEBUG EnvResults
DEBUG GET Downloading http://localhost/go/test.sh to /var/folders/vg/q506yms11jddllltmt01mthm0000gp/T/.tmpZvV96O/test.sh
DEBUG GET http://localhost/go/test.sh
DEBUG starting new connection: http://localhost/
DEBUG GET http://localhost/go/test.sh 200 OK
DEBUG EnvResults
DEBUG read_to_string: "/var/folders/vg/q506yms11jddllltmt01mthm0000gp/T/.tmpZvV96O/test.sh"
[test] $ /var/folders/vg/q506yms11jddllltmt01mthm0000gp/T/.tmpZvV96O/test.sh
DEBUG $ /var/folders/vg/q506yms11jddllltmt01mthm0000gp/T/.tmpZvV96O/test.sh
ok command-line-arguments 0.213s
Expected behavior
Running the dependent task should be able to be downloaded from the remote server.
This discussion was converted from issue #3847 on December 27, 2024 19:03.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the bug
Having a dependent task that should get the script file from the remote HTTP server (remote task) doesn't pull the script from the remote HTTP.
To Reproduce
mise.toml file:
Output of failure
Running the
test
task separately works:Expected behavior
Running the dependent task should be able to be downloaded from the remote server.
mise doctor
outputBeta Was this translation helpful? Give feedback.
All reactions