You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 21:27:28 UTC

[PR] [ISSUE-3795][test] Deepen AgentProviderRegistryTest with multi-engine routing, unsupported rejection and duplicate guard [rocketmq-dashboard]

yyqdbngt opened a new pull request, #3795:
URL: https://github.com/apache/rocketmq-dashboard/pull/3795

   ### Motivation
   
   The existing `AgentProviderRegistryTest` only proves locale-independent engine resolution for a single provider. The registry contract for multiple engines, unknown engines, null engines and duplicate engine registrations was untested.
   
   ### Changes
   
   - `forEngineShouldTrimAndIgnoreCaseAcrossProviders`: `QODER` with surrounding whitespace resolves to the qoder provider while `claude-code` resolves to the claude provider.
   - `forEngineShouldRejectUnsupportedEngine`: an unknown engine raises a 400 `LlmGatewayException` listing the supported engines.
   - `forEngineShouldRejectNullEngine`: a null engine is not silently accepted and raises the same 400 gateway error.
   - `duplicateEngineRegistrationsShouldFailFast`: two providers advertising the same engine fail the registry construction instead of silently shadowing one of them.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=AgentProviderRegistryTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE-3795][test] Deepen AgentProviderRegistryTest with multi-engine routing, unsupported rejection and duplicate guard [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3795: [ISSUE-3795][test] Deepen AgentProviderRegistryTest with multi-engine routing, unsupported rejection and duplicate guard
URL: https://github.com/apache/rocketmq-dashboard/pull/3795


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org