fix: yaml stdio per-connection, iac catalog path, makefile port
- yaml-language-server: rewrite to stdio per WebSocket (fixes crash loop) vscode-jsonrpc v9 createServerSocketTransport is a TCP client, not server now spawns yaml-language-server --stdio per connection via asyncio subprocess - bicep/modules.py: add /iac_source_catalog.json as first path in _IAC_SOURCE_PATHS Dockerfile copies to /iac_source_catalog.json but path wasn't listed - server.py: remove YAML_LSP_PORT daemon (no longer needed with stdio mode) - Makefile: add -e HTTP_PORT=$(HEALTH_PORT) to all docker run commands server defaulted to :8000 but Makefile exposed :2089 with no override
This commit is contained in:
@@ -31,7 +31,8 @@ _CATALOG_PATHS = [
|
||||
|
||||
# IAC source catalog — richer param descriptions from Bicep source code
|
||||
_IAC_SOURCE_PATHS = [
|
||||
pathlib.Path("/data/iac_source_catalog.json"), # volume-mount
|
||||
pathlib.Path("/iac_source_catalog.json"), # baked into Docker image
|
||||
pathlib.Path("/data/iac_source_catalog.json"), # volume-mount (future)
|
||||
pathlib.Path(__file__).parent.parent.parent / "iac_source_catalog.json", # dev
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user