Skip to content

fix: dual-Entity root cause — adapter tests use backend-aware imports#2

Merged
Aliipou merged 1 commit into
mainfrom
integration
Jun 1, 2026
Merged

fix: dual-Entity root cause — adapter tests use backend-aware imports#2
Aliipou merged 1 commit into
mainfrom
integration

Conversation

@Aliipou
Copy link
Copy Markdown
Owner

@Aliipou Aliipou commented Jun 1, 2026

Tests fed pure-Python Entity/Action into backend-aware adapters; under the Rust PyO3 backend that mixes type systems. Now import from authgate.kernel. Python mode unchanged (1167 passed).

🤖 Generated with Claude Code

…ual-Entity)

test_crewai_adapter + test_integration_e2e imported pure-Python Entity/Action/
verifier from authgate.kernel.{entities,registry,verifier} and fed them to the
backend-aware adapters. Under the Rust PyO3 backend that mixes type systems
('Entity cannot be converted to Entity'). Now import from authgate.kernel so the
types match whichever backend is active. Python mode unchanged: 1167 passed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Aliipou Aliipou merged commit 58fd039 into main Jun 1, 2026
11 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.

2 participants