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:
3
Makefile
3
Makefile
@@ -28,6 +28,7 @@ run: stop ## Build and start container (rebuilds image)
|
||||
-p $(PYTHON_PORT):$(PYTHON_PORT) \
|
||||
-p $(BICEP_PORT):$(BICEP_PORT) \
|
||||
-p $(HEALTH_PORT):$(HEALTH_PORT) \
|
||||
-e HTTP_PORT=$(HEALTH_PORT) \
|
||||
-e DEVOPS_MCP_URL=$(DEVOPS_MCP_URL) \
|
||||
-e PYTHONUNBUFFERED=1 \
|
||||
$(IMAGE):$(TAG)
|
||||
@@ -43,6 +44,7 @@ run-quick: ## Start container without rebuilding image
|
||||
-p $(PYTHON_PORT):$(PYTHON_PORT) \
|
||||
-p $(BICEP_PORT):$(BICEP_PORT) \
|
||||
-p $(HEALTH_PORT):$(HEALTH_PORT) \
|
||||
-e HTTP_PORT=$(HEALTH_PORT) \
|
||||
-e PYTHONUNBUFFERED=1 \
|
||||
$(IMAGE):$(TAG)
|
||||
@sleep 5
|
||||
@@ -55,6 +57,7 @@ run-with-data: ## Start container with local data dir mounted (test volum
|
||||
-p $(PYTHON_PORT):$(PYTHON_PORT) \
|
||||
-p $(BICEP_PORT):$(BICEP_PORT) \
|
||||
-p $(HEALTH_PORT):$(HEALTH_PORT) \
|
||||
-e HTTP_PORT=$(HEALTH_PORT) \
|
||||
-e PYTHONUNBUFFERED=1 \
|
||||
-v "$(DEVOPS_MCP_REPO):/data:ro" \
|
||||
$(IMAGE):$(TAG)
|
||||
|
||||
Reference in New Issue
Block a user