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
- A multipart upload sent with an allowed localhost Host reaches the Sinatra route, and the received tempfile still exists after the request returns.
Files
- Gemfile
- Gemfile.lock
- csx.json
- test/contract.rb
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9