feat(runner): add the own code runner contract, client and nsjail service

This commit is contained in:
shira committed 2026-10-11 08:23:42 +03:00
1 parent 5e1db37746
commit cdf6bcbb91
109 files changed
+24084 -28

No files matched your search

+10 -7
View File
@@ -13,44 +13,47 @@ install: ## Install project dependencies
printf '\n==> %s install\n' "$$part"; \
$(MAKE) -C "$$part" install || status=1; \
done; \
printf '\n==> backend deps\n'; \
$(MAKE) -C backend deps || status=1; \
for part in backend runner; do \
printf '\n==> %s deps\n' "$$part"; \
$(MAKE) -C "$$part" deps || status=1; \
done; \
exit "$$status"
generate: ## Generate shared contracts, Go and TypeScript code, and Python models
$(MAKE) -C api bundle
API_PREPARED=1 $(MAKE) -C backend generate
API_PREPARED=1 $(MAKE) -C runner generate
API_PREPARED=1 $(MAKE) -C frontend generate
API_PREPARED=1 $(MAKE) -C ml generate
gen: generate ## Alias for generate
fmt: ## Format all project parts
@status=0; for part in api backend frontend ml; do \
@status=0; for part in api backend runner frontend ml; do \
printf '\n==> %s fmt\n' "$$part"; \
$(MAKE) -C "$$part" fmt || status=1; \
done; exit "$$status"
fmt-check: ## Check formatting without changing files
@status=0; for part in api backend frontend ml; do \
@status=0; for part in api backend runner frontend ml; do \
printf '\n==> %s fmt-check\n' "$$part"; \
$(MAKE) -C "$$part" fmt-check || status=1; \
done; exit "$$status"
lint: ## Run configured linters
@status=0; for part in api backend frontend ml; do \
@status=0; for part in api backend runner frontend ml; do \
printf '\n==> %s lint\n' "$$part"; \
$(MAKE) -C "$$part" lint || status=1; \
done; exit "$$status"
test: ## Run unit and component tests
@status=0; for part in backend frontend ml; do \
@status=0; for part in backend runner frontend ml; do \
printf '\n==> %s test\n' "$$part"; \
$(MAKE) -C "$$part" test || status=1; \
done; exit "$$status"
check: ## Run local checks for code, docs, deployment, and observability
@status=0; for part in api backend frontend ml deploy observability; do \
@status=0; for part in api backend runner frontend ml deploy observability; do \
printf '\n==> %s check\n' "$$part"; \
$(MAKE) -C "$$part" check || status=1; \
done; \