We fixed the bad hanging behavior reported in #12685 by ensuring that the commands would not end up hanging forever waiting for an RPC server what wasn't going to appear. This indeed prevents hanging, but it still omits some helpful low-hanging fruit: rather than just failing with error, we can make commands wait to obtain the lock.
This waiting behavior should be
- conditionally enabled (probably opt-out, I'd think, but we can solicit feedback to decide this)
- with configurable retries/timeout
- designed so it wouldn't interfere with the likely near term addition of a daemon build server modality
The need for this is currently reported by users making heavy use of AI agents.
We fixed the bad hanging behavior reported in #12685 by ensuring that the commands would not end up hanging forever waiting for an RPC server what wasn't going to appear. This indeed prevents hanging, but it still omits some helpful low-hanging fruit: rather than just failing with error, we can make commands wait to obtain the lock.
This waiting behavior should be
The need for this is currently reported by users making heavy use of AI agents.