3eecb79003
CI / lint (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 46s
CI / typecheck (pull_request) Successful in 56s
CI / security (pull_request) Successful in 56s
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 29s
CI / e2e_tests (pull_request) Successful in 2m7s
CI / unit_tests (pull_request) Successful in 3m8s
CI / docker (pull_request) Successful in 9s
CI / integration_tests (pull_request) Successful in 3m57s
CI / coverage (pull_request) Successful in 7m48s
CI / benchmark-regression (pull_request) Successful in 40m48s
TDD expected-fail tests proving bug #822 exists: CheckpointService.rollback_to_checkpoint() returns a successful RollbackResult but does not execute git reset --hard. Files modified after the checkpoint remain unchanged after rollback. Also fixes Robot Framework timeout robustness across the entire test suite: all Run Process calls now use on_timeout=kill (prevents SIGTERM-induced -15 exit codes under CI load) and timeouts increased to 120s (prevents premature kills during heavy parallel execution). ISSUES CLOSED: #839
69 lines
3.4 KiB
Plaintext
69 lines
3.4 KiB
Plaintext
*** Settings ***
|
|
Documentation M2 actor + tool source CLI smoke suite
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER} ${CURDIR}/helper_m2_actor_tool_smoke.py
|
|
|
|
*** Test Cases ***
|
|
Actor Load Hierarchical YAML Fixture
|
|
[Documentation] Load hierarchical actor from M2 fixture YAML and verify
|
|
${result}= Run Process ${PYTHON} ${HELPER} actor-load-fixture cwd=${WORKSPACE} timeout=120s on_timeout=kill
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} actor-name: m2test/hierarchical-workflow
|
|
Should Contain ${result.stdout} actor-type: graph
|
|
Should Contain ${result.stdout} node-count: 3
|
|
|
|
Actor Discovery From Fixture Directory
|
|
[Documentation] Discover actors from the M2 fixtures directory
|
|
${result}= Run Process ${PYTHON} ${HELPER} actor-discover cwd=${WORKSPACE} timeout=120s on_timeout=kill
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} actor-count: 1
|
|
Should Contain ${result.stdout} actor-loaded: m2test/hierarchical-workflow
|
|
|
|
Skill Pack Load From YAML Fixture
|
|
[Documentation] Load skill pack from M2 fixture YAML and verify
|
|
${result}= Run Process ${PYTHON} ${HELPER} skill-load-fixture cwd=${WORKSPACE} timeout=120s on_timeout=kill
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} skill-name: m2test/file-ops-pack
|
|
Should Contain ${result.stdout} tool-ref-count: 2
|
|
Should Contain ${result.stdout} inline-tool-count: 1
|
|
|
|
Skill Registry And Tool Resolution
|
|
[Documentation] Register skill pack and verify tool resolution
|
|
${result}= Run Process ${PYTHON} ${HELPER} skill-registry cwd=${WORKSPACE} timeout=120s on_timeout=kill
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} skill-registered: m2test/file-ops-pack
|
|
Should Contain ${result.stdout} resolved-tools-ok
|
|
|
|
Tool Lifecycle Smoke
|
|
[Documentation] Verify discover/activate/execute/deactivate lifecycle
|
|
${result}= Run Process ${PYTHON} ${HELPER} tool-lifecycle cwd=${WORKSPACE} timeout=120s on_timeout=kill
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} discover-ok
|
|
Should Contain ${result.stdout} activate-ok
|
|
Should Contain ${result.stdout} execute-ok
|
|
Should Contain ${result.stdout} deactivate-ok
|
|
|
|
MCP Stub Discovery And Invocation
|
|
[Documentation] Start MCP stub, discover tools, invoke, and stop
|
|
${result}= Run Process ${PYTHON} ${HELPER} mcp-stub cwd=${WORKSPACE} timeout=120s on_timeout=kill
|
|
Log ${result.stdout}
|
|
Log ${result.stderr}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} mcp-tool-count: 3
|
|
Should Contain ${result.stdout} mcp-invoke-ok: mcp/search
|
|
Should Contain ${result.stdout} mcp-stopped
|