Skip to content

[test] agent: isolate bundled OpenCode workers - #648

Merged
FayeSpica merged 2 commits into
ThinkFlowLab:mainfrom
FayeSpica:ci/opencode-image-model-six-trials
Dec 3, 2026
Merged

FayeSpica merged 2 commits into
ThinkFlowLab:mainfrom
FayeSpica:ci/opencode-image-model-six-trials

Conversation

@FayeSpica

@FayeSpica FayeSpica commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Use one launcher for ordinary and forced-timeout OpenCode pytest workers. Each worker gets a separate temporary directory, XDG state, pytest roots, and a POSIX home directory. Windows keeps its existing home settings. This PR changes test code and records the finding. Production code and required workflows remain unchanged. Refs #162.

Test Plan

  • Run the complete bundled gateway step with OpenCode 1.19.5. OPENDIRECTOR_REAL_CLI=1 python -m pytest tests/test_native_runtime.py tests/test_agent_visual_gate.py -k real_opencode -m cpu -q -ra
  • Run the fork's same-runner legacy versus isolated worker comparison.

Test Result

  • On candidate 8fc698e0, the macOS gateway step passed seven cases and skipped two Windows-only cases. Hosted checks are pending.
  • The diagnostic fork run on 69e8608d reproduced three watchdog timeouts with the legacy launcher and passed three trials with isolated workers. The full prefix passed each time. Fork run and traces

Independent candidate review 85/100. Base 147b18324c7317e56456861d8b78c1cbf936ce6e, candidate 8fc698e02c81fb134b8f1b10fae758020f319e4a.

@FayeSpica FayeSpica closed this Dec 2, 2026
## summary

Give ordinary and forced-timeout OpenCode workers separate temporary,
XDG and pytest directories and a private home on POSIX.

Refs ThinkFlowLab#162.

Signed-off-by: Weiming Liao <liaowm5@gmail.com>
@FayeSpica FayeSpica changed the title [ci] Probe OpenCode image-model six times on Ubuntu [test] agent: isolate bundled OpenCode workers Dec 3, 2026
@FayeSpica FayeSpica reopened this Dec 3, 2026
@FayeSpica
FayeSpica force-pushed the ci/opencode-image-model-six-trials branch from 6227d7d to a350991 Compare December 3, 2026 03:59
@FayeSpica
FayeSpica marked this pull request as ready for review December 3, 2026 03:59
Signed-off-by: Weiming Liao <liaowm5@gmail.com>
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