We recently updated our application to support Bitbucket 8 and encountered a number of serious bugs around Command Input/Output handling when running external commands. These are all nondeterministic or difficult to observe directly: a race condition, missing exceptions, and hanging I/O threads. The regressions are almost certainly due to the new the Bitbucket Mesh sidecar, which hosts external commands in a new process.
Just creating this thread for awareness of other marketplace vendors working on Bitbucket 8 support. Given the severity and subtlety of these issues, we are recommending to all our customers to stay on Bitbucket 7 until they’re addressed.
Here are the specific bug reports:
- [BSERV-13358] Command input handler can hang when process is cancelled - Create and track feature requests for Atlassian products.
- [BSERV-13350] Exceptions thrown in CommandOutputHandler.process() method are not propagated - Create and track feature requests for Atlassian products.
- [BSERV-13349] CommandOutputHandler.getOutput() is called before CommandOutputHandler.process() returns - Create and track feature requests for Atlassian products.