3.5 KiB
3.5 KiB
Slice 6: Testing and Release Validation
Status
In progress
Roadmap Alignment
This slice owns Testing and Release Validation in ROADMAP.md, including the deterministic MVP demonstration and final release gate. It absorbs the older roadmap's Step 24 and validation portions of Steps 25-26. Functional persistence has passed manual checkpoints; comprehensive automated persistence round-trip coverage remains pending.
Objective
Produce repeatable automated and manual evidence that the complete MVP builds, runs, and satisfies its acceptance workflows.
Dependencies
- Feature-complete Slices 1 through 5
- Slice 7 release boundary
- Slice 8 release documentation
In Scope
- Toolchain baseline, unit/integration/end-to-end coverage, schema compatibility, production builds, Docker validation, and release evidence
Out of Scope
- Post-MVP testing, enterprise load certification, and formal penetration testing
Tasks
- Install dependencies from lockfiles and document the supported toolchain.
- Establish clean frontend and backend validation commands.
- Define release-critical coverage and test layers.
- Complete frontend component, editor, binding, and Preview tests.
- Complete backend CRUD, validation, authentication, proxy, security, and persistence tests.
- Add canonical-document persistence round-trip tests.
- Add workflow-launcher, dependent-dropdown, and dashboard end-to-end scenarios.
- Build and validate a deterministic local MVP demonstration project and controlled mock endpoints; do not rely on public HTTPBin-style services.
- Validate all valid and invalid examples.
- Produce successful frontend and backend production builds.
- Verify full-stack Docker Compose startup, health, restart, and persistence.
- Run the final security regression suite.
- Record commands, test counts, artifacts, limitations, and defects.
- Update state and the final acceptance checklist.
- Run clean-checkout, backend restart, Docker restart, database backup, and database restoration validation.
Acceptance Criteria
- A clean checkout can be installed, built, tested, and started from documented commands.
- All release-critical automated suites and user workflows pass.
- Docker startup, restart, health, and persistence checks pass.
- No unresolved critical or high-severity defects remain.
- Release evidence and accepted limitations are documented.
Validation
- Frontend checks, tests, and build pass.
- Backend checks, tests, and build pass.
- Schema matrix and end-to-end suite pass.
- Docker integration and security regression checklists pass.
Risks and Open Questions
- The first baseline could not run because dependencies were absent.
- External API tests must use controlled mocks.
- End-to-end tooling should remain minimal and maintainable.
Progress Log
2026-07-18
- Repaired the frontend lockfile and completed Node 20/npm 10 clean installs.
- Passed 6 frontend suites with 420 tests.
- Passed frontend and backend production builds and the schema fixture matrix.
- Fixed clean-database backend startup ordering.
- Passed Docker build, startup, health, CRUD, cleanup, and restart persistence.
- Recorded exact evidence in
BASELINE.md.
Handoff
- Last completed: Initial technical and Docker validation baseline.
- Next action: Complete Slice 2 workflow acceptance, then continue release validation as Slices 3-5 complete.
- Known blockers: Final validation depends on Slices 1-5; frontend audit findings remain open.