• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-grape / grape / 45592387036
100%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2026 10:10AM UTC
Jobs 23
Files 181
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Nov 2026 10:10AM UTC coverage: 100.0% (+0.9%) from 99.113%
45592387036

push

github

web-flow
Close and delete multipart upload tempfiles once the response is closed (#3086)

Rack's multipart parser leaves its tempfiles to whatever reaps them, and
outside Rails nothing did, so a standalone Grape API kept every upload on
disk until garbage collection or exit (#2487). A reaper now wraps the
router, next to Rack::Head. There it also covers a mounted Rack app. Unlike
one in each endpoint's stack, it doesn't fire when a route cascades and the
router closes that route's body before the next route reads the same upload.

Rack::TempfileReaper allocates an Array and a BodyProxy for every request,
which cost 13-18% of a bare GET. Grape's reaper instead reads rack.tempfiles
once the app has answered, and wraps the body only when the request
uploaded something.

Replaces #3041. Fixes #2487.

Co-authored-by: anyingiit <49945850+anyingiit@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1657 of 1657 branches covered (100.0%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 2 files covered. (100.0%)

4786 of 4786 relevant lines covered (100.0%)

22027.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rails_8_0.gemfile - 45592387036.1 25 Nov 2026 10:10AM UTC 181
98.91
GitHub Action Run
2 run-4.0-gemfiles/grape_swagger.gemfile - 45592387036.2 25 Nov 2026 10:10AM UTC 179
53.36
GitHub Action Run
3 run-4.0-gemfiles/dry_validation.gemfile - 45592387036.3 25 Nov 2026 10:10AM UTC 179
57.11
GitHub Action Run
4 run-3.3-Gemfile - 45592387036.4 25 Nov 2026 10:10AM UTC 180
98.91
GitHub Action Run
5 run-4.0-gemfiles/multi_json_1_20.gemfile - 45592387036.5 25 Nov 2026 10:10AM UTC 179
46.27
GitHub Action Run
6 run-3.3-gemfiles/rails_8_1.gemfile - 45592387036.6 25 Nov 2026 10:10AM UTC 181
98.91
GitHub Action Run
7 run-4.0-gemfiles/multi_json.gemfile - 45592387036.7 25 Nov 2026 10:10AM UTC 179
46.24
GitHub Action Run
8 run-4.0-gemfiles/hashie.gemfile - 45592387036.8 25 Nov 2026 10:10AM UTC 179
59.27
GitHub Action Run
9 run-3.3-gemfiles/rack_3_1.gemfile - 45592387036.9 25 Nov 2026 10:10AM UTC 180
98.91
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 45592387036.10 25 Nov 2026 10:10AM UTC 180
98.89
GitHub Action Run
11 run-4.0-gemfiles/rack_3_1.gemfile - 45592387036.11 25 Nov 2026 10:10AM UTC 180
98.89
GitHub Action Run
12 run-4.0-gemfiles/rails_8_0.gemfile - 45592387036.12 25 Nov 2026 10:10AM UTC 181
98.9
GitHub Action Run
13 run-3.4-gemfiles/rack_3_1.gemfile - 45592387036.13 25 Nov 2026 10:10AM UTC 180
98.89
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 45592387036.14 25 Nov 2026 10:10AM UTC 179
48.93
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 45592387036.15 25 Nov 2026 10:10AM UTC 181
98.9
GitHub Action Run
16 run-4.0-gemfiles/multi_xml.gemfile - 45592387036.16 25 Nov 2026 10:10AM UTC 179
45.94
GitHub Action Run
17 run-4.0-gemfiles/multi_xml_0_8.gemfile - 45592387036.17 25 Nov 2026 10:10AM UTC 179
45.97
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 45592387036.18 25 Nov 2026 10:10AM UTC 180
98.89
GitHub Action Run
19 run-4.0-Gemfile - 45592387036.19 25 Nov 2026 10:10AM UTC 180
98.89
GitHub Action Run
20 run-3.3-gemfiles/rack_3_2.gemfile - 45592387036.20 25 Nov 2026 10:10AM UTC 180
98.91
GitHub Action Run
21 run-3.4-gemfiles/rails_8_1.gemfile - 45592387036.21 25 Nov 2026 10:10AM UTC 181
98.9
GitHub Action Run
22 run-3.4-Gemfile - 45592387036.22 25 Nov 2026 10:10AM UTC 180
98.89
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 45592387036.23 25 Nov 2026 10:10AM UTC 181
98.9
GitHub Action Run
Source Files on build 45592387036
  • Tree
  • List 181
  • Changed 162
  • Source Changed 1
  • Coverage Changed 162
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45592387036
  • 96c4b896 on github
  • Prev Build on master (#45589746549)
  • Next Build on master (#45609204815)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc