From 37d9bea7bbbc4b660cfda45bdf765f0a6021adb3 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Tue, 19 May 2026 21:06:34 +0000 Subject: [PATCH] fix: change socket port to 3005 (conflict with grafana) and make CI artifacts non-blocking --- .env.docker.example | 2 +- .gitea/workflows/ci.yaml | 2 ++ docker-compose.yml | 2 +- memento-note/hooks/use-brainstorm-socket.ts | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.docker.example b/.env.docker.example index 9732e28..6410c55 100644 --- a/.env.docker.example +++ b/.env.docker.example @@ -114,7 +114,7 @@ OLLAMA_BASE_URL="http://ollama:11434" # ───────────────────────────────────────────────────────────────────────────── # Brainstorm / Socket.io # ───────────────────────────────────────────────────────────────────────────── -SOCKET_PORT=3002 +SOCKET_PORT=3005 SOCKET_HTTP_PORT=3003 SOCKET_INTERNAL_KEY=change-this-to-a-random-secret SOCKET_INTERNAL_URL=http://memento-socket:3003 diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 92e69aa..e7745f0 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -82,6 +82,7 @@ jobs: - name: Upload web artifact if: github.ref == 'refs/heads/main' && github.event_name == 'push' uses: actions/upload-artifact@v3 + continue-on-error: true with: name: web-artifact path: web-artifact.tgz @@ -101,6 +102,7 @@ jobs: - name: Download web artifact uses: actions/download-artifact@v3 + continue-on-error: true with: name: web-artifact diff --git a/docker-compose.yml b/docker-compose.yml index d1a0c85..361b254 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -99,7 +99,7 @@ services: env_file: - .env.docker ports: - - "3002:3002" + - "3005:3005" environment: - NODE_ENV=production restart: unless-stopped diff --git a/memento-note/hooks/use-brainstorm-socket.ts b/memento-note/hooks/use-brainstorm-socket.ts index 7bca7e5..b46b2ab 100644 --- a/memento-note/hooks/use-brainstorm-socket.ts +++ b/memento-note/hooks/use-brainstorm-socket.ts @@ -17,7 +17,7 @@ export interface ActivityEvent { details: any } -const SOCKET_URL = process.env.NEXT_PUBLIC_SOCKET_URL || 'http://localhost:3002' +const SOCKET_URL = process.env.NEXT_PUBLIC_SOCKET_URL || 'http://localhost:3005' export function useBrainstormSocket( sessionId: string | null,