Skip to content

feat: expose SmallOS adapters through SmallServer - #13

Merged
MikiEEE merged 1 commit into
developfrom
feat/adapter-facade
Aug 23, 2026
Merged

MikiEEE merged 1 commit into
developfrom
feat/adapter-facade

Conversation

@MikiEEE

@MikiEEE MikiEEE commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • export ThreadAdapter and AsyncioAdapter from the smallserver public API
  • export the complete adapter error family from smallserver
  • preserve lazy loading while keeping SmallOS as the execution backend
  • migrate examples and integration tests away from SmallPackage adapter imports
  • document the SmallServer-owned facade and add a public typing fixture

Usage

from smallserver import AdapterError, AdapterRegistry, ThreadAdapter

services = AdapterRegistry(
    blocking=ThreadAdapter(max_workers=2, max_pending=8),
)

Validation

  • full suite: 182 tests passed
  • no-extra suite: 182 tests passed with expected optional skips
  • adapters demo completed with thread and persistent asyncio-loop results
  • public star-import facade smoke passed
  • compileall, documentation tests, and git diff --check passed

@MikiEEE
MikiEEE merged commit 39c89d4 into develop Aug 23, 2026
3 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