Repository navigation
[test] agent: isolate bundled OpenCode workers - #648
Merged
FayeSpica merged 2 commits intoDec 3, 2026
Merged
Conversation
## 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
force-pushed
the
ci/opencode-image-model-six-trials
branch
from
December 3, 2026 03:59
6227d7d to
a350991
Compare
FayeSpica
marked this pull request as ready for review
December 3, 2026 03:59
Signed-off-by: Weiming Liao <liaowm5@gmail.com>
5 tasks done
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
OPENDIRECTOR_REAL_CLI=1 python -m pytest tests/test_native_runtime.py tests/test_agent_visual_gate.py -k real_opencode -m cpu -q -raTest Result
8fc698e0, the macOS gateway step passed seven cases and skipped two Windows-only cases. Hosted checks are pending.69e8608dreproduced three watchdog timeouts with the legacy launcher and passed three trials with isolated workers. The full prefix passed each time. Fork run and tracesIndependent candidate review 85/100. Base
147b18324c7317e56456861d8b78c1cbf936ce6e, candidate8fc698e02c81fb134b8f1b10fae758020f319e4a.