CodeSampleX

Sample

Show that Sinatra does not automatically delete uploaded tempfile after request

sha256:642785541c948ed29ed0bfef28fd354b3908b3e42d5b60ff220ab91e5a7a7f29

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Show that Sinatra does not automatically delete uploaded tempfile after request HOW
Packages
sinatra 4.2.1 rack-test 2.2.0
Environment
ruby
Created
2026-08-17T02:47:53Z

Commonly assumed

Sinatra automatically removes uploaded file temporary files after the request completes

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