crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

[FEATURE] Add shared memory backend record lifecycle and pagination tests

Open lorenzejay opened this issue 1 month ago • 1 comments

Python PR scope

Create a small backend-parametrized pytest suite for save, get_record, update, list_records, and count on LanceDB and Qdrant Edge using temporary stores and fixed vectors.

Difficulty: easy. Allocation index: #8118. Project: #8120.

Cohort allocation

This ticket is reserved for maintainer-coordinated allocation to the Stanford semester collaboration. Please wait for @lorenzejay to confirm an assignee before implementing. A comment expresses interest; it does not establish ownership. Public good first issue / help wanted discovery labels will be considered after cohort allocation.

GitHub usernames have not yet been supplied, so no individual assignment is implied.

Acceptance criteria

  • [ ] Test round-tripping records and that update replaces the intended ID without corrupting other records.
  • [ ] Test newest-first list ordering with distinct timestamps and deterministic limit/offset cases.
  • [ ] Test empty-store and missing-record behavior according to the StorageBackend contract.
  • [ ] Reuse backend-specific setup fixtures; do not build another fake storage engine or test framework.
  • [ ] Respect existing active fixes such as #7418; new runtime defects need a separate reproduced issue.

Dependencies and coordination

Can start independently of the other cohort implementation tickets.

Starting points

Submission

The contributor implements this scope and submits one focused PR linked to this open issue. Include full Python annotations, behavioral tests, and relevant quality checks. No paid API calls are required for the tests. Preserve existing APIs outside the scoped feature. For newly found defects, reproduce them and check active issues/PRs before fixing them. Docs edits, when needed, belong under docs/edge/ and must sync ar, ko, pt-BR per DOCS_TRANSLATIONS.md. Follow .github/CONTRIBUTING.md. Issue prepared with AI assistance.

lorenzejay avatar Oct 13 '26 22:10 lorenzejay

I am interested in claiming this issue. Thanks! @lorenzejay

chang-amy avatar Oct 14 '26 06:10 chang-amy