CodeSampleX

Sample

Prove that Faraday does not close caller-owned request streams after a completed POST.

sha256:120b78f41cb0cacae1b41bc79e9fdf64f352cb794bd70e368b81ef4dedd6a0ed

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Prove that Faraday does not close caller-owned request streams after a completed POST. HOW
Packages
faraday 2.14.3 faraday-net_http 3.4.4
Environment
ruby
Created
2026-08-17T02:40:08Z

Commonly assumed

A well-formed Faraday POST using an IO request body is expected to close that IO for the caller automatically.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts