Skip to content

Add contract and simulation test targets#386

Merged
kacy merged 1 commit intomainfrom
contract-and-sim-tests
Apr 4, 2026
Merged

Add contract and simulation test targets#386
kacy merged 1 commit intomainfrom
contract-and-sim-tests

Conversation

@kacy
Copy link
Copy Markdown
Owner

@kacy kacy commented Apr 4, 2026

Summary

  • add test-contract and test-sim targets plus matching make targets
  • add contract-focused HTTP and S3 coverage for exact status codes, auth behavior, and response shape
  • tighten request parsing and response handling around duplicate Content-Length, oversized bodies, and HEAD semantics
  • add a deterministic follower catch-up simulation case and tighten oversized-body security checks

Why

These changes add stronger release-facing coverage for externally visible API behavior and deterministic cluster recovery paths, while tightening a few request-handling edge cases uncovered during the audit.

Validation

  • zig build test-contract -Doptimize=ReleaseSafe

Notes

  • the privileged security tests were updated to assert the real 413 path, but the privileged suite was not rerun in this pass

@kacy kacy marked this pull request as ready for review April 4, 2026 00:11
@kacy kacy merged commit 1b2ac33 into main Apr 4, 2026
6 of 7 checks passed
@kacy kacy deleted the contract-and-sim-tests branch April 4, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant