发布

  • [INFRA] feat: respect pre-set port env vars when initializing worktree ports (#6558)

    frostbyte_neo 发布于 2026-05-18 08:40:37 +00:00

    init_worktree_ports() unconditionally overwrote NGINX_PORT (and every sibling
    port) with BASE + PORT_OFFSET, so callers couldn't pin a single port via env
    without also disabling the worktree offset for the rest. Switch each assignment
    to the ${VAR:-default} idiom so pre-set values win, fix the docker-compose
    default for OPIK_REVERSE_PROXY_URL to follow NGINX_PORT, and document the knob
    in the docker-compose README.

    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com
    Co-authored-by: Andres Cruz andresc@comet.com

    下载附件