Skip to content

Add durability contract tests and harden HTTP fd handling#387

Merged
kacy merged 1 commit intomainfrom
release-contract-durability
Apr 4, 2026
Merged

Add durability contract tests and harden HTTP fd handling#387
kacy merged 1 commit intomainfrom
release-contract-durability

Conversation

@kacy
Copy link
Copy Markdown
Owner

@kacy kacy commented Apr 4, 2026

What changed

  • add durability-focused test-contract coverage for S3 object persistence and multipart staging cleanup
  • wire the new restart and durability contract module into the contract test target
  • make the contract target depend on the installed binary build step
  • harden HTTP connection timeout setup so raw contract harnesses using non-socket file descriptors do not panic

Why

The next confidence step was persistence-oriented contract coverage. While adding that coverage, the raw HTTP contract path exposed a reliability bug in the connection runtime when timeout setup ran against a non-socket fd.

Impact

  • improves release confidence around durable S3 writes and multipart cleanup behavior
  • keeps the contract suite deterministic and stable
  • removes a panic in contract-style in-process HTTP handling

Validation

  • zig build test-contract -Doptimize=ReleaseSafe
    • All 21 tests passed.

@kacy kacy marked this pull request as ready for review April 4, 2026 12:05
@kacy kacy merged commit 6d9bc58 into main Apr 4, 2026
6 of 7 checks passed
@kacy kacy deleted the release-contract-durability branch April 4, 2026 12:06
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