Skip to content

fix(o70/o67): exit on blackhole proxy; stop background on exit; name refused proxy - #80

Merged
QiaolongLi1201 merged 2 commits into
mainfrom
fix/o70-o67-exit-reliability
Oct 11, 2026
Merged

QiaolongLi1201 merged 2 commits into
mainfrom
fix/o70-o67-exit-reliability

Conversation

@QiaolongLi1201

Copy link
Copy Markdown
Collaborator

Summary

Exit reliability bundle for O70 + O67 (blackhole / refused proxy).

QA acceptance (must stay 4/4 PASS)

test/qa-repro-o67-o70-exit-bundle.spec.mjs locks these:

  1. Remove switching models from first-chunk timeout copy — agent-loop-stream-helpers.ts must not claim the model is switching on first-chunk timeout.
  2. Call stopAllBackgroundProcesses on CLI exit path — cli-main.ts exit path stops goal-exec background processes.
  3. Blackhole HTTPS_PROXY: moss -p self-exits — with MOSS_LLM_FIRST_CHUNK_TIMEOUT_MS set, the process exits on its own (no external kill).
  4. Refused proxy port error mentions proxy — error text must mention proxy, not only base URL.

Verification

  • qa-repro-o67-o70-exit-bundle.spec.mjs: 4/4 PASS
  • Full npm test: 332 files
  • Board UX comparison (O67/O70 baseline): still needed after merge

Base

…errors

- Stop background exec on CLI shutdown and agent.close; arm 2s -p exit guard
  (stderr warning; MOSS_DEBUG_EXIT=1 lists handles).
- First-chunk timeout copy: no "switching models"; with HTTPS_PROXY do not retry.
- Refused proxy: name the proxy, not "Nothing is listening at that base URL".
- QA acceptance: test/qa-repro-o67-o70-exit-bundle.spec.mjs (4/4).

Base: ed63836. Not pushed.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Replace the hardcoded /workspace/ux/acceptance/proxy.py spawn with an
in-test net.createServer on 127.0.0.1. That UX path only exists on the
agent box, so Ubuntu CI never wrote the port file and qa-repro-o67-o70
failed. Assertions unchanged (BLACKHOLE contact, self-exit, no model
coaching, refused-proxy copy).
@QiaolongLi1201
QiaolongLi1201 merged commit b012c72 into main Oct 11, 2026
10 of 12 checks passed
@QiaolongLi1201
QiaolongLi1201 deleted the fix/o70-o67-exit-reliability branch October 12, 2026 10:29
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