Files
cleveragents-core/features/tdd_session_create_persist.feature
T
freemo 8ea00f5185
CI / unit_tests (push) Has been cancelled
CI / benchmark-publish (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / security (push) Has been cancelled
CI / quality (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / e2e_tests (push) Has been cancelled
CI / coverage (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CI / build (push) Has been cancelled
CI / push-validation (push) Has been cancelled
CI / status-check (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / helm (push) Has been cancelled
fix: restore CI quality tests to passing state (#4175)
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
2026-04-08 11:02:14 +00:00

25 lines
1.2 KiB
Gherkin

@tdd_issue @tdd_issue_1141 @tdd_issue_4177
Feature: Bug #1141 — session create persists for session list
As a developer
I want to verify that a session created via `agents session create`
appears in a subsequent `agents session list`
So that the session CRUD lifecycle works end-to-end
Fixed: The A2A facade handler now skips creation when a session_id is
already supplied in the params, preventing duplicate sessions (#1141).
# @tdd_issue @tdd_issue_4286 @tdd_expected_fail @skip
@skip
Scenario: Init then create should make list total increase from 0 to 1
Given a CLI runner using the real session DI path
When I tdd1141 invoke init with force yes
Then the tdd1141 init should exit successfully
When I tdd1141 invoke session list with format json
Then the tdd1141 session list should exit successfully
And the tdd1141 session list output should report total 0
When I tdd1141 invoke session create
Then the tdd1141 session create should exit successfully
When I tdd1141 invoke session list with format json
Then the tdd1141 session list should exit successfully
And the tdd1141 session list output should report total 1