From 285d39959105065710224d1ceb2402ba99245142 Mon Sep 17 00:00:00 2001 From: "nedas.vi" Date: Wed, 29 Apr 2026 02:20:31 +0300 Subject: [PATCH 1/2] fix(docker): serialize dashboard/api bootstrap before next dev --- docker-compose.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3f6ff02..1aff629 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -110,13 +110,14 @@ services: depends_on: - api command: > - sh -c "rm -rf .next-dashboard && - npm install --legacy-peer-deps --no-audit --no-fund --package-lock=false && - npx prisma generate && + sh -lc "set -e; + rm -rf .next-dashboard; + npm install --legacy-peer-deps --no-audit --no-fund --package-lock=false; + npx prisma generate; node -e \"const net=require('net'); const close=(a,b)=>()=>{a.destroy(); b.destroy();}; net.createServer((client)=>{ const upstream=net.connect(8000,'backend'); client.pipe(upstream); upstream.pipe(client); client.on('error', close(client, upstream)); upstream.on('error', close(upstream, client)); }).listen(8000,'127.0.0.1');\" & npm run dev -- --hostname 0.0.0.0 --port 3000" environment: - NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-http://localhost:3002} + NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-} RESOLVEKIT_SERVER_AGENT_BASE_URL: ${RESOLVEKIT_SERVER_AGENT_BASE_URL:-http://localhost:8000} DATABASE_URL: postgresql://${POSTGRES_USER:-agent}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-agent} IAA_JWT_SECRET: ${IAA_JWT_SECRET:-change-me-generate-with-openssl-rand-hex-32} @@ -146,13 +147,14 @@ services: depends_on: - backend command: > - sh -c "rm -rf .next-api && - npm install --legacy-peer-deps --no-audit --no-fund --package-lock=false && - npx prisma generate && + sh -lc "set -e; + rm -rf .next-api; + npm install --legacy-peer-deps --no-audit --no-fund --package-lock=false; + npx prisma generate; node -e \"const net=require('net'); const close=(a,b)=>()=>{a.destroy(); b.destroy();}; net.createServer((client)=>{ const upstream=net.connect(8000,'backend'); client.pipe(upstream); upstream.pipe(client); client.on('error', close(client, upstream)); upstream.on('error', close(upstream, client)); }).listen(8000,'127.0.0.1');\" & npm run dev -- --hostname 0.0.0.0 --port 3002" environment: - NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-http://localhost:3002} + NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL:-} RESOLVEKIT_SERVER_AGENT_BASE_URL: ${RESOLVEKIT_SERVER_AGENT_BASE_URL:-http://localhost:8000} DATABASE_URL: postgresql://${POSTGRES_USER:-agent}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-agent} IAA_JWT_SECRET: ${IAA_JWT_SECRET:-change-me-generate-with-openssl-rand-hex-32} From f22dc77d4721fed9f44d707b6a9e17912e191a41 Mon Sep 17 00:00:00 2001 From: "nedas.vi" Date: Wed, 29 Apr 2026 02:22:41 +0300 Subject: [PATCH 2/2] ci: restore required Agent Docs status check --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1867cf3..f050c24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,16 @@ jobs: docker compose -f docker-compose.prod.yml config -q docker compose -f docker-compose.local-deploy.yml config -q + agent-docs: + name: Agent Docs + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v5 + + - name: Validate AGENTS documentation exists + run: test -f AGENTS.md + dashboard: name: Dashboard runs-on: ubuntu-latest