Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
Merge remote-tracking branch 'origin/dev' into fix/issue-198-fetch-page-hardening
Alfredo Lopez6f0ec2285c72
diff --cc .github/workflows/ci-public.ymlindex 26266aa43,55e8b2b57..98b98fafb--- a/.github/workflows/ci-public.yml+++ b/.github/workflows/ci-public.yml@@@ -124,21 -126,67 +127,76 @@@ jobsworking-directory: desktop-apprun: npx playwright install --with-deps chromium+ - name: Test the pinned-suite checker+ if: matrix.service == 'gfs-controller'+ run: node scripts/tests/run-node-test-files.mjs scripts/ci/assert-pinned-vitest-suites.test.mjs++ # PINNED_SUITES lists test files that must run and pass. The check reads+ # Vitest's JSON report, not the console output: a file whose tests are all+ # skipped is still printed by name, so a grep would accept it.- name: Testworking-directory: ${{ matrix.service }}- run: npm test+ env:+ PINNED_SUITES: ${{ matrix.service == 'gfs-controller' && 'serve.agentRateLimit.test.ts' || matrix.service == 'mcp-host' && 'gfsClient.retry429.test.ts' || '' }}+ run: |+ set -euo pipefail+ if [ -z "$PINNED_SUITES" ]; then+ npm test+ exit 0+ fi+ report="$(mktemp)"+ trap 'rm -f "$report"' EXIT+ npm test -- --reporter=default --reporter=json --outputFile="$report"+ # PINNED_SUITES is unquoted on purpose: one argument per file name.+ node ../scripts/ci/assert-pinned-vitest-suites.mjs "$report" $PINNED_SUITES+ - name: Test web-search image with isolated DNS TLS and MCP+ if: matrix.service == 'mcp-servers/web-search'+ working-directory: mcp-servers/web-search+ timeout-minutes: 10+ run: |+ docker build -t issue198-ci-image:test .+ web_search_image_id="$(docker image inspect issue198-ci-image:test --format '{{.Id}}')"+ node test/run-network.mjs --image "$web_search_image_id"+- # Typecheck against the base tsconfig (covers src + test dirs).- # This catches errors in test files that tsconfig.build.json may exclude.+ # These node:test suites live outside service packages and resolve the MCP+ # SDK from mcp-host's installed dependencies.+ - name: Test Codex approved-tools fixtures and runner+ if: matrix.service == 'mcp-host'+ run: |+ node scripts/tests/run-node-test-files.mjs \+ scripts/tests/run-node-test-files.test.mjs \+ tests/e2e/fixtures/codex-subscription/approved-tools/server.test.mjs \+ scripts/e2e/prepare-codex-approved-tools.test.mjs \+ scripts/e2e/run-codex-approved-tools.test.mjs \+ scripts/e2e/desktop-login-seed.test.mjs \+ scripts/e2e/approved-tools-image-proof.test.mjs \+ scripts/e2e/approved-tools-restoration.test.mjs \+ scripts/e2e/approved-tools-control-api-lifecycle.test.mjs \+ scripts/e2e/approved-tools-connection-journal.test.mjs \+ tests/e2e/fixtures/codex-subscription/approved-tools-setup/identity-lifecycle.test.mjs \+ tests/e2e/fixtures/codex-subscription/approved-tools-oauth/provider.test.mjs \+ scripts/e2e/approved-tools-resource-cleanup.test.mjs \+ tests/e2e/fixtures/codex-subscription/approved-tools-workflow/index.test.mjs++ # Image-capabilities (issue #654) node:test fixtures. The pixel-fixture+ # unit proves the fixture contract and the SDK test drives the compiled+ # OpenAICompatibleProvider against the production serializer. Both+ # depend on Host's built dist/, so the step runs after `Build` and after+ # `Test Codex approved-tools fixtures and runner` (same registration+ # pattern as the approved-tools lane).+ - name: Test image-capabilities fixtures and runner+ if: matrix.service == 'mcp-host'+ run: |+ node scripts/tests/run-node-test-files.mjs \+ scripts/e2e/image-capabilities-fixture.test.mjs \+ tests/e2e/fixtures/image-capabilities/provider.test.mjs \+ tests/e2e/fixtures/image-capabilities/sdk.test.mjs++ # Typecheck against each package's base tsconfig. Its `include` decides+ # whether test files are covered: where it lists test dirs, this catches+ # errors that tsconfig.build.json may exclude. control-api's includes+ # src/** only, so its test files are not typechecked here.## mcp-servers is skipped: it has no root tsconfig.json (only the web-search and# doc-generator sub-projects have one), so `tsc --noEmit` there resolves nodiff --cc Makefileindex 91f1ee46a,8f334ba7e..264e7ba4a--- a/Makefile+++ b/Makefile@@@ -1421,6 -1520,8 +1521,11 @@@ help: ## Show this hel@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-24s\033[0m %s\n", $$1, $$2}'+.PHONY: test-web-search-image+test-web-search-image: ## Build and test the fetch_page image locally under its branch lease+ @bash scripts/minikube/with-t2-mutation-lock.sh -- bash scripts/tests/test-web-search-image.sh+ .PHONY: minikube-build-627-github+ minikube-build-627-github: ## Build the reviewed GitHub MCP locally for the owned profile architecture+ @T2_PROJECT_DIR="$(CURDIR)" T2_PROFILE="$(MINIKUBE_PROFILE)" T2_CONTEXT="$(MINIKUBE_PROFILE)" \+ T2_SKIP_LOCK="$(T2_SKIP_LOCK)" T2_LOCK_TOKEN="$(T2_LOCK_TOKEN)" \+ bash scripts/minikube/with-t2-mutation-lock.sh -- bash scripts/e2e/build-627-github.sh