Skip to content

fix: increase response body limit from 10 MiB to 50 MiB in queries#814

Merged
JosephKav merged 2 commits intomasterfrom
813-bug-github-query-for-adoptiumtemurin25-binaries-fails-to-retrieve-the-version
Jan 28, 2026
Merged

fix: increase response body limit from 10 MiB to 50 MiB in queries#814
JosephKav merged 2 commits intomasterfrom
813-bug-github-query-for-adoptiumtemurin25-binaries-fails-to-retrieve-the-version

Conversation

@JosephKav
Copy link
Copy Markdown
Collaborator

adoptium/temurin25-binaries was giving a response >10MiB on API requests

*encoding/json.SyntaxError {msg: "unexpected end of JSON input", Offset: 10485760}

Here I'm increasing that limit to 50MiB so that requests work for this repo (and others with a big response)

INFO: Found 1 services to monitor:
  - runtime - OpenJDK
INFO: Listening on 0.0.0.0:8080/
INFO: runtime - OpenJDK, Latest Release - "25.0.2"

@JosephKav JosephKav added bug Something isn't working go Pull requests that update Go code labels Jan 28, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.96%. Comparing base (72f05dd) to head (26cb6aa).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #814      +/-   ##
==========================================
- Coverage   98.96%   98.96%   -0.00%     
==========================================
  Files         137      137              
  Lines        9224     9221       -3     
==========================================
- Hits         9128     9125       -3     
  Misses         73       73              
  Partials       23       23              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JosephKav JosephKav marked this pull request as ready for review January 28, 2026 01:05
@JosephKav JosephKav merged commit 7dc5afc into master Jan 28, 2026
7 checks passed
@JosephKav JosephKav deleted the 813-bug-github-query-for-adoptiumtemurin25-binaries-fails-to-retrieve-the-version branch January 28, 2026 01:06
This was referenced Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: github query for adoptium/temurin25-binaries fails to retrieve the version

1 participant