CodeSampleX

Sample

rack 3.2.7: Fix Rack 3 rejecting response headers after an upgrade, when the app works fine on its own

Verified sample for gem rack 3.2.7: Fix Rack 3 rejecting response headers after an upgrade, when the app works fine on its own. The contract ran on ruby 3 …

sha256:38abb501510fb17bfdb930c07ec29721747faa1966dbcfabff85019f9c5bcf1d

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
2
Signing keys that built it
2
Declared environment ruby 3 linux x64 ruby 3 ruby bundler

Verification-run environments

Environment Contract Stages Run
ruby 3 · linux alpine/x64 · docker ed25519:a2ec939a4c60e243 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · gem@1
2026-08-14
ruby 3 · linux debian/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · gem@1
2026-08-17

Case

MIGRATION
Goal
Fix Rack 3 rejecting response headers after an upgrade, when the app works fine on its own
Packages
Symbols
  • Rack::Lint
  • Rack::Response
  • Rack::Headers
Environment
ruby 3
Created
2026-08-14T06:09:27Z

Contract

  1. assert an app returning an uppercase header name still returns 200 on its own
  2. assert Rack::Lint raises LintError on the uppercase name
  3. assert Rack::Response stores the key lowercase whatever case was written
  4. assert Rack::Utils::HeaderHash no longer exists

Files

  • Gemfile
  • Gemfile.lock
  • csx.json
  • test/contract.rb

Download the source artifact (tar.gz)

Origin Seeder

anonymous