Files
cleveragents-core/features/actor_lsp_binding_field.feature
HAL9000 02e51b9298
CI / build (pull_request) Successful in 34s
CI / helm (pull_request) Successful in 38s
CI / lint (pull_request) Successful in 45s
CI / typecheck (pull_request) Successful in 1m4s
CI / security (pull_request) Successful in 1m10s
CI / quality (pull_request) Successful in 1m16s
CI / push-validation (pull_request) Successful in 18s
CI / unit_tests (pull_request) Successful in 6m32s
CI / docker (pull_request) Successful in 1m37s
CI / coverage (pull_request) Successful in 13m26s
CI / integration_tests (pull_request) Successful in 23m55s
CI / status-check (pull_request) Successful in 4s
fix(actor): fix lint errors and add regression tests for lsp_binding field (#1432)
- Remove trailing whitespace from blank lines in _extract_lsp_bindings()
  (W293 at lines 160, 164, 167, 172, 183, 188, 203)
- Simplify over-long line 180 (E501): auto_detect=node.lsp_binding.auto
- Add Behave scenario verifying NodeLspBinding typed field populates
  CompilationMetadata.lsp_bindings (features/actor_lsp_binding_field.feature)
- Add corresponding @given step using NodeLspBinding in actor_compiler_steps.py
- Add Robot Framework regression test case and lsp-binding-field helper command
  confirming node.lsp_binding is read by compile_actor()
- Update CHANGELOG.md and CONTRIBUTORS.md

ISSUES CLOSED: #1432
2026-05-30 00:36:20 -04:00

23 lines
1.0 KiB
Gherkin

Feature: Actor compiler reads LSP bindings from NodeDefinition.lsp_binding typed field
As a CleverAgents developer
I want the actor compiler to read LSP bindings from the typed lsp_binding field
So that per-node LSP bindings are not silently dropped when specified via lsp_binding: YAML key
Background:
Given the actor compiler is available
@tdd_issue @tdd_issue_1432
Scenario: Node with lsp_binding typed field populates CompilationMetadata.lsp_bindings
Given a GRAPH actor config with a node using the lsp_binding typed field
When I compile the actor config
Then the compilation should succeed
And the compilation metadata should have 1 LSP binding
And the LSP binding should reference server "local/pyright"
@tdd_issue @tdd_issue_1432
Scenario: Node without lsp_binding field produces empty lsp_bindings in metadata
Given a GRAPH actor config with a single node
When I compile the actor config
Then the compilation should succeed
And the compilation metadata should have 0 LSP bindings