test(resource): BDD integration tests and backward-compatibility verification for database resource hierarchy #2040

Open
opened 2026-04-03 03:12:46 +00:00 by freemo · 3 comments
Owner

Metadata

  • Branch: test/v360/db-hierarchy-integration
  • Commit Message: test(resource): add integration tests and backward-compatibility verification for database hierarchy
  • Milestone: v3.6.0
  • Parent Epic: #1020

Background

With the full database resource hierarchy implemented (abstract base types, concrete type inheritance, and polymorphic handler resolution), this issue adds Robot Framework integration tests and a backward-compatibility verification suite to ensure that existing database resources (created before the hierarchy migration) continue to work correctly after the restructuring.

Expected Behavior

  • Robot Framework integration tests exercise the full database hierarchy end-to-end
  • Existing postgres, mysql, sqlite, duckdb resources created before the migration still load, resolve, and operate correctly
  • agents resource type list shows the new hierarchy structure
  • agents resource add --type postgres still works as before

Acceptance Criteria

  • Robot Framework integration tests added for database hierarchy (at least one test per concrete type)
  • Backward-compatibility test: existing resources with flat types still resolve after migration
  • agents resource type list output reflects the new hierarchy
  • agents resource add --type <db-type> works for all four concrete types
  • All Robot tests pass
  • nox passes with coverage ≥ 97%

Dependencies

  • Blocked by: #2039 (polymorphic handler must be in place before integration tests)

Subtasks

  • Write Robot Framework integration tests for postgres, mysql, sqlite, duckdb resource creation
  • Write backward-compatibility test: create resource with flat type, run migration, verify it still resolves
  • Verify agents resource type list shows hierarchy structure
  • Run nox and confirm all stages pass

Definition of Done

  • All subtasks completed
  • Tests written and passing
  • All nox stages pass
  • Coverage ≥ 97%

Automated by CleverAgents Bot
Supervisor: Unknown | Agent: ca-epic-planner

## Metadata - **Branch**: `test/v360/db-hierarchy-integration` - **Commit Message**: `test(resource): add integration tests and backward-compatibility verification for database hierarchy` - **Milestone**: v3.6.0 - **Parent Epic**: #1020 ## Background With the full database resource hierarchy implemented (abstract base types, concrete type inheritance, and polymorphic handler resolution), this issue adds Robot Framework integration tests and a backward-compatibility verification suite to ensure that existing database resources (created before the hierarchy migration) continue to work correctly after the restructuring. ## Expected Behavior - Robot Framework integration tests exercise the full database hierarchy end-to-end - Existing `postgres`, `mysql`, `sqlite`, `duckdb` resources created before the migration still load, resolve, and operate correctly - `agents resource type list` shows the new hierarchy structure - `agents resource add --type postgres` still works as before ## Acceptance Criteria - [ ] Robot Framework integration tests added for database hierarchy (at least one test per concrete type) - [ ] Backward-compatibility test: existing resources with flat types still resolve after migration - [ ] `agents resource type list` output reflects the new hierarchy - [ ] `agents resource add --type <db-type>` works for all four concrete types - [ ] All Robot tests pass - [ ] `nox` passes with coverage ≥ 97% ## Dependencies - Blocked by: #2039 (polymorphic handler must be in place before integration tests) ## Subtasks - [ ] Write Robot Framework integration tests for `postgres`, `mysql`, `sqlite`, `duckdb` resource creation - [ ] Write backward-compatibility test: create resource with flat type, run migration, verify it still resolves - [ ] Verify `agents resource type list` shows hierarchy structure - [ ] Run `nox` and confirm all stages pass ## Definition of Done - [ ] All subtasks completed - [ ] Tests written and passing - [ ] All nox stages pass - [ ] Coverage ≥ 97% --- **Automated by CleverAgents Bot** Supervisor: Unknown | Agent: ca-epic-planner
freemo added this to the v3.6.0 milestone 2026-04-03 03:23:05 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium (confirmed)
  • Milestone: v3.6.0 (confirmed — database resource hierarchy)
  • MoSCoW: Should Have — Integration tests and backward-compatibility verification are essential to ensure the hierarchy migration doesn't break existing resources. This is the final issue in the chain and validates the entire hierarchy.
  • Parent Epic: #1020 (confirmed correct)
  • Dependency: Blocked by #2039

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium (confirmed) - **Milestone**: v3.6.0 (confirmed — database resource hierarchy) - **MoSCoW**: Should Have — Integration tests and backward-compatibility verification are essential to ensure the hierarchy migration doesn't break existing resources. This is the final issue in the chain and validates the entire hierarchy. - **Parent Epic**: #1020 (confirmed correct) - **Dependency**: Blocked by #2039 --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium
  • Milestone: v3.6.0
  • MoSCoW: Should Have — already correctly labeled; BDD integration tests for the database resource hierarchy
  • Parent Epic: #1020 (Database resource hierarchy restructuring)

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium - **Milestone**: v3.6.0 - **MoSCoW**: Should Have — already correctly labeled; BDD integration tests for the database resource hierarchy - **Parent Epic**: #1020 (Database resource hierarchy restructuring) --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium (unchanged)
  • Milestone: v3.6.0 (already assigned)
  • MoSCoW: Should Have — BDD integration tests and backward-compatibility verification are essential for validating the database resource hierarchy restructuring. Depends on #2035, #2036, #2037, #2039.
  • Parent Epic: #1020 (Database resource hierarchy restructuring)

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified ✅ - **Priority**: Medium (unchanged) - **Milestone**: v3.6.0 (already assigned) - **MoSCoW**: Should Have — BDD integration tests and backward-compatibility verification are essential for validating the database resource hierarchy restructuring. Depends on #2035, #2036, #2037, #2039. - **Parent Epic**: #1020 (Database resource hierarchy restructuring) --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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#2040
No description provided.