mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
chore(ci/issue-comment): print proxy log tail in dispatch_comment for easier debugging
This commit is contained in:
@@ -524,6 +524,12 @@ jobs:
|
||||
PORT=5056 LOG_DEST=stdout EXIT_ON_5XX=1 RESPONSES_BETA="responses=v1" node scripts/openai-proxy.js > .github/auto/openai-proxy.log 2>&1 &
|
||||
for i in {1..30}; do if nc -z 127.0.0.1 5056; then break; else sleep 0.2; fi; done || true
|
||||
|
||||
- name: Print proxy startup log tail
|
||||
if: env.OPENAI_API_KEY != ''
|
||||
run: |
|
||||
echo '### openai-proxy.log (tail)' >> "$GITHUB_STEP_SUMMARY"
|
||||
{ echo '```'; tail -n 80 .github/auto/openai-proxy.log || true; echo '```'; } >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
- name: Generate triage comment with Code (read-only)
|
||||
if: env.OPENAI_API_KEY != ''
|
||||
id: gen
|
||||
|
||||
Reference in New Issue
Block a user