Skip to content

Add Session.execute/4 and adapter enhancements#41

Merged
guess merged 1 commit intomainfrom
feature/session-execute
Mar 26, 2026
Merged

Add Session.execute/4 and adapter enhancements#41
guess merged 1 commit intomainfrom
feature/session-execute

Conversation

@guess
Copy link
Copy Markdown
Owner

@guess guess commented Mar 26, 2026

Summary

  • Add execute/4 optional callback to the Adapter behaviour for arbitrary MFA execution through the adapter layer
  • Route get_messages/2 and list_sessions/2 through the Server for node-aware operation
  • Enables transparent local/remote execution

Test plan

  • New tests for execute/4 on Port, Node, and Test adapters
  • New tests for Session.Server adapter_call and history_call
  • mix quality passes (compile, format, credo, dialyzer)

Add execute/4 optional callback to the Adapter behaviour for running
arbitrary MFA calls through the adapter layer, enabling transparent
local/remote execution. Route get_messages/2 and list_sessions/2
through the Server for node-aware operation.
@guess guess force-pushed the feature/session-execute branch from 7aa96e1 to cb5ed6e Compare March 26, 2026 17:46
@guess guess merged commit aa3b54b into main Mar 26, 2026
2 checks passed
@guess guess deleted the feature/session-execute branch March 26, 2026 17:50
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