Open lunulu opened 5 months ago
that's a lot of versions :D
idk when this would have changed, good chance it's some random refactor that expected there to only be a single task name
... can you try a few inbetween versions to narrow it down to 1 specific version ?
... or check the code for a place where we should add a task.split(" ").each { |task|
Wasn't this on purpose? I remember stalling for a while on upgrading the gem because of pull #857 in the 3.9 release
Yes, I've checked. It's 3.9.0
Soo, how to execute this command now? Write a cycle in sh?
the api you are using seems valid, so we should change the code to support it
this could do it:
ParallelTests::Tasks.run_in_parallel([ParallelTests::Tasks.rake_bin, task_name], args)
->
ParallelTests::Tasks.run_in_parallel([ParallelTests::Tasks.rake_bin, *task_name.split(" ")], args)
can you try that locally ?
Using 4.6.1
I'm more thinking bundle open parallel_tests
and then change the source and retry
if it's tricky/not-working I can take a look soon ™️
Sorry, I don't understand what needs to be done. So help with this please
run bundle open parallel_tests
and change that line in lib/parallel_tests/tasks.rb then try again
if this you get stuck I'll try to reproduce/fix later, just stay on old version a bit longer ...
Initial fix
Changed rake_bin to rails_env
Changed task_name to args.command
kk, I'll take a look when I can find some time 👍
@lunulu does https://github.com/grosser/parallel_tests/pull/955 work / look right ?
We decided to update parallel_tests from version 2.29.2 to the latest. But we encountered the following error. Do newer versions use different syntax?