Skip to content

Claude/test harness service override 6k922m - #49

Merged
maximusunc merged 3 commits into
mainfrom
claude/test-harness-service-override-6k922m
Jul 24, 2026
Merged

Claude/test harness service override 6k922m#49
maximusunc merged 3 commits into
mainfrom
claude/test-harness-service-override-6k922m

Conversation

@maximusunc

Copy link
Copy Markdown
Collaborator

No description provided.

claude and others added 3 commits July 24, 2026 02:08
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
@maximusunc
maximusunc merged commit 1cc41ec into main Jul 24, 2026
2 checks passed
@maximusunc
maximusunc deleted the claude/test-harness-service-override-6k922m branch July 24, 2026 11:49
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