Closed gmcgibbon closed 1 year ago
Merging #547 (676bf44) into master (e1d1762) will decrease coverage by
60.57%
. The diff coverage isn/a
.:exclamation: Current head 676bf44 differs from pull request most recent head 9f5a083. Consider uploading reports for the commit 9f5a083 to get more accurate results
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@ Coverage Diff @@
## master #547 +/- ##
===========================================
- Coverage 87.39% 26.82% -60.57%
===========================================
Files 18 14 -4
Lines 1269 697 -572
===========================================
- Hits 1109 187 -922
- Misses 160 510 +350
see 17 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Looks like CI errors are due to change in behaviour from the redis client. There's a fix on https://github.com/MiniProfiler/rack-mini-profiler/pull/543 to get CI green.
Needs a rebase and then we're set.
Fixes malformed response when
pp=flamegraph
is used and stackprof is not installed (this happens on web servers such as puma due to the expectation that the body is an array, it crashes here: https://github.com/puma/puma/blob/d8765e362dd9b273635facefa0911252abdb584b/lib/puma/request.rb#L153).Also forwards headers and status code from app response error cases so that app logs are consistent with what is actually returned by middleware.
I couldn't test this through integration tests, so I had to use units. If we don't see value in the well-formed response tests, I can remove them.