Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Are you sure that this bug is related to this DDEV Integration Plugin?
- I am sure
Enter your error report ID (If available)
No response
Describe the bug
IDE hangs when config.xml enters a state where it contains errors, making it near impossible to edit and fix issue.
Hangs seem to be for about 2/3 minutes at a time, complete lockout.
12:45 $ /usr/bin/ddev describe --json-output
{"level":"fatal","msg":"\u001b[31mFailed to describe project(s): /home/lucas/workspace/uptactics/site/.ddev/config.yaml exists but cannot be read. It may be invalid due to a syntax error: unable to load config file /home/lucas/workspace/uptactics/site/.ddev/config.yaml: invalid configuration in /home/lucas/workspace/uptactics/site/.ddev/config.yaml: yaml: line 27: could not find expected ':'\u001b[0m","time":"2025-05-19T12:45:50+08:00"}
de.php_perfect.intellij.ddev.cmd.CommandFailedException: Command '/usr/bin/ddev describe --json-output' returned non zero exit code {exitCode=1, timeout=false, cancelled=false, stdout=, stderr={"level":"fatal","msg":"\u001b[31mFailed to describe project(s): /home/lucas/workspace/uptactics/site/.ddev/config.yaml exists but cannot be read. It may be invalid due to a syntax error: unable to load config file /home/lucas/workspace/uptactics/site/.ddev/config.yaml: invalid configuration in /home/lucas/workspace/uptactics/site/.ddev/config.yaml: yaml: line 27: could not find expected ':'\u001b[0m","time":"2025-05-19T12:44:40+08:00"}
}
at de.php_perfect.intellij.ddev.cmd.DdevImpl.execute(DdevImpl.java:74)
at de.php_perfect.intellij.ddev.cmd.DdevImpl.describe(DdevImpl.java:39)
at de.php_perfect.intellij.ddev.state.DdevStateManagerImpl.checkDescription(DdevStateManagerImpl.java:155)
at de.php_perfect.intellij.ddev.state.DdevStateManagerImpl.lambda$updateConfiguration$1(DdevStateManagerImpl.java:67)
at de.php_perfect.intellij.ddev.state.DdevStateManagerImpl.checkChanged(DdevStateManagerImpl.java:90)
at de.php_perfect.intellij.ddev.state.DdevStateManagerImpl.updateConfiguration(DdevStateManagerImpl.java:65)
at de.php_perfect.intellij.ddev.state.StateWatcherImpl.lambda$startWatching$0(StateWatcherImpl.java:33)
at com.intellij.util.concurrency.Propagation$capturePropagationContext$$inlined$Runnable$1.run(Runnable.kt:17)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:275)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Steps to reproduce
- Create a new project with a working ddev config, and initiate a git repo on that folder, commit all files as usual to the new git repo. Lets assume initial branch name is 'main'
- Branch to a new branch and make an edit to the config.xml file, commit that change in the branch
- go back to the original branch 'main'
- create another branch, and make an edit on same line that the first branch was done, but something different (change a value)
- Go back to first initial branch
- Merge in the first vreated branch, and commit changes.
- Merge in teh 2nd branch.
The IDE now freezes due to a conflict appearing in the config.xml file.
Due to freeze it is near imposible to fix, and another editor has to be used to fix issue
I did all that on CLI using linux. I don;t use the IDE built in git functionality (just like the cli for more control)
Additional context
No response