Skip to content

refactor: remove makeRuntime facades from File and Ripgrep#22513

Merged
kitlangton merged 1 commit intodevfrom
kit/residual-facade-cleanup
Apr 16, 2026
Merged

refactor: remove makeRuntime facades from File and Ripgrep#22513
kitlangton merged 1 commit intodevfrom
kit/residual-facade-cleanup

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • Delete leftover makeRuntime + facade exports from file/index.ts and file/ripgrep.ts
  • Migrate all callers (debug/file.ts, debug/ripgrep.ts, test/file/ripgrep.test.ts) to AppRuntime.runPromise with Service.use
  • Simplify debug/file.ts handlers: remove unnecessary Effect.gen wrappers, add missing bootstrap() to FileTreeCommand
  • Consolidate ripgrep tests into a single describe block using Service.use instead of Effect.gen + yield* boilerplate
  • Drop abort facade tests (tested the async-iterator facade API that no longer exists)

Part of the residual makeRuntime cleanup tracked in specs/effect/facades.md.

Delete leftover facade exports and makeRuntime from file/index.ts and
file/ripgrep.ts. Migrate all callers (debug CLI commands, tests) to
use AppRuntime.runPromise with Service.use directly.

Also simplifies debug/file.ts handlers to drop unnecessary Effect.gen
wrappers, adds missing bootstrap() to FileTreeCommand, and consolidates
ripgrep tests into a single describe block using Service.use.
@kitlangton kitlangton force-pushed the kit/residual-facade-cleanup branch from 4408774 to e00e1a2 Compare April 16, 2026 01:01
@kitlangton kitlangton enabled auto-merge (squash) April 16, 2026 01:20
@kitlangton kitlangton disabled auto-merge April 16, 2026 01:22
@kitlangton kitlangton merged commit 0fb0135 into dev Apr 16, 2026
9 of 10 checks passed
@kitlangton kitlangton deleted the kit/residual-facade-cleanup branch April 16, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant