Skip to content

Add registry API foundation - #2550

Open
Richard Lundeen (rlundeen2) wants to merge 4 commits into
microsoft:mainfrom
rlundeen2:rlundeen2-registry-api-foundation
Open

Add registry API foundation#2550
Richard Lundeen (rlundeen2) wants to merge 4 commits into
microsoft:mainfrom
rlundeen2:rlundeen2-registry-api-foundation

Conversation

@rlundeen2

Copy link
Copy Markdown
Contributor

Summary

  • make component registries own named construction, instance storage, lookup, duplicate and reserved-name validation, and removal
  • add registry-backed converter lifecycle and /api/converters/types APIs, plus the target registry consistency needed by later stack layers
  • support pathlib.Path constructor metadata and uploaded data-URI persistence without exposing server paths
  • keep /api/converters/catalog and /api/targets/catalog as temporary compatibility projections for the unchanged main UI; the higher chat-migration layer will remove them

Validation

  • UV_NO_SYNC=1 uv run pytest --quiet tests\unit\models\test_parameter.py tests\unit\registry\test_instance_registry.py tests\unit\registry\test_converter_registry.py tests\unit\registry\test_target_registry.py tests\unit\registry\test_scorer_registry.py tests\unit\backend\test_converter_service.py tests\unit\backend\test_target_service.py tests\unit\backend\test_api_routes.py tests\unit\backend\test_mappers.py tests\unit\backend\test_target_types_concurrency.py tests\unit\setup\test_targets_initializer.py tests\unit\setup\test_scorer_initializer.py (776 passed, 4 skipped)
  • UV_NO_SYNC=1 uv run pre-commit run --all-files

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c9eafadc-3a00-471b-b61b-68ba4d656577
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c9eafadc-3a00-471c-a08b-28df698d8109
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