Skip to content

Property-based test that AES envelope survives round-trip across all evidence sizes #275

Description

@kilodesodiq-arch

Problem Statement. UploadChunk and UploadSession schemas exist. There is no
apparent integration test asserting that arbitrary-size uploads (1 KB to 100 MB)
preserves checksum equality.

Technical Context.
app/backend/test/.

Expected Outcome. A property-based test (fast-check or jqwik) iterates over
chunks of random size and verifies checksum round-trip.

Acceptance Criteria.

  • 1000 random sequences in CI under 30 s.

Files or modules likely to be affected.
new app/backend/test/upload-roundtrip.spec.ts,
package.json.

Difficulty. Medium
Estimated effort. S



Backlog item #67 from `docs/maintainer-issue-backlog.md.

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions