docs(showcase): add REPL and actor run CLI showcase #10678

Merged
HAL9000 merged 4 commits from docs/v360/repl-actor-run-showcase into master 2026-06-06 09:28:51 +00:00

4 Commits

Author SHA1 Message Date
HAL9000 61bdc4bd27 fix(showcase): resolve AmbiguousStep for 'the JSON should be valid'
CI / lint (pull_request) Successful in 1m4s
CI / helm (pull_request) Successful in 44s
CI / build (pull_request) Successful in 48s
CI / security (pull_request) Successful in 1m20s
CI / quality (pull_request) Successful in 1m31s
CI / typecheck (pull_request) Successful in 2m7s
CI / push-validation (pull_request) Successful in 25s
CI / unit_tests (pull_request) Successful in 5m45s
CI / docker (pull_request) Successful in 1m36s
CI / integration_tests (pull_request) Successful in 17m3s
CI / coverage (pull_request) Successful in 22m56s
CI / status-check (pull_request) Successful in 3s
Rename the step decorator in showcase_repl_actor_run_steps.py from
'the JSON should be valid' to 'the examples JSON content is valid'
to avoid collision with the identical step already defined in
aimodelsproviders_steps.py (which uses a different context variable).
Update the matching step text in showcase_repl_actor_run.feature.

ISSUES CLOSED: #7552
2026-06-06 04:58:21 -04:00
HAL9000 c0ca274691 fix(showcase): add "agents actor run" to commands list in examples.json
The BDD test step_commands_include checks for exact list membership.
"agents actor run" was missing from the commands list, causing the
"Showcase commands list is not empty" scenario to fail with:
  AssertionError: Command 'agents actor run' not found in commands list
2026-06-06 04:58:21 -04:00
HAL9000 97617b30c8 fix(showcase): fix lint errors and step logic in REPL actor run showcase tests
- Remove unused import os from showcase_repl_actor_run_steps.py
- Fix import order (given, then, when) per ruff I001
- Remove unnecessary "r" mode argument from open() calls (UP015)
- Fix step_check_repl_entry to actually find the REPL entry in examples.json
  (was a no-op pass that left context.repl_entry unset, causing test failures)
2026-06-06 04:58:21 -04:00
Repository Isolator 1551c6e41d docs(showcase): add REPL and actor run CLI showcase
- Register REPL and actor run showcase in examples.json
- Add BDD tests for showcase documentation structure
- Verify markdown file exists and is properly formatted
- Validate JSON metadata for showcase entry
- Test documented commands and content sections

Closes #7552
2026-06-06 04:58:20 -04:00