Repository navigation
test(eval): pin the orchestrator-executor evaluator entry contract - OrchestratorExecutorEvaluator (Closes #1804) - #1936
Merged
Conversation
β¦OrchestratorExecutorEvaluator The first suite for orchestrator-executor/index.ts: the class exercised (4 tests) on its no-environment entry validation - the agent-type refusal, the orchestrator/executor model requirements and the clado-action baseUrl requirement, all with the pinned error texts, all measured to refuse before any CDP connection and after the user query is logged. The full execute path needs a live browser and agent backends and is deliberately not spun up. No mocks, no network, database or container; the subject is untouched. Closes #1804
Summary by t27-beesThis PR adds a test file that pins the entry validation contract of Worth a look
Read: 1 files, +123 -0, the whole diff. Head |
β Tests passed β 3562/3632
|
Collaborator
Author
|
Checks note, before merge:
Dmitrii Fedorov (@dmitrii-f-t27) |
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.
Closes #1804
What changed
One new file:
trios/agent-server/apps/eval/src/agents/orchestrator-executor/index.test.ts(the path the issue's Success Criteria names). The subjectorchestrator-executor/index.tsis untouched.The single exported class is exercised (4
it(blocks) on its no-environment entry validation - every path measured to refuse BEFORE any CDP connection, after the user query has been logged (the recording fake captures the logged query):orchestrator-executoranswers the pinned refusal.orchestrator.model is required in config.executor.model is required in config.executor.baseUrl is required in config for clado-action provider.Not pinned, named in the suite header: the full execute path (live browser via CDP, agent backends, capture flow) - the entry validation contract above is what can be pinned without any environment.
The capture context is a recording fake; the suite registers no mocks. No network, no database, no container.
How it was verified (FR-004)
4 pass / 0 fail / 12 expect() calls, Ran 4 tests across 1 file.4 failout of 4, quoted raw above. The subject was restored byte-identical (git checkout) and the suite passes again.../types, not../../types) - fixed; after it: biome ci 0 Found, typecheck base set with 0 mentions of the new file; the one-process run of the sibling eval suites (agents/utils/runner, 28 tests) is green.Not verified
Tests / evaljob re-runs the suite on this SHA.Dmitrii Fedorov (@dmitrii-f-t27)