Repository navigation
Conversation
hoco-scy
force-pushed
the
codex/evomaster-repeat-request-headers
branch
from
December 3, 2026 12:26
d21b2b0 to
ec630d5
Compare
hoco-scy
marked this pull request as ready for review
December 4, 2026 02:47
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.
Problem
Jersey combines repeated request-header values during search, while generated JVM tests emit separate RestAssured header calls. Depending on the header, this sends separate lines or replaces a value, even when field names differ only in case.
Fix and rationale
For Java/Kotlin, group active header values case-insensitively and emit one comma-separated value in search order (schema values, then fixed authentication values). Existing header filtering and token/cookie paths stay in place. Other output languages are unchanged.
Affected SUTs and trigger
pay-publicapireproduced a different wire value or order for same-name request headers. A historical isolated check ran three affected methods in four JVM output formats and 20 repetitions per format, with 240 passing executions.Verification
On master at c45c90e, the local HTTP receiver sees different headers for the search and generated tests. The regression builds and executes actual generated Java/Kotlin JUnit 4 and 5 tests against the same receiver. With the fix, all six header cases and the existing targeted writer tests pass (66 cases, JDK 21).
Split out of #1926; no other split PR is required.
Evidence boundary
The branch compiles and executes Java/Kotlin JUnit 4/5 tests against a local receiver; it preserves the observed search behavior for JVM output, without claiming other clients have identical semantics.