Skip to content

[AAASM-49] ✨ (adapters): Implement AdapterRegistry lifecycle#6

Merged
Chisanan232 merged 23 commits into
masterfrom
v0.0.0/AAASM-49/implement_adapter_registry
Apr 27, 2026
Merged

[AAASM-49] ✨ (adapters): Implement AdapterRegistry lifecycle#6
Chisanan232 merged 23 commits into
masterfrom
v0.0.0/AAASM-49/implement_adapter_registry

Conversation

@Chisanan232
Copy link
Copy Markdown
Contributor

Description

Implement AdapterRegistry for AAASM-49 with thread-safe adapter lifecycle and discovery flow:

  • add AdapterInfo contract and AdapterRegistry state manager
  • add built-in placeholder adapter pre-registration
  • implement register, unregister, list_active, entry-point discovery, and auto_detect
  • enforce idempotent detection and track activation/discovery error status
  • export registry APIs and add strict mypy coverage for registry module
  • add unit tests for importability isolation, third-party entry points, idempotency, real-time state reflection, and concurrent mutation safety

Type of Change

  • ✨ New feature
  • 🔧 Bug fix
  • ♻️ Refactoring
  • 🍀 Performance improvement
  • 📚 Documentation update
  • 🚀 Release

Breaking Changes

Does this PR introduce any breaking changes?

  • No
  • Yes (please describe below)

Related Issues

  • Related JIRA ticket: AAASM-49
  • Related GitHub issues: #XX

Testing

Describe the testing performed for this PR:

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No tests required (explain why)

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Comments added for complex logic
  • Documentation updated if needed
  • All tests passing

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

❌ Patch coverage is 86.55462% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agent_assembly/adapters/registry.py 86.32% 16 Missing ⚠️

📢 Thoughts on this report? Let us know!

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
86.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@Chisanan232 Chisanan232 merged commit 80afd2d into master Apr 27, 2026
22 checks passed
@Chisanan232 Chisanan232 deleted the v0.0.0/AAASM-49/implement_adapter_registry branch April 27, 2026 06:31
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