2764fcef5c
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 16s
CI / build (pull_request) Successful in 25s
CI / quality (pull_request) Successful in 34s
CI / typecheck (pull_request) Successful in 39s
CI / security (pull_request) Successful in 52s
CI / unit_tests (pull_request) Successful in 2m51s
CI / integration_tests (pull_request) Successful in 3m41s
CI / docker (pull_request) Successful in 56s
CI / e2e_tests (pull_request) Successful in 3m56s
CI / coverage (pull_request) Successful in 6m28s
CI / benchmark-regression (pull_request) Successful in 38m39s
Address review-driven fixes across actor schema, preflight guardrails, docs/examples, and Behave/Robot coverage: unify preflight warning behavior with shared role-warning logic, resolve actor-name to config payloads in production preflight flow, harden response_format validation/coercion edge cases, extract duplicated helper logic, and expand negative-path test coverage. Also fix cross-scenario patcher leakage in step modules to eliminate full-run-only coverage failures.
40 lines
2.0 KiB
Plaintext
40 lines
2.0 KiB
Plaintext
*** Settings ***
|
|
Documentation Smoke tests for plan preflight guardrails (7 checks)
|
|
Resource ${CURDIR}/common.resource
|
|
Suite Setup Setup Test Environment
|
|
Suite Teardown Cleanup Test Environment
|
|
|
|
*** Variables ***
|
|
${HELPER_SCRIPT} robot/helper_plan_preflight_guardrails.py
|
|
|
|
*** Test Cases ***
|
|
Preflight All Checks Pass With Populated Registries
|
|
[Documentation] All 7 pre-flight checks pass when registries are populated
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} all-pass cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} all-pass-ok
|
|
|
|
Preflight Rejects Missing Action
|
|
[Documentation] PreflightRejection raised when action is missing
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} action-missing cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} action-missing-ok
|
|
|
|
Preflight Rollback Feasibility Check
|
|
[Documentation] Rollback check detects non-checkpointable tools
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} rollback-check cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} rollback-check-ok
|
|
|
|
Preflight Estimation Actor Warning
|
|
[Documentation] Preflight emits warning when estimation actor lacks response_format
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} estimation-warning cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} estimation-warning-ok
|
|
|
|
Preflight Estimation Context View Warning
|
|
[Documentation] Preflight emits warning when estimation actor uses non-strategist context_view
|
|
${result}= Run Process ${PYTHON} ${HELPER_SCRIPT} estimation-context-view-warning cwd=${WORKSPACE}
|
|
Should Be Equal As Integers ${result.rc} 0
|
|
Should Contain ${result.stdout} estimation-context-view-warning-ok
|