fix/container-handler-module-missing
5 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
86525a4ba4 |
fix(schema): add BDD scenarios and fix lint for server-qualified name validators
Add BDD test scenarios for server-qualified name acceptance in: - features/actor_schema.feature: Accept/reject scenarios for server:namespace/name format - features/skill_schema.feature: Accept scenarios for server:namespace/name format - features/consolidated_tool.feature: Accept scenarios for server:namespace/name format Also fix lint issues in the previous commit: - Remove trailing whitespace from actor/schema.py docstring - Split long NAMESPACED_NAME_RE line in skills/schema.py ISSUES CLOSED: #9074 |
||
|
|
225eab25b1 |
fix(cli): change agents validation attach extra args to use --key value named option format (#3837)
ci.yml / fix(cli): change `agents validation attach` extra args to use `--key value` named option format (#3837) (push) Failing after 0s
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> |
||
|
|
abf250901f |
fix(tool): implement tool_type filter in ToolRegistry.list_tools()
CI / lint (pull_request) Successful in 21s
CI / quality (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 51s
CI / security (pull_request) Successful in 1m1s
CI / build (pull_request) Successful in 17s
CI / helm (pull_request) Successful in 53s
CI / unit_tests (pull_request) Failing after 2m4s
CI / docker (pull_request) Has been skipped
CI / e2e_tests (pull_request) Successful in 17m4s
CI / integration_tests (pull_request) Successful in 23m32s
CI / coverage (pull_request) Failing after 2m7s
CI / status-check (pull_request) Failing after 2s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 56m42s
The tool_type parameter in ToolRegistry.list_tools() was explicitly silenced with '_ = tool_type', making it a no-op. Both 'agents tool list --type validation' and 'agents tool list --type tool' returned the full unfiltered tool list. Changes: - src/cleveragents/tool/runtime.py: Add tool_type: Literal['tool', 'validation'] field to ToolSpec (default 'tool') so the registry has a discriminator to filter on. - src/cleveragents/tool/registry.py: Remove '_ = tool_type' no-op and implement actual filter: specs = [s for s in specs if s.tool_type == tool_type]. Update docstring to reflect the parameter is now active. - features/consolidated_tool.feature: Add 7 comprehensive Behave scenarios covering all filter combinations (tool, validation, None, default type, exclusion). - features/steps/tool_runtime_steps.py: Add step definition for registering a ToolSpec with an explicit tool_type. - robot/helper_tool_cli.py: Add tool_list_type_tool() and tool_list_type_validation() helper functions that verify the CLI passes tool_type through to the service layer. - robot/tool_cli.robot: Add two Robot test cases for 'tool list --type tool' and 'tool list --type validation'. The CLI handler (cli/commands/tool.py) and database repository (infrastructure/database/repositories.py) already passed tool_type through correctly — no changes needed there. ISSUES CLOSED: #2974 |
||
|
|
1d36449a98 |
fix(cli): remove extra --mode flag from validation attach
CI / build (push) Has been cancelled
CI / e2e_tests (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / quality (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / benchmark-publish (push) Has been cancelled
CI / security (push) Has been cancelled
CI / helm (push) Has been cancelled
CI / unit_tests (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CI / coverage (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / status-check (push) Has been cancelled
Remove the --mode/-m CLI flag from the validation attach command to align with the specification, which defines validation mode as an inherent property of the validation definition set at registration time via validation add, not as a per-attachment override. The service layer (ToolRegistryService.attach_validation) no longer accepts mode as a parameter; instead it reads the mode from the validation's registered definition. The ToolRegistryRepository _to_legacy_domain now exposes the mode field so the service can access it. All tests that passed --mode to the CLI or service have been updated or removed. The invalid-mode validation scenarios were removed since the mode is no longer caller-supplied. Coverage remains at 98.7%. ISSUES CLOSED: #913 Co-authored-by: Jeffrey Phillips Freeman <jeffrey.freeman@cleverthis.com> Co-committed-by: Jeffrey Phillips Freeman <jeffrey.freeman@cleverthis.com> |
||
|
|
b2e923173f |
perf(tests): consolidate 141 trivially small feature files into 34 domain groups
CI / lint (pull_request) Successful in 18s
CI / typecheck (pull_request) Successful in 32s
CI / quality (pull_request) Successful in 19s
CI / security (pull_request) Successful in 33s
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 16s
CI / unit_tests (pull_request) Successful in 2m5s
CI / integration_tests (pull_request) Successful in 2m50s
CI / docker (pull_request) Successful in 15s
CI / coverage (pull_request) Successful in 4m19s
CI / lint (push) Successful in 12s
CI / quality (push) Successful in 18s
CI / security (push) Successful in 30s
CI / build (push) Successful in 22s
CI / typecheck (push) Successful in 58s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 2m6s
CI / docker (push) Successful in 50s
CI / integration_tests (push) Successful in 3m21s
CI / coverage (push) Successful in 4m12s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (pull_request) Successful in 24m46s
Consolidate 141 BDD feature files that each complete in under 0.1 seconds into 25 domain-grouped feature files, reducing subprocess count from 339 to ~223. Each consolidated file groups scenarios from the same domain/module that share step definitions and fixtures. All scenarios are preserved with clear comment headers indicating their original source file. This reduces subprocess overhead by ~116 invocations (141 original files replaced by 25 consolidated files), targeting the 42% of subprocess count that contributed only 0.2% of actual test runtime. ISSUES CLOSED: #485 |