TDD: agents project create persistence commit test #632

Closed
opened 2026-03-07 23:02:33 +00:00 by freemo · 1 comment
Owner

Metadata

  • Commit Message: test(project): add TDD failing tests for project create persistence
  • Branch: tdd/project-create-persist

Parent

Bug: #589agents project create does not persist project to database

Background and Context

Per CONTRIBUTING.md TDD Bug Fix Workflow, every Type/Bug issue requires a Type/Testing counterpart. Bug #589 root cause: NamespacedProjectRepository.create() calls session.flush() but never session.commit().

Note: TDD tests already exist in PR #591 (opened by @brent.edwards, which also includes the fix). This issue is the formal tracking counterpart.

Acceptance Criteria

  • Behave BDD scenarios tagged @tdd_bug @tdd_bug_589 @tdd_expected_fail using file-based SQLite with fresh session per invocation
  • Robot Framework integration smoke tests
  • ASV round-trip benchmark with project-count tracker
  • Tests fail until bug #589 is fixed

Dependencies

  • Blocked by: #627, #628 (TDD infrastructure)
  • Blocks: #589 (bug fix)

Definition of Done

TDD tests reproducing bug #589 are merged to master.

## Metadata - **Commit Message**: `test(project): add TDD failing tests for project create persistence` - **Branch**: `tdd/project-create-persist` ## Parent Bug: #589 — `agents project create` does not persist project to database ## Background and Context Per CONTRIBUTING.md TDD Bug Fix Workflow, every Type/Bug issue requires a Type/Testing counterpart. Bug #589 root cause: `NamespacedProjectRepository.create()` calls `session.flush()` but never `session.commit()`. **Note**: TDD tests already exist in PR #591 (opened by @brent.edwards, which also includes the fix). This issue is the formal tracking counterpart. ## Acceptance Criteria - [ ] Behave BDD scenarios tagged `@tdd_bug @tdd_bug_589 @tdd_expected_fail` using file-based SQLite with fresh session per invocation - [ ] Robot Framework integration smoke tests - [ ] ASV round-trip benchmark with project-count tracker - [ ] Tests fail until bug #589 is fixed ## Dependencies - Blocked by: #627, #628 (TDD infrastructure) - Blocks: #589 (bug fix) ## Definition of Done TDD tests reproducing bug #589 are merged to master.
freemo added this to the v3.2.0 milestone 2026-03-07 23:05:00 +00:00
Author
Owner

PM Status — Day 29

Closing this TDD tracking issue. As noted in the issue body, the TDD failing tests for bug #589 already exist in PR #591 (merged by @brent.edwards). The bug fix is also merged. Both the test and the fix are on master.

Status: Complete — closing to unblock parent bug #589.

## PM Status — Day 29 Closing this TDD tracking issue. As noted in the issue body, the TDD failing tests for bug #589 already exist in PR #591 (merged by @brent.edwards). The bug fix is also merged. Both the test and the fix are on `master`. **Status**: Complete — closing to unblock parent bug #589.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference
cleveragents/cleveragents-core#632
No description provided.