Files
cleveragents-core/robot/multi_project_subplan.robot
freemo 738c3b5eda
CI / lint (pull_request) Successful in 15s
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 32s
CI / security (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 35s
CI / build (pull_request) Successful in 14s
CI / unit_tests (pull_request) Successful in 2m30s
CI / docker (pull_request) Successful in 39s
CI / integration_tests (pull_request) Successful in 3m0s
CI / coverage (pull_request) Successful in 4m47s
CI / lint (push) Successful in 13s
CI / build (push) Successful in 17s
CI / quality (push) Successful in 17s
CI / security (push) Successful in 32s
CI / typecheck (push) Successful in 34s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 2m11s
CI / docker (push) Successful in 40s
CI / integration_tests (push) Successful in 2m55s
CI / coverage (push) Successful in 4m47s
CI / benchmark-regression (pull_request) Successful in 25m3s
CI / benchmark-publish (push) Successful in 14m7s
feat(plan): add multi-project subplan support
Add domain models, application service, CLI integration, and full test
coverage for multi-project subplan orchestration.

New components:
- MultiProjectMetadata, ProjectScope, ProjectDependency domain models
- MultiProjectService for creating/managing multi-project plans
- CLI display of multi-project metadata in plan commands
- Behave BDD tests (20 scenarios), Robot Framework integration tests,
  ASV benchmarks, and reference documentation

Also fixes pre-existing test flakiness in cli_core, core_cli_commands,
cli_plan_context_commands, and helper_server_stubs caused by environment
leakage and path-with-spaces issues.

ISSUES CLOSED: #199
2026-03-03 14:55:58 -05:00

48 lines
2.1 KiB
Plaintext

*** Settings ***
Documentation Smoke tests for multi-project subplan support
Resource ${CURDIR}/common.resource
Suite Setup Setup Test Environment
Suite Teardown Cleanup Test Environment
*** Variables ***
${HELPER} ${CURDIR}/helper_multi_project_subplan.py
*** Test Cases ***
Initialize Multi-Project Scopes
[Documentation] Initialize project scopes with resource mapping
${result}= Run Process ${PYTHON} ${HELPER} init-scopes cwd=${WORKSPACE}
Log ${result.stdout}
Log ${result.stderr}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} multi-project-init-ok
Resolve Alias
[Documentation] Resolve a project alias to its ProjectLink
${result}= Run Process ${PYTHON} ${HELPER} resolve-alias cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} multi-project-alias-ok
Validate Mixed Access
[Documentation] Mixed access modes without opt-in should produce errors
${result}= Run Process ${PYTHON} ${HELPER} validate-mixed cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} multi-project-mixed-ok
Record Changeset
[Documentation] Record a per-project changeset summary
${result}= Run Process ${PYTHON} ${HELPER} record-changeset cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} multi-project-changeset-ok
Cross-Project Validation
[Documentation] Validate cross-project constraints
${result}= Run Process ${PYTHON} ${HELPER} validate-cross cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} multi-project-cross-ok
CLI Dict Integration
[Documentation] Plan as_cli_dict includes multi-project section
${result}= Run Process ${PYTHON} ${HELPER} cli-dict cwd=${WORKSPACE}
Should Be Equal As Integers ${result.rc} 0
Should Contain ${result.stdout} multi-project-cli-dict-ok