fix: preserve all rendering proxy evaluate scripts#1659
Merged
Conversation
Avoid truncating X-Rendering-Proxy evaluates entries so every requested script reaches the renderer.
gh-counterPR gate
Repo dashboard
Reported by gh-counter |
Code Metrics Report
Details | | main (6aabcd3) | #1659 (21f462a) | +/- |
|---------------------|----------------|-----------------|-------|
- | Coverage | 84.3% | 84.2% | -0.1% |
| Files | 11 | 11 | 0 |
| Lines | 243 | 242 | -1 |
- | Covered | 205 | 204 | -1 |
+ | Code to Test Ratio | 1:0.5 | 1:0.5 | +0.0 |
| Code | 1886 | 1885 | -1 |
| Test | 1072 | 1072 | 0 |
| Test Execution Time | 11s | 11s | 0s |Code coverage of files in pull request scope (95.6% → 95.4%)
Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
evaluatesentries from theX-Rendering-Proxyrequest headerWhy
Server mode exposed
evaluatesas a plainstring[], but the request parser silently discarded entries after the first 10. That made later scripts disappear without an error even though the programmatic API and README describe the field as a normal string array.Testing