File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686
8787 - name : Run opencode server
8888 working-directory : packages/opencode
89- run : bun dev -- --print-logs --log-level WARN serve --port 4096 --hostname 0 .0.0.0 &
89+ run : bun dev -- --print-logs --log-level WARN serve --port 4096 --hostname 127 .0.0.1 &
9090 env :
9191 MODELS_DEV_API_JSON : ${{ env.MODELS_DEV_API_JSON }}
9292 OPENCODE_DISABLE_MODELS_FETCH : " true"
@@ -103,8 +103,8 @@ jobs:
103103
104104 - name : Wait for opencode server
105105 run : |
106- for i in {1..60 }; do
107- curl -fsS "http://localhost :4096/global/health" > /dev/null && exit 0
106+ for i in {1..120 }; do
107+ curl -fsS "http://127.0.0.1 :4096/global/health" > /dev/null && exit 0
108108 sleep 1
109109 done
110110 exit 1
@@ -125,9 +125,9 @@ jobs:
125125 XDG_CACHE_HOME : ${{ env.XDG_CACHE_HOME }}
126126 XDG_CONFIG_HOME : ${{ env.XDG_CONFIG_HOME }}
127127 XDG_STATE_HOME : ${{ env.XDG_STATE_HOME }}
128- PLAYWRIGHT_SERVER_HOST : " localhost "
128+ PLAYWRIGHT_SERVER_HOST : " 127.0.0.1 "
129129 PLAYWRIGHT_SERVER_PORT : " 4096"
130- VITE_OPENCODE_SERVER_HOST : " localhost "
130+ VITE_OPENCODE_SERVER_HOST : " 127.0.0.1 "
131131 VITE_OPENCODE_SERVER_PORT : " 4096"
132132 OPENCODE_CLIENT : " app"
133133 timeout-minutes : 30
You can’t perform that action at this time.
0 commit comments