Skip to content

fix(deploy): avoid apt npm downloads through proxy#60

Merged
FZR95 merged 1 commit into
mainfrom
codex/deploy-proxy-node-runtime
Jul 21, 2026
Merged

fix(deploy): avoid apt npm downloads through proxy#60
FZR95 merged 1 commit into
mainfrom
codex/deploy-proxy-node-runtime

Conversation

@FZR95

@FZR95 FZR95 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • reuse the configured Node base image for the TopicLab Critic runtime instead of installing Debian nodejs and npm
  • keep APT limited to Git and add proxy-compatible retries, timeouts, and disabled HTTP pipelining
  • explicitly lock deployment commands to the versioned root Compose file
  • print and validate the resolved Compose service list, rejecting the obsolete bundled WorldWeave services

Root cause

Production run 29837920363 reached the Docker bridge proxy at 172.17.0.1:1081, but Debian's npm dependency graph required hundreds of small downloads. The proxy repeatedly closed connections (Remote end closed connection) and the build exceeded the 120-minute limit. The same run also built the removed bundled WorldWeave service, showing that stale or inherited Compose selection was affecting the remote deployment.

Validation

  • 78 focused Critic, Worker, proxy, runtime-safety, and Zvec tests passed
  • Docker Compose config validation passed for all profiles
  • resolved production service list contains only skillhub-critic-worker, topiclab-backend, topiclink-zvec, backend, and frontend
  • workflow YAML parsing and git diff --check passed
  • production docker.m.daocloud.io/library/node:22-slim manifest resolves for linux/amd64

@FZR95
FZR95 merged commit 8b2406e into main Jul 21, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant