Claude/test harness service override 6k922m - #49
Merged
Conversation
Tests specify which component (ars, ara, ...) to run against, and those components are resolved to deployed services via the SmartAPI registry. That makes it impossible to run a suite against a service that isn't deployed yet, e.g. a locally running ARA being validated before release. Add a pair of CLI flags that override the target: - --target_url: send every query straight to this URL, ignoring the components in the tests and skipping SmartAPI registry retrieval - --target: the infores of that service (with or without the infores: prefix); anything other than ars is queried as a single service via POST <target_url>/query, while ars keeps the ARS submit/poll flow With an override, the overall pass/fail status is driven by the override agent instead of the ARS, the result collector reports on just that agent (unless the override is an ARS), and performance tests are pointed at the override URL with the matching locust user type. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016M8hanncqPqAhshbb1Vod2
When running with --target_url/--target, prepend the target's infores id to the acceptance CSV/JSON results, performance artifacts, and the --json_output report (e.g. aragorn_test_report.json), so results from runs against different local services stay distinguishable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016M8hanncqPqAhshbb1Vod2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.