test(persistence): add plan/action persistence suites #248

Closed
opened 2026-02-22 23:40:32 +00:00 by freemo · 0 comments
Owner

Metadata

  • Commit: test(persistence): add plan/action persistence suites
  • Branch: feature/m1-persistence-tests

Subtasks

  • Tests (Behave): Add plan persistence scenarios (create, phase/state transitions, list filters, plan tree links).
  • Tests (Behave): Add scenarios for Action phase persistence and Apply terminal state storage (applied, constrained, errored, cancelled).
  • Tests (Behave): Add action persistence scenarios (create/list/archive, arguments/invariants ordering).
  • Tests (Behave): Add cross-restart scenarios verifying plan status persists across process restarts.
  • Tests (Robot): Add plan persistence E2E (full lifecycle, restart persistence, concurrent CLI access).
  • Update docs/development/testing.md with persistence suites, fixtures, and nox commands.
  • Tests (ASV): Add benchmarks/persistence_suites_bench.py for test runtime baseline.
  • Run nox (all default sessions, including benchmark), fix any errors if needed ensuring nox passes.

Section: #### Section 3 Notes
Status: Completed

## Metadata - **Commit**: `test(persistence): add plan/action persistence suites` - **Branch**: `feature/m1-persistence-tests` ## Subtasks - [x] Tests (Behave): Add plan persistence scenarios (create, phase/state transitions, list filters, plan tree links). - [x] Tests (Behave): Add scenarios for Action phase persistence and Apply terminal state storage (`applied`, `constrained`, `errored`, `cancelled`). - [x] Tests (Behave): Add action persistence scenarios (create/list/archive, arguments/invariants ordering). - [x] Tests (Behave): Add cross-restart scenarios verifying plan status persists across process restarts. - [x] Tests (Robot): Add plan persistence E2E (full lifecycle, restart persistence, concurrent CLI access). - [x] Update `docs/development/testing.md` with persistence suites, fixtures, and nox commands. - [x] Tests (ASV): Add `benchmarks/persistence_suites_bench.py` for test runtime baseline. - [x] Run `nox` (all default sessions, including benchmark), fix any errors if needed ensuring nox passes. **Section**: #### Section 3 Notes **Status**: Completed
freemo added this to the v3.0.0 milestone 2026-02-22 23:40:32 +00:00
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#248
No description provided.