Skip to content

refactor(session): remove revert async facade exports#22339

Merged
kitlangton merged 2 commits intodevfrom
facade/session-revert
Apr 13, 2026
Merged

refactor(session): remove revert async facade exports#22339
kitlangton merged 2 commits intodevfrom
facade/session-revert

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • remove the makeRuntime(...)-backed async facade exports from src/session/revert.ts
  • switch src/server/instance/session.ts to call SessionRevert.Service through AppRuntime instead of the async facade
  • convert test/session/revert-compact.test.ts to direct layered Effect tests that use SessionRevert.Service

Validation

  • bun run test test/session/revert-compact.test.ts (fails in this branch before running tests: missing preload package @opentui/solid/preload)
  • bun typecheck (fails in this branch due existing repo/dependency/typecheck issues, including missing modules such as drizzle-kit and @opentui/solid/bun-plugin)

@kitlangton kitlangton force-pushed the facade/session-revert branch from 84f6bf8 to ffce390 Compare April 13, 2026 19:41
@kitlangton kitlangton merged commit 67aaeca into dev Apr 13, 2026
9 of 10 checks passed
@kitlangton kitlangton deleted the facade/session-revert branch April 13, 2026 20:16
mrsimpson pushed a commit to mrsimpson/opencode that referenced this pull request Apr 14, 2026
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