Skip to content

CE: Add provider routing + wildcard proxy contract tests#296

Merged
ericflo merged 3 commits intomainfrom
ce/provider-routing-tests
Apr 15, 2026
Merged

CE: Add provider routing + wildcard proxy contract tests#296
ericflo merged 3 commits intomainfrom
ce/provider-routing-tests

Conversation

@ericflo
Copy link
Copy Markdown
Owner

@ericflo ericflo commented Apr 15, 2026

Summary

  • Add 17 contract tests for ProviderRouting (only/ignore/order/allow_fallbacks combinations)
  • Add 5 tests for wildcard proxy endpoint prefix routing
  • Verify backward compatibility with no-routing and empty-routing requests
  • Add helper functions for endpoint-prefixed worker registration and routing submissions

Test plan

  • All 180 existing + new tests pass (cargo nextest run -p modelrelay-server -p modelrelay-protocol -p modelrelay-cloud)
  • New tests cover: only, ignore, order, allow_fallbacks (true/false/default), combined filters, endpoint prefix matching/rejection, empty prefixes legacy behavior

@ericflo ericflo merged commit 46661d2 into main Apr 15, 2026
12 checks passed
@ericflo ericflo deleted the ce/provider-routing-tests branch April 15, 2026 17:56
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