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
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
29 lines
1.3 KiB
Gherkin
29 lines
1.3 KiB
Gherkin
@tdd_issue @tdd_issue_570 @tdd_issue_4178
|
|
Feature: TDD Issue #570 — session create DI container missing db provider
|
|
As a developer
|
|
I want to verify that `agents session create` fails due to the
|
|
DI container missing a `db` provider
|
|
So that the bug is captured and will be caught by a regression test
|
|
|
|
The root cause is shared with bug #554: `_get_session_service()` in
|
|
session.py calls `container.db()`, but the Container class has no `db`
|
|
provider, causing an AttributeError at runtime.
|
|
|
|
Scenario: Session create command succeeds via DI container
|
|
Given a CLI runner using the real session DI path
|
|
When I invoke the session create command
|
|
Then the session create command should exit successfully
|
|
|
|
Scenario: Session create with actor succeeds via DI container
|
|
Given a CLI runner using the real session DI path
|
|
When I invoke the session create command with actor "openai/gpt-4"
|
|
Then the session create command should exit successfully
|
|
|
|
# @tdd_issue @tdd_issue_4368 @tdd_expected_fail @skip
|
|
@skip
|
|
Scenario: Session create command produces structured output via DI
|
|
Given a CLI runner using the real session DI path
|
|
When I invoke the session create command with format json
|
|
Then the session create command should exit successfully
|
|
And the session create output should be valid JSON
|