cloudaxe-opencode/packages/opencode/test/util
Kit Langton 82b13ca184 effect(util): make Process.run/text/lines return Effect
Migrate the run/text/lines helpers in util/process.ts to Effect-returning
functions that yield ChildProcessSpawner and use ChildProcess.make
internally. The legacy Promise-based behaviour stays available under
runPromise/textPromise/linesPromise for non-Effect callers; these are
thin wrappers over the original spawn() path so AbortSignal and timeout
semantics are preserved.

server.ts now runs Process.run/Process.text through a private
ManagedRuntime backed by CrossSpawnSpawner.defaultLayer and the shared
memoMap, since LSP.spawn callbacks execute inside Effect.promise blocks.

Other Process.run/text/lines call sites are renamed to the *Promise
variants and otherwise left untouched for follow-up migrations.
2026-05-12 16:31:38 -04:00
..
data-url.test.ts fix(app): support text attachments (#17335) 2026-03-13 06:58:24 -05:00
error.test.ts Migrate UI cancel error to tagged error (#27112) 2026-05-12 18:09:00 +00:00
filesystem.test.ts refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
format.test.ts
glob.test.ts refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
iife.test.ts
lazy.test.ts
lock.test.ts refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
log.test.ts refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
module.test.ts refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
process.test.ts effect(util): make Process.run/text/lines return Effect 2026-05-12 16:31:38 -04:00
timeout.test.ts
which.test.ts fix(windows): git path resolution for modified files across Git Bash, MSYS2, and Cygwin (#16422) 2026-03-07 15:42:14 +10:00
wildcard.test.ts refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00