Skip to content

Conversation

thrawn01
Copy link
Contributor

@thrawn01 thrawn01 commented Jul 2, 2025

Purpose

Enable daemon testing in environments where loopback access is restricted or when using testing/synctest by integrating the InMemoryListener functionality directly into the daemon lifecycle.

Implementation

  • Integrate InMemoryListener into daemon when Config.InMemoryListener=true
  • Modify Daemon.Client() to create net.Pipe connections for InMemoryListener
  • Add querator.WithConn() function to support custom net.Conn connections

thrawn01 added 2 commits July 2, 2025 15:46
- Integrate InMemoryListener into daemon when Config.InMemoryListener=true
- Modify Daemon.Client() to create net.Pipe connections for InMemoryListener
- Add querator.WithConn() function to support custom net.Conn connections
- Add comprehensive test validating InMemoryListener integration
- Update daemon lifecycle to properly handle InMemoryListener cleanup

🤖 Generated with [Claude Code](https://claude.ai/code)
@thrawn01 thrawn01 self-assigned this Jul 2, 2025
@thrawn01 thrawn01 force-pushed the thrawn/nil-pointer-issue branch from 1975c99 to 441ca92 Compare July 2, 2025 22:30
@thrawn01 thrawn01 force-pushed the thrawn/nil-pointer-issue branch from 441ca92 to bcaca21 Compare July 2, 2025 22:33
@thrawn01 thrawn01 merged commit 80f428a into main Jul 2, 2025
2 checks passed
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